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.001628/0.001628, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.001484/0.001485, allocations: 183 kB / 17.34 MB, free: 5.762 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8349/0.8349, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 66.2 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1536, allocations: 80.91 MB / 0.6653 GB, free: 5.785 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.03255/0.1862, allocations: 29.61 MB / 0.6942 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.2013, allocations: 9.911 MB / 0.7039 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.2031, allocations: 47.75 kB / 0.7039 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.2056, allocations: 0.6758 MB / 0.7046 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.2101, allocations: 1.462 MB / 0.706 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.2139, allocations: 1.376 MB / 0.7074 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005723/0.2197, allocations: 3.822 MB / 0.7111 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.2222, allocations: 1.353 MB / 0.7124 GB, free: 5.344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003835/0.2261, allocations: 1.526 MB / 0.7139 GB, free: 3.812 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.2281, allocations: 1.038 MB / 0.7149 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004586/0.2286, allocations: 120 kB / 0.715 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.2313, allocations: 1.131 MB / 0.7161 GB, free: 1.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000636/0.232, allocations: 398.6 kB / 0.7165 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.2335, allocations: 0.789 MB / 0.7173 GB, free: 344 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004507/0.238, allocations: 2.454 MB / 0.7197 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.238, allocations: 0 / 0.7197 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.238, allocations: 0 / 0.7197 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.334e-05/0.2381, allocations: 0 / 0.7197 GB, free: 13.88 MB / 0.5606 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.004215/0.2423, allocations: 1.946 MB / 0.7216 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2424, allocations: 9.109 kB / 0.7216 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.2436, allocations: 246.8 kB / 0.7218 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.2465, allocations: 1.347 MB / 0.7231 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.2466, allocations: 62 kB / 0.7232 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.2468, allocations: 84 kB / 0.7233 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.2489, allocations: 0.9811 MB / 0.7242 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.2489, allocations: 0 / 0.7242 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.249, allocations: 32 kB / 0.7243 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2491, allocations: 20 kB / 0.7243 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.2506, allocations: 0.7103 MB / 0.725 GB, free: 8.277 MB / 0.5606 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.006598/0.2572, allocations: 4.848 MB / 0.7297 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.2585, allocations: 0.5623 MB / 0.7303 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/0.2591, allocations: 317 kB / 0.7306 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002574/0.2617, allocations: 1.565 MB / 0.7321 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007143/0.2625, allocations: 338.9 kB / 0.7324 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000444/0.2629, allocations: 55.42 kB / 0.7325 GB, free: 108 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 4.058e-06/0.2629, allocations: 0 / 0.7325 GB, free: 108 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.003295/0.2662, allocations: 1.166 MB / 0.7336 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.2663, allocations: 55.41 kB / 0.7337 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.2684, allocations: 1.282 MB / 0.7349 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/0.2685, allocations: 41.7 kB / 0.7349 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000605/0.2691, allocations: 0.6489 MB / 0.7356 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.2693, allocations: 145.9 kB / 0.7357 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.2696, allocations: 158.1 kB / 0.7359 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2697, allocations: 337.9 kB / 0.7362 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.2703, allocations: 271.6 kB / 0.7365 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/0.2711, allocations: 0.5826 MB / 0.737 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.2725, allocations: 0.8097 MB / 0.7378 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.2725, allocations: 7.938 kB / 0.7378 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002467/0.275, allocations: 1.094 MB / 0.7389 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.275, allocations: 37.64 kB / 0.7389 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.2751, allocations: 8 kB / 0.7389 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006878/0.2758, allocations: 193 kB / 0.7391 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.2763, allocations: 139.8 kB / 0.7393 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007665/0.2771, allocations: 0.7629 MB / 0.74 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.278, allocations: 44.69 kB / 0.74 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.761e-05/0.2782, allocations: 43.98 kB / 0.7401 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/0.2792, allocations: 0.5522 MB / 0.7406 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007442/0.2799, allocations: 0.5592 MB / 0.7412 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/0.2811, allocations: 0.7395 MB / 0.7419 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.2811, allocations: 0 / 0.7419 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.002071/0.2832, allocations: 1.061 MB / 0.7429 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.2833, allocations: 33.7 kB / 0.743 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.2833, allocations: 11.98 kB / 0.743 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.2835, allocations: 117.2 kB / 0.7431 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.284, allocations: 131.8 kB / 0.7432 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.2863, allocations: 2.349 MB / 0.7455 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009097/0.2872, allocations: 52.64 kB / 0.7455 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.2874, allocations: 39.98 kB / 0.7456 GB, free: 1.801 MB / 0.5762 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.0003333/0.2877, allocations: 235.7 kB / 0.7458 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/0.2881, allocations: 126.4 kB / 0.7459 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.2901, allocations: 0.8647 MB / 0.7468 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.2902, allocations: 11.94 kB / 0.7468 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2902, allocations: 0 / 0.7468 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3512/0.6414, allocations: 0.8667 MB / 0.7476 GB, free: 78.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/0.6451, allocations: 1.799 MB / 0.7494 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6452, allocations: 1.031 kB / 0.7494 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.6456, allocations: 77.48 kB / 0.7495 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/0.6459, allocations: 127.3 kB / 0.7496 GB, free: 77.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.646, allocations: 15.58 kB / 0.7496 GB, free: 77.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005438/0.6465, allocations: 0.7452 MB / 0.7503 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6465, allocations: 1.688 kB / 0.7503 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.6488, allocations: 1.174 MB / 0.7515 GB, free: 77.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/0.6494, allocations: 264.4 kB / 0.7517 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.6495, allocations: 10.06 kB / 0.7517 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.6501, allocations: 31.94 kB / 0.7518 GB, free: 77.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6502, allocations: 39.67 kB / 0.7518 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.6503, allocations: 23.23 kB / 0.7518 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001397/0.6517, allocations: 0.8846 MB / 0.7527 GB, free: 76.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6517, allocations: 0 / 0.7527 GB, free: 76.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002151/0.6538, allocations: 0.6543 MB / 0.7533 GB, free: 76.65 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.0009664/0.6548, allocations: 376.9 kB / 0.7537 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002972/0.6578, allocations: 1.326 MB / 0.755 GB, free: 75.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6578, allocations: 0.6562 kB / 0.755 GB, free: 75.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.6587, allocations: 332.4 kB / 0.7553 GB, free: 75.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.6616, allocations: 0.5871 MB / 0.7559 GB, free: 75.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.6661, allocations: 2.276 MB / 0.7581 GB, free: 74.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.6672, allocations: 1.253 MB / 0.7593 GB, free: 73.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.6676, allocations: 108 kB / 0.7594 GB, free: 73.92 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.6676, allocations: 1.344 kB / 0.7594 GB, free: 73.92 MB / 0.5762 GB Notification: Performance of Templates: time 0.04471/0.7123, allocations: 29.05 MB / 0.7878 GB, free: 58.22 MB / 0.5762 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)