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.01201/0.01201, allocations: 99.62 kB / 15.73 MB, free: 6.012 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.002814/0.002815, allocations: 187.7 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.324/2.324, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.307/1.307, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 63.09 kB / 0.5808 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2631, allocations: 80.21 MB / 0.6592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.05983/0.323, allocations: 30.67 MB / 0.6891 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02638/0.3495, allocations: 10.27 MB / 0.6992 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003316/0.3529, allocations: 47.75 kB / 0.6992 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004218/0.3571, allocations: 0.6913 MB / 0.6999 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007551/0.3648, allocations: 1.487 MB / 0.7013 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006147/0.371, allocations: 1.329 MB / 0.7026 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007519/0.3785, allocations: 2.981 MB / 0.7055 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/0.3824, allocations: 0.9725 MB / 0.7065 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006096/0.3885, allocations: 1.19 MB / 0.7077 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.3912, allocations: 0.8089 MB / 0.7084 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007023/0.3919, allocations: 104 kB / 0.7085 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/0.3957, allocations: 0.8075 MB / 0.7093 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.3968, allocations: 358.8 kB / 0.7097 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.3988, allocations: 0.6064 MB / 0.7103 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005779/0.4046, allocations: 1.979 MB / 0.7122 GB, free: 7.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4046, allocations: 0 / 0.7122 GB, free: 7.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4047, allocations: 4 kB / 0.7122 GB, free: 7.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.318e-05/0.4047, allocations: 0 / 0.7122 GB, free: 7.586 MB / 0.545 GB 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.005716/0.4105, allocations: 1.532 MB / 0.7137 GB, free: 6.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.715e-05/0.4106, allocations: 12.03 kB / 0.7137 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003906/0.411, allocations: 106.7 kB / 0.7138 GB, free: 5.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.4129, allocations: 211.3 kB / 0.714 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/0.4173, allocations: 1.05 MB / 0.715 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.4174, allocations: 53.31 kB / 0.7151 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.4177, allocations: 71.91 kB / 0.7152 GB, free: 4.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.4202, allocations: 0.7254 MB / 0.7159 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.4203, allocations: 4 kB / 0.7159 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.4204, allocations: 24 kB / 0.7159 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-05/0.4205, allocations: 29.3 kB / 0.7159 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.4225, allocations: 0.5282 MB / 0.7164 GB, free: 3.117 MB / 0.545 GB 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.007993/0.4305, allocations: 3.167 MB / 0.7195 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.4324, allocations: 444.8 kB / 0.72 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.4331, allocations: 196.8 kB / 0.7201 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003634/0.4368, allocations: 1.544 MB / 0.7217 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008699/0.4377, allocations: 244.2 kB / 0.7219 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 4.388e-06/0.4378, allocations: 0 / 0.7219 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.002534/0.4403, allocations: 0.5824 MB / 0.7225 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.4404, allocations: 55.41 kB / 0.7225 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.443, allocations: 0.9374 MB / 0.7234 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.4432, allocations: 37.7 kB / 0.7235 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007582/0.4439, allocations: 0.5036 MB / 0.7239 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.4442, allocations: 122.2 kB / 0.7241 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.4445, allocations: 134 kB / 0.7242 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4447, allocations: 337.9 kB / 0.7245 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007643/0.4455, allocations: 203.1 kB / 0.7247 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/0.4465, allocations: 415.8 kB / 0.7251 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.4483, allocations: 0.597 MB / 0.7257 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/0.4484, allocations: 4 kB / 0.7257 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002562/0.4509, allocations: 0.7039 MB / 0.7264 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.451, allocations: 8.719 kB / 0.7264 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.451, allocations: 4 kB / 0.7264 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/0.4511, allocations: 12 kB / 0.7264 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/0.4521, allocations: 147.8 kB / 0.7265 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/0.4521, allocations: 15.88 kB / 0.7266 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.4534, allocations: 79.91 kB / 0.7266 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.4535, allocations: 35.98 kB / 0.7267 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001186/0.4547, allocations: 409.2 kB / 0.7271 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008618/0.4556, allocations: 391.8 kB / 0.7274 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001435/0.457, allocations: 0.5614 MB / 0.728 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.945e-06/0.4571, allocations: 4 kB / 0.728 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002206/0.4593, allocations: 0.6636 MB / 0.7286 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.4593, allocations: 8.812 kB / 0.7286 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.4594, allocations: 4 kB / 0.7286 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.4594, allocations: 12 kB / 0.7287 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008794/0.4603, allocations: 135.8 kB / 0.7288 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/0.4603, allocations: 15.92 kB / 0.7288 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.4614, allocations: 52.27 kB / 0.7289 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.4616, allocations: 31.98 kB / 0.7289 GB, free: 5.562 MB / 0.5606 GB 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 (70): * Single equations (assignments): 69 * 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.0003509/0.4619, allocations: 216.1 kB / 0.7291 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/0.4623, allocations: 102.7 kB / 0.7292 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.4646, allocations: 0.6201 MB / 0.7298 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.4647, allocations: 4 kB / 0.7298 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4647, allocations: 0 / 0.7298 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001561/0.4663, allocations: 0.6741 MB / 0.7305 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.4703, allocations: 1.444 MB / 0.7319 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.4703, allocations: 4 kB / 0.7319 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007201/0.4711, allocations: 79.88 kB / 0.7319 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/0.4711, allocations: 0 / 0.7319 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.4712, allocations: 19.98 kB / 0.732 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.4712, allocations: 4 kB / 0.732 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4712, allocations: 0 / 0.732 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.4738, allocations: 0.8872 MB / 0.7328 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/0.4745, allocations: 235.6 kB / 0.7331 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/0.4747, allocations: 12 kB / 0.7331 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008213/0.4756, allocations: 19.98 kB / 0.7331 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.4757, allocations: 36.22 kB / 0.7331 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.4758, allocations: 27.92 kB / 0.7332 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001657/0.4775, allocations: 0.6467 MB / 0.7338 GB, free: 340 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4775, allocations: 0 / 0.7338 GB, free: 340 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002775/0.4803, allocations: 0.5187 MB / 0.7343 GB, free: 15.81 MB / 0.5762 GB 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 (44): * Single equations (assignments): 39 * 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.004414/0.4847, allocations: 1.681 MB / 0.7359 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.4876, allocations: 0.7811 MB / 0.7367 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.4876, allocations: 4 kB / 0.7367 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.4884, allocations: 229.3 kB / 0.7369 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003933/0.4923, allocations: 0.5058 MB / 0.7374 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.5127, allocations: 7.03 MB / 0.7443 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.5139, allocations: 1.076 MB / 0.7453 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00155/0.5155, allocations: 263.7 kB / 0.7456 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009675/0.5165, allocations: 399.3 kB / 0.746 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.5166, allocations: 0 / 0.746 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09895/0.6155, allocations: 28.71 MB / 0.774 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/15.99, allocations: 18.55 kB / 0.774 GB, free: 7.18 MB / 0.6075 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)