Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001495/0.001495, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7987/0.7987, allocations: 135.2 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.89 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3548, allocations: 80.91 MB / 0.5851 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02223/0.3771, allocations: 29.6 MB / 0.614 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.3933, allocations: 9.905 MB / 0.6236 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.395, allocations: 47.75 kB / 0.6237 GB, free: 2.918 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.3974, allocations: 0.6778 MB / 0.6243 GB, free: 2.238 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004424/0.402, allocations: 1.469 MB / 0.6258 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.4059, allocations: 1.363 MB / 0.6271 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005736/0.4117, allocations: 3.818 MB / 0.6308 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/0.4145, allocations: 1.368 MB / 0.6322 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.419, allocations: 1.484 MB / 0.6336 GB, free: 8.695 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.421, allocations: 1.042 MB / 0.6346 GB, free: 7.648 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004475/0.4215, allocations: 116 kB / 0.6348 GB, free: 7.535 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.4243, allocations: 1.127 MB / 0.6359 GB, free: 6.406 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006815/0.425, allocations: 394.6 kB / 0.6362 GB, free: 6.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.4266, allocations: 0.789 MB / 0.637 GB, free: 5.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004392/0.431, allocations: 2.411 MB / 0.6394 GB, free: 2.809 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.431, allocations: 0 / 0.6394 GB, free: 2.809 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.431, allocations: 4 kB / 0.6394 GB, free: 2.805 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.436e-05/0.4311, allocations: 4 kB / 0.6394 GB, free: 2.801 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004402/0.4355, allocations: 1.935 MB / 0.6413 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4355, allocations: 13.11 kB / 0.6413 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.4368, allocations: 250.8 kB / 0.6415 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.4396, allocations: 1.292 MB / 0.6428 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/0.4397, allocations: 69.94 kB / 0.6428 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.4399, allocations: 87.91 kB / 0.6429 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.4418, allocations: 0.9771 MB / 0.6439 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4418, allocations: 0 / 0.6439 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.091e-05/0.4419, allocations: 32 kB / 0.6439 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.4419, allocations: 20 kB / 0.6439 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.4436, allocations: 0.7142 MB / 0.6446 GB, free: 13.25 MB / 494.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.006428/0.45, allocations: 4.875 MB / 0.6494 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.4512, allocations: 0.5573 MB / 0.6499 GB, free: 7.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.4519, allocations: 326 kB / 0.6502 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002336/0.4542, allocations: 1.568 MB / 0.6518 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000701/0.455, allocations: 338.9 kB / 0.6521 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002238/0.4552, allocations: 43.53 kB / 0.6521 GB, free: 5.059 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.4552, allocations: 0 / 0.6521 GB, free: 5.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.003163/0.4584, allocations: 1.162 MB / 0.6533 GB, free: 3.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4584, allocations: 59.41 kB / 0.6533 GB, free: 3.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.4601, allocations: 1.282 MB / 0.6546 GB, free: 2.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.4602, allocations: 45.69 kB / 0.6546 GB, free: 2.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/0.4608, allocations: 0.6411 MB / 0.6552 GB, free: 1.801 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.461, allocations: 157.9 kB / 0.6554 GB, free: 1.645 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.4612, allocations: 158.1 kB / 0.6555 GB, free: 1.484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4614, allocations: 333.9 kB / 0.6559 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/0.462, allocations: 275.6 kB / 0.6561 GB, free: 0.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/0.4629, allocations: 0.5826 MB / 0.6567 GB, free: 152 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.4643, allocations: 0.8136 MB / 0.6575 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4643, allocations: 3.938 kB / 0.6575 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002306/0.4666, allocations: 1.098 MB / 0.6586 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.4667, allocations: 37.7 kB / 0.6586 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.4667, allocations: 11.98 kB / 0.6586 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/0.4673, allocations: 183.8 kB / 0.6588 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.4679, allocations: 139.7 kB / 0.6589 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008322/0.4687, allocations: 0.7629 MB / 0.6597 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.4694, allocations: 44.69 kB / 0.6597 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/0.4695, allocations: 40.11 kB / 0.6597 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009421/0.4705, allocations: 0.56 MB / 0.6603 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007453/0.4712, allocations: 0.5539 MB / 0.6608 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001158/0.4724, allocations: 0.7355 MB / 0.6616 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.271e-06/0.4724, allocations: 4 kB / 0.6616 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001897/0.4743, allocations: 1.061 MB / 0.6626 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.4743, allocations: 37.69 kB / 0.6626 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.4744, allocations: 8 kB / 0.6626 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.4746, allocations: 117.2 kB / 0.6627 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.475, allocations: 135.7 kB / 0.6629 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.4776, allocations: 2.359 MB / 0.6652 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/0.4782, allocations: 48.53 kB / 0.6652 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/0.4783, allocations: 32 kB / 0.6653 GB, free: 6.754 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.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): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002674/0.4786, allocations: 232 kB / 0.6655 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.4788, allocations: 126.4 kB / 0.6656 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.4808, allocations: 0.8805 MB / 0.6665 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.4808, allocations: 11.88 kB / 0.6665 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.4808, allocations: 0 / 0.6665 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001527/0.4824, allocations: 0.8687 MB / 0.6673 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.4855, allocations: 1.791 MB / 0.6691 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4855, allocations: 0 / 0.6691 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.4859, allocations: 79.88 kB / 0.6691 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.4862, allocations: 120.8 kB / 0.6693 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.4862, allocations: 15.98 kB / 0.6693 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006836/0.4869, allocations: 0.7569 MB / 0.67 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4869, allocations: 4 kB / 0.67 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.4891, allocations: 1.182 MB / 0.6712 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.4895, allocations: 255.4 kB / 0.6714 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.4897, allocations: 12 kB / 0.6714 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.4901, allocations: 23.97 kB / 0.6715 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.4903, allocations: 44.38 kB / 0.6715 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.4903, allocations: 23.92 kB / 0.6715 GB, free: 112 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00136/0.4917, allocations: 0.8898 MB / 0.6724 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4917, allocations: 0 / 0.6724 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001801/0.4935, allocations: 0.6433 MB / 0.673 GB, free: 14.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008433/0.4944, allocations: 371.6 kB / 0.6734 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002967/0.4973, allocations: 1.378 MB / 0.6747 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/0.4974, allocations: 4 kB / 0.6747 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.4981, allocations: 323.4 kB / 0.675 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.5005, allocations: 0.5977 MB / 0.6756 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.5043, allocations: 2.292 MB / 0.6778 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009212/0.5052, allocations: 1.26 MB / 0.6791 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.5055, allocations: 111.3 kB / 0.6792 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.5055, allocations: 0 / 0.6792 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of Templates: time 0.04074/0.5462, allocations: 28.91 MB / 0.7074 GB, free: 11.45 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)