Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005842/0.005842, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.001221/0.001221, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8061/0.8061, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 59.91 kB / 0.5813 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4445, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump_dp.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02694/0.4715, allocations: 29.62 MB / 0.6886 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01485/0.4864, allocations: 9.899 MB / 0.6982 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.4893, allocations: 46.41 kB / 0.6983 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002989/0.4923, allocations: 0.6879 MB / 0.699 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006901/0.4992, allocations: 1.493 MB / 0.7004 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.5036, allocations: 1.382 MB / 0.7018 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005394/0.509, allocations: 3.827 MB / 0.7055 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.5112, allocations: 1.364 MB / 0.7068 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.5151, allocations: 1.521 MB / 0.7083 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.5172, allocations: 1.043 MB / 0.7093 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004338/0.5176, allocations: 120 kB / 0.7095 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.5207, allocations: 1.127 MB / 0.7106 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006258/0.5213, allocations: 398.6 kB / 0.7109 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.5228, allocations: 0.7851 MB / 0.7117 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.5272, allocations: 2.448 MB / 0.7141 GB, free: 14.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5272, allocations: 7.938 kB / 0.7141 GB, free: 14.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5272, allocations: 0 / 0.7141 GB, free: 14.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.196e-05/0.5273, allocations: 0 / 0.7141 GB, free: 14.33 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003881/0.5312, allocations: 1.942 MB / 0.716 GB, free: 12.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5312, allocations: 12.03 kB / 0.716 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5323, allocations: 250.8 kB / 0.7163 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.5347, allocations: 1.347 MB / 0.7176 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.5347, allocations: 69.94 kB / 0.7176 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5349, allocations: 84 kB / 0.7177 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.5364, allocations: 0.981 MB / 0.7187 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.5365, allocations: 8 kB / 0.7187 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/0.5365, allocations: 32 kB / 0.7187 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.5366, allocations: 20 kB / 0.7187 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.5379, allocations: 0.7063 MB / 0.7194 GB, free: 8.719 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.005486/0.5434, allocations: 4.844 MB / 0.7241 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.5447, allocations: 0.5524 MB / 0.7247 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.5453, allocations: 319.3 kB / 0.725 GB, free: 2.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001955/0.5472, allocations: 1.572 MB / 0.7265 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006121/0.5479, allocations: 331 kB / 0.7268 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002001/0.5481, allocations: 43.53 kB / 0.7269 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.5481, allocations: 0 / 0.7269 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.002931/0.551, allocations: 1.167 MB / 0.728 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.5511, allocations: 55.41 kB / 0.7281 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.5527, allocations: 1.282 MB / 0.7293 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.5528, allocations: 41.7 kB / 0.7294 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005125/0.5533, allocations: 0.6451 MB / 0.73 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5534, allocations: 149.8 kB / 0.7301 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.5536, allocations: 158.2 kB / 0.7303 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5538, allocations: 337.9 kB / 0.7306 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.5543, allocations: 271.6 kB / 0.7309 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/0.5551, allocations: 0.5904 MB / 0.7315 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.5563, allocations: 0.8174 MB / 0.7322 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5564, allocations: 3.938 kB / 0.7323 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00213/0.5585, allocations: 1.094 MB / 0.7333 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.5585, allocations: 39.58 kB / 0.7334 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5586, allocations: 8 kB / 0.7334 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/0.5592, allocations: 187.1 kB / 0.7335 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/0.5598, allocations: 135.8 kB / 0.7337 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007648/0.5605, allocations: 0.7668 MB / 0.7344 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.5612, allocations: 40.61 kB / 0.7345 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.5613, allocations: 44.11 kB / 0.7345 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009152/0.5623, allocations: 0.5561 MB / 0.735 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006507/0.5629, allocations: 0.5592 MB / 0.7356 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001021/0.5639, allocations: 0.7356 MB / 0.7363 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/0.564, allocations: 7.984 kB / 0.7363 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001752/0.5657, allocations: 1.054 MB / 0.7373 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.5658, allocations: 37.7 kB / 0.7374 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5658, allocations: 11.98 kB / 0.7374 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.566, allocations: 117.2 kB / 0.7375 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.5665, allocations: 135.7 kB / 0.7376 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.5688, allocations: 2.349 MB / 0.7399 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.5694, allocations: 48.7 kB / 0.74 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.5695, allocations: 35.98 kB / 0.74 GB, free: 2.277 MB / 0.5606 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.0002755/0.5698, allocations: 233.3 kB / 0.7402 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.57, allocations: 130.4 kB / 0.7404 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.5719, allocations: 0.8765 MB / 0.7412 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.5719, allocations: 7.938 kB / 0.7412 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.5719, allocations: 0 / 0.7412 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/0.5733, allocations: 0.8725 MB / 0.7421 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.5765, allocations: 1.795 MB / 0.7438 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5765, allocations: 0 / 0.7438 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.577, allocations: 79.88 kB / 0.7439 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.5773, allocations: 124.8 kB / 0.744 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.5774, allocations: 11.98 kB / 0.744 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000705/0.5781, allocations: 0.7453 MB / 0.7448 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.5781, allocations: 7.938 kB / 0.7448 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.5803, allocations: 1.182 MB / 0.7459 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.5808, allocations: 255.4 kB / 0.7462 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.581, allocations: 12 kB / 0.7462 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.5815, allocations: 36.03 kB / 0.7462 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.5816, allocations: 36.38 kB / 0.7462 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/0.5817, allocations: 23.92 kB / 0.7463 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00127/0.583, allocations: 0.8858 MB / 0.7471 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.583, allocations: 0 / 0.7471 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001963/0.585, allocations: 0.6472 MB / 0.7478 GB, free: 10.1 MB / 0.5762 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.0009004/0.5859, allocations: 374.3 kB / 0.7481 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.5884, allocations: 1.327 MB / 0.7494 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5884, allocations: 0 / 0.7494 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.5892, allocations: 331 kB / 0.7497 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.5913, allocations: 0.591 MB / 0.7503 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.5949, allocations: 2.226 MB / 0.7525 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/0.5958, allocations: 1.267 MB / 0.7537 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001013/0.5968, allocations: 322 kB / 0.754 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.597, allocations: 99.41 kB / 0.7541 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.597, allocations: 4 kB / 0.7541 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.04373/0.6408, allocations: 25.76 MB / 0.7793 GB, free: 10.07 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)