Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001412/0.001413, allocations: 191.8 kB / 16.14 MB, free: 6.703 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7924/0.7924, allocations: 132.2 MB / 422.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.17 kB / 0.5011 GB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5134/0.5149, allocations: 80.2 MB / 0.5794 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03704/0.552, allocations: 32.56 MB / 0.6112 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.5699, allocations: 10.56 MB / 0.6215 GB, free: 4.086 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.5726, allocations: 44.59 kB / 0.6216 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.5753, allocations: 0.6331 MB / 0.6222 GB, free: 3.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.5805, allocations: 1.453 MB / 0.6236 GB, free: 2.449 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.5843, allocations: 1.253 MB / 0.6248 GB, free: 1.566 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008305/0.5926, allocations: 6.445 MB / 0.6311 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.5957, allocations: 1.772 MB / 0.6329 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/0.6003, allocations: 1.649 MB / 0.6345 GB, free: 9.242 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.6038, allocations: 1.377 MB / 0.6358 GB, free: 7.859 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.6042, allocations: 84 kB / 0.6359 GB, free: 7.777 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.6076, allocations: 1.096 MB / 0.637 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005223/0.6082, allocations: 418.2 kB / 0.6374 GB, free: 6.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.6097, allocations: 0.9363 MB / 0.6383 GB, free: 5.328 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.6136, allocations: 2.854 MB / 0.6411 GB, free: 2.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.6136, allocations: 0 / 0.6411 GB, free: 2.465 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6136, allocations: 0 / 0.6411 GB, free: 2.465 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.91e-05/0.6136, allocations: 0 / 0.6411 GB, free: 2.465 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004027/0.6177, allocations: 2.384 MB / 0.6434 GB, free: 16 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6177, allocations: 11.97 kB / 0.6434 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.619, allocations: 302.4 kB / 0.6437 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.6219, allocations: 1.652 MB / 0.6453 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.622, allocations: 82 kB / 0.6454 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.6221, allocations: 108 kB / 0.6455 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.6244, allocations: 1.287 MB / 0.6467 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.6244, allocations: 7.922 kB / 0.6468 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.6245, allocations: 43.98 kB / 0.6468 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.6246, allocations: 27.94 kB / 0.6468 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.6264, allocations: 0.9796 MB / 0.6478 GB, free: 11.39 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.007897/0.6344, allocations: 6.727 MB / 0.6543 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6357, allocations: 0.5909 MB / 0.6549 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006694/0.6364, allocations: 396.1 kB / 0.6553 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002685/0.6391, allocations: 1.679 MB / 0.6569 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007556/0.6399, allocations: 374 kB / 0.6573 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005289/0.6404, allocations: 103.3 kB / 0.6574 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 2.165e-06/0.6404, allocations: 3.938 kB / 0.6574 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.003431/0.6439, allocations: 1.289 MB / 0.6587 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.6439, allocations: 55.41 kB / 0.6587 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.6462, allocations: 1.789 MB / 0.6605 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.6462, allocations: 45.69 kB / 0.6605 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000729/0.647, allocations: 0.85 MB / 0.6613 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.6471, allocations: 161.7 kB / 0.6615 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.6474, allocations: 186.5 kB / 0.6617 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6475, allocations: 337.9 kB / 0.662 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007347/0.6483, allocations: 320.6 kB / 0.6623 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009902/0.6493, allocations: 0.7323 MB / 0.663 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.6509, allocations: 0.9837 MB / 0.664 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.6509, allocations: 8 kB / 0.664 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002772/0.6537, allocations: 1.289 MB / 0.6652 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.6538, allocations: 41.7 kB / 0.6653 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.6538, allocations: 12 kB / 0.6653 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000695/0.6545, allocations: 184.8 kB / 0.6655 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.6552, allocations: 167.7 kB / 0.6656 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006711/0.6558, allocations: 0.7592 MB / 0.6664 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.6569, allocations: 88.5 kB / 0.6664 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.297e-05/0.657, allocations: 51.92 kB / 0.6665 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001164/0.6582, allocations: 0.7009 MB / 0.6672 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008207/0.659, allocations: 0.7089 MB / 0.6679 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001253/0.6603, allocations: 0.9171 MB / 0.6688 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.6603, allocations: 0 / 0.6688 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.002252/0.6626, allocations: 1.273 MB / 0.67 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.6626, allocations: 37.69 kB / 0.67 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6627, allocations: 12 kB / 0.6701 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.6629, allocations: 123.8 kB / 0.6702 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.6635, allocations: 164 kB / 0.6703 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.6657, allocations: 2.123 MB / 0.6724 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.6668, allocations: 80.67 kB / 0.6725 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/0.6669, allocations: 43.98 kB / 0.6725 GB, free: 348 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003793/0.6673, allocations: 247.8 kB / 0.6728 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.6676, allocations: 177.9 kB / 0.6729 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.6698, allocations: 0.9803 MB / 0.6739 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.6698, allocations: 8 kB / 0.6739 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6698, allocations: 3.938 kB / 0.6739 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/0.6713, allocations: 0.945 MB / 0.6748 GB, free: 13.91 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.003519/0.6748, allocations: 2.167 MB / 0.6769 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6748, allocations: 0 / 0.6769 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.6753, allocations: 83.88 kB / 0.677 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/0.6756, allocations: 123.9 kB / 0.6771 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.6756, allocations: 19.92 kB / 0.6772 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006135/0.6762, allocations: 0.7358 MB / 0.6779 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6763, allocations: 3.938 kB / 0.6779 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.6786, allocations: 1.355 MB / 0.6792 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.6791, allocations: 298.8 kB / 0.6795 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.6792, allocations: 8 kB / 0.6795 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/0.68, allocations: 67.89 kB / 0.6796 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6801, allocations: 48.31 kB / 0.6796 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/0.6801, allocations: 23.98 kB / 0.6796 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00164/0.6818, allocations: 1.227 MB / 0.6808 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6818, allocations: 0 / 0.6808 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002203/0.684, allocations: 0.7877 MB / 0.6816 GB, free: 6.781 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000867/0.6849, allocations: 376.8 kB / 0.682 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002641/0.6875, allocations: 1.466 MB / 0.6834 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6875, allocations: 0 / 0.6834 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.6882, allocations: 326.3 kB / 0.6837 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.6911, allocations: 0.7359 MB / 0.6844 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.6958, allocations: 3.464 MB / 0.6878 GB, free: 384 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.6969, allocations: 1.499 MB / 0.6893 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001469/0.6984, allocations: 441.5 kB / 0.6897 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.6986, allocations: 127.3 kB / 0.6898 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.6986, allocations: 0 / 0.6898 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.05193/0.7506, allocations: 30.35 MB / 0.7194 GB, free: 352 kB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)