Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001482/0.001482, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8294/0.8294, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.91 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3903, allocations: 80.92 MB / 0.5851 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.06845/0.4588, allocations: 72.29 MB / 0.6557 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02841/0.4872, allocations: 16.98 MB / 0.6722 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003897/0.4912, allocations: 91.5 kB / 0.6723 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.4949, allocations: 1.01 MB / 0.6733 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007887/0.5028, allocations: 2.355 MB / 0.6756 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005598/0.5084, allocations: 2.051 MB / 0.6776 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01062/0.519, allocations: 8.019 MB / 0.6854 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009239/0.5283, allocations: 6.125 MB / 0.6914 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007863/0.5362, allocations: 3.267 MB / 0.6946 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005008/0.5413, allocations: 2.489 MB / 0.697 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008755/0.5422, allocations: 256 kB / 0.6973 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004103/0.5463, allocations: 1.377 MB / 0.6986 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.5474, allocations: 0.7627 MB / 0.6994 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.5507, allocations: 1.768 MB / 0.7011 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007749/0.5584, allocations: 4.689 MB / 0.7057 GB, free: 14.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.5585, allocations: 4 kB / 0.7057 GB, free: 14.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5585, allocations: 0 / 0.7057 GB, free: 14.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001212/0.5586, allocations: 0 / 0.7057 GB, free: 14.66 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.008322/0.5669, allocations: 3.942 MB / 0.7095 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.567, allocations: 9.109 kB / 0.7095 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.5692, allocations: 0.5383 MB / 0.7101 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/0.5741, allocations: 2.611 MB / 0.7126 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.5742, allocations: 143.8 kB / 0.7128 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.5745, allocations: 187.9 kB / 0.7129 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/0.5785, allocations: 2.329 MB / 0.7152 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.5785, allocations: 7.938 kB / 0.7152 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.5787, allocations: 68 kB / 0.7153 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.5787, allocations: 40 kB / 0.7153 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.5823, allocations: 1.865 MB / 0.7171 GB, free: 2.613 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.01458/0.5969, allocations: 11.14 MB / 0.728 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.5997, allocations: 1.335 MB / 0.7293 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.6014, allocations: 0.9976 MB / 0.7303 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005943/0.6073, allocations: 3.658 MB / 0.7339 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/0.6088, allocations: 0.7624 MB / 0.7346 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001075/0.6099, allocations: 230.9 kB / 0.7348 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 3.166e-06/0.6099, allocations: 0 / 0.7348 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.01213/0.622, allocations: 4.171 MB / 0.7389 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.6221, allocations: 64.41 kB / 0.739 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004186/0.6263, allocations: 2.884 MB / 0.7418 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.6265, allocations: 53.7 kB / 0.7418 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.628, allocations: 1.429 MB / 0.7432 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/0.6284, allocations: 335.2 kB / 0.7436 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/0.6289, allocations: 347.6 kB / 0.7439 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6291, allocations: 313 kB / 0.7442 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.6305, allocations: 0.677 MB / 0.7448 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/0.6325, allocations: 1.433 MB / 0.7462 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.6357, allocations: 1.915 MB / 0.7481 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.6358, allocations: 8 kB / 0.7481 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.2988/0.9345, allocations: 2.826 MB / 0.7509 GB, free: 154 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.9346, allocations: 39.77 kB / 0.7509 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.9347, allocations: 14.48 kB / 0.7509 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/0.937, allocations: 0.6982 MB / 0.7516 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.9382, allocations: 298.9 kB / 0.7519 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.9402, allocations: 1.898 MB / 0.7538 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.9423, allocations: 100.9 kB / 0.7539 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.9425, allocations: 90.09 kB / 0.7539 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00254/0.945, allocations: 1.275 MB / 0.7552 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001656/0.9467, allocations: 1.387 MB / 0.7565 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002849/0.9495, allocations: 1.819 MB / 0.7583 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.371e-05/0.9496, allocations: 5.156 kB / 0.7583 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004911/0.9545, allocations: 2.697 MB / 0.761 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.9545, allocations: 37.42 kB / 0.761 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.9546, allocations: 19.06 kB / 0.761 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008333/0.9554, allocations: 474.7 kB / 0.7615 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/0.9564, allocations: 287.3 kB / 0.7617 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.9616, allocations: 6.33 MB / 0.7679 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.9635, allocations: 119.3 kB / 0.768 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.9636, allocations: 81.12 kB / 0.7681 GB, free: 144.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004666/0.9641, allocations: 283.6 kB / 0.7684 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003373/0.9644, allocations: 295.5 kB / 0.7687 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.9684, allocations: 2.44 MB / 0.771 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.9684, allocations: 15.67 kB / 0.7711 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.9684, allocations: 0 / 0.7711 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002734/0.9711, allocations: 2.061 MB / 0.7731 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005558/0.9767, allocations: 4.384 MB / 0.7774 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.9767, allocations: 2.531 kB / 0.7774 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/0.9775, allocations: 174.6 kB / 0.7775 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008335/0.9783, allocations: 478.3 kB / 0.778 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.9784, allocations: 31.98 kB / 0.778 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.9795, allocations: 1.849 MB / 0.7798 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9796, allocations: 4 kB / 0.7798 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.9838, allocations: 3.123 MB / 0.7829 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007414/0.9846, allocations: 487.1 kB / 0.7833 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.9848, allocations: 20 kB / 0.7833 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009612/0.9858, allocations: 71.7 kB / 0.7834 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.986, allocations: 80.55 kB / 0.7835 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/0.986, allocations: 43.97 kB / 0.7835 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001943/0.988, allocations: 1.967 MB / 0.7855 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.988, allocations: 0 / 0.7855 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002826/0.9908, allocations: 1.349 MB / 0.7868 GB, free: 128 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008253/0.9917, allocations: 466.2 kB / 0.7872 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005161/0.9968, allocations: 3.424 MB / 0.7906 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9969, allocations: 3.688 kB / 0.7906 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.998, allocations: 0.7876 MB / 0.7913 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/1.002, allocations: 1.256 MB / 0.7926 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/1.008, allocations: 5.287 MB / 0.7977 GB, free: 117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009955/1.009, allocations: 2.057 MB / 0.7997 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/1.01, allocations: 215.4 kB / 0.7999 GB, free: 114.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/1.01, allocations: 0 / 0.7999 GB, free: 114.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.06842/1.078, allocations: 75.02 MB / 0.8732 GB, free: 39.93 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)