Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7256/0.7256, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.27 kB / 0.5013 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4215, allocations: 80.2 MB / 0.5797 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03389/0.4554, allocations: 30.44 MB / 0.6094 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.4713, allocations: 10.18 MB / 0.6193 GB, free: 5.992 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.4734, allocations: 40.56 kB / 0.6194 GB, free: 5.977 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.4756, allocations: 0.6258 MB / 0.62 GB, free: 5.496 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004454/0.4801, allocations: 1.379 MB / 0.6213 GB, free: 4.43 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.4836, allocations: 1.231 MB / 0.6225 GB, free: 3.578 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005059/0.4887, allocations: 2.994 MB / 0.6255 GB, free: 1.844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.4905, allocations: 0.9795 MB / 0.6264 GB, free: 1.199 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.4939, allocations: 1.188 MB / 0.6276 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.4955, allocations: 0.8579 MB / 0.6284 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.4956, allocations: 104 kB / 0.6285 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.4977, allocations: 0.8073 MB / 0.6293 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003955/0.4981, allocations: 354.9 kB / 0.6296 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007367/0.4989, allocations: 0.618 MB / 0.6302 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.5018, allocations: 1.963 MB / 0.6322 GB, free: 11.81 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5018, allocations: 0 / 0.6322 GB, free: 11.81 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5019, allocations: 0 / 0.6322 GB, free: 11.81 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.328e-05/0.5019, allocations: 0 / 0.6322 GB, free: 11.81 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002525/0.5044, allocations: 1.538 MB / 0.6337 GB, free: 10.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5045, allocations: 12.03 kB / 0.6337 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.5046, allocations: 102.7 kB / 0.6338 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.5057, allocations: 211.3 kB / 0.634 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.5076, allocations: 1.057 MB / 0.635 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.5076, allocations: 49.31 kB / 0.6351 GB, free: 8.742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5077, allocations: 72 kB / 0.6351 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.509, allocations: 0.7246 MB / 0.6358 GB, free: 7.922 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.509, allocations: 3.938 kB / 0.6358 GB, free: 7.918 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.5091, allocations: 31.98 kB / 0.6359 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.5092, allocations: 21.31 kB / 0.6359 GB, free: 7.863 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.5103, allocations: 0.5399 MB / 0.6364 GB, free: 7.32 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.5144, allocations: 3.159 MB / 0.6395 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.5155, allocations: 451.7 kB / 0.6399 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.5159, allocations: 210 kB / 0.6401 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/0.5177, allocations: 1.549 MB / 0.6416 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/0.5183, allocations: 254.9 kB / 0.6419 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002158/0.5185, allocations: 47.53 kB / 0.6419 GB, free: 1.285 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 2.053e-06/0.5185, allocations: 4 kB / 0.6419 GB, free: 1.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.001304/0.5198, allocations: 0.5844 MB / 0.6425 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.5199, allocations: 59.16 kB / 0.6426 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.521, allocations: 0.9256 MB / 0.6435 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.521, allocations: 37.7 kB / 0.6435 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000413/0.5215, allocations: 0.4997 MB / 0.644 GB, free: 15.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.5216, allocations: 134 kB / 0.6441 GB, free: 15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.5218, allocations: 134.2 kB / 0.6442 GB, free: 14.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5219, allocations: 326 kB / 0.6446 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.5223, allocations: 219.3 kB / 0.6448 GB, free: 14.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/0.5229, allocations: 408.6 kB / 0.6452 GB, free: 13.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/0.5239, allocations: 0.615 MB / 0.6458 GB, free: 13.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.5239, allocations: 4 kB / 0.6458 GB, free: 13.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001284/0.5252, allocations: 0.7221 MB / 0.6465 GB, free: 12.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.5252, allocations: 11.94 kB / 0.6465 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5252, allocations: 4 kB / 0.6465 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.5253, allocations: 12 kB / 0.6465 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.5259, allocations: 143.7 kB / 0.6466 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.5259, allocations: 16.23 kB / 0.6466 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.5265, allocations: 44.62 kB / 0.6467 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.5266, allocations: 35.98 kB / 0.6467 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006422/0.5272, allocations: 414.8 kB / 0.6471 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004825/0.5277, allocations: 396.1 kB / 0.6475 GB, free: 11.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007873/0.5285, allocations: 0.565 MB / 0.648 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/0.5285, allocations: 7.938 kB / 0.6481 GB, free: 10.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001102/0.5297, allocations: 0.6671 MB / 0.6487 GB, free: 9.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.5297, allocations: 4.812 kB / 0.6487 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5297, allocations: 8 kB / 0.6487 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.5297, allocations: 12 kB / 0.6487 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.5302, allocations: 143.8 kB / 0.6489 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.5302, allocations: 15.94 kB / 0.6489 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.5308, allocations: 52.59 kB / 0.6489 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.5308, allocations: 32 kB / 0.649 GB, free: 9.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.531, allocations: 224 kB / 0.6492 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.5312, allocations: 98.77 kB / 0.6493 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.5325, allocations: 0.6279 MB / 0.6499 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.5325, allocations: 7.984 kB / 0.6499 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5325, allocations: 0 / 0.6499 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009352/0.5335, allocations: 0.6818 MB / 0.6506 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.5357, allocations: 1.445 MB / 0.652 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5357, allocations: 4.125 kB / 0.652 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.5361, allocations: 91.81 kB / 0.6521 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.5361, allocations: 4 kB / 0.6521 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.5362, allocations: 8 kB / 0.6521 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.5362, allocations: 7.984 kB / 0.6521 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5362, allocations: 4 kB / 0.6521 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.5377, allocations: 0.9014 MB / 0.653 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.538, allocations: 231.7 kB / 0.6532 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.5381, allocations: 12 kB / 0.6532 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.5386, allocations: 27.97 kB / 0.6532 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.5387, allocations: 43.89 kB / 0.6533 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.5387, allocations: 15.98 kB / 0.6533 GB, free: 5.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007626/0.5395, allocations: 0.6389 MB / 0.6539 GB, free: 4.387 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5395, allocations: 0 / 0.6539 GB, free: 4.387 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001434/0.541, allocations: 0.5185 MB / 0.6544 GB, free: 3.867 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002509/0.5435, allocations: 1.707 MB / 0.6561 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.5452, allocations: 0.8236 MB / 0.6569 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5452, allocations: 0 / 0.6569 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.5457, allocations: 241.1 kB / 0.6571 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.5478, allocations: 0.5042 MB / 0.6576 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.5604, allocations: 7.718 MB / 0.6651 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/0.5611, allocations: 1.076 MB / 0.6662 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001093/0.5622, allocations: 252.2 kB / 0.6664 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005224/0.5627, allocations: 407.2 kB / 0.6668 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/0.5627, allocations: 0 / 0.6668 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05269/0.6154, allocations: 27.79 MB / 0.694 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/0.6157, allocations: 240.4 kB / 0.6942 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.07, allocations: 0 / 0.6942 GB, free: 11.07 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)