Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") translateModel(Annex60.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2778/0.2778, allocations: 54.39 MB / 61.68 MB, free: 11.15 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001222/0.001222, allocations: 180.9 kB / 75.37 MB, free: 1.469 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.402/1.402, allocations: 194.2 MB / 283.2 MB, free: 3.504 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001763, allocations: 115.7 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.895e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 57.64 MB / 462.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8596/0.9915, allocations: 347.8 MB / 0.7914 GB, free: 43.81 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.9917, allocations: 88.39 kB / 0.7915 GB, free: 43.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.528/2.52, allocations: 453.5 MB / 1.234 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002931/2.52, allocations: 39.98 kB / 1.234 GB, free: 5.742 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004867/2.525, allocations: 1.504 MB / 1.236 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/2.525, allocations: 11.97 kB / 1.236 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/2.528, allocations: 297.8 kB / 1.236 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006037/2.534, allocations: 1.981 MB / 1.238 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/2.534, allocations: 24 kB / 1.238 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/2.534, allocations: 55.98 kB / 1.238 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001523/2.536, allocations: 0.6481 MB / 1.239 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/2.537, allocations: 0.8707 MB / 1.24 GB, free: 188 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/2.537, allocations: 7.938 kB / 1.24 GB, free: 180 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/2.538, allocations: 0 / 1.24 GB, free: 180 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/2.538, allocations: 20 kB / 1.24 GB, free: 160 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2741/2.812, allocations: 4.902 MB / 1.244 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/2.812, allocations: 392.7 kB / 1.245 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/2.813, allocations: 311.4 kB / 1.245 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/2.815, allocations: 1.288 MB / 1.246 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/2.815, allocations: 328.9 kB / 1.247 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 2.766e-06/2.815, allocations: 2.156 kB / 1.247 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.006832/2.822, allocations: 2.023 MB / 1.249 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/2.822, allocations: 139.1 kB / 1.249 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/2.823, allocations: 0.9899 MB / 1.25 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.827e-05/2.823, allocations: 28.8 kB / 1.25 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/2.824, allocations: 448.9 kB / 1.25 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/2.824, allocations: 167.3 kB / 1.25 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/2.824, allocations: 0 / 1.25 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/2.824, allocations: 334.1 kB / 1.251 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/2.824, allocations: 267 kB / 1.251 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/2.825, allocations: 0.6099 MB / 1.252 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/2.826, allocations: 403.4 kB / 1.252 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.826, allocations: 2.875 kB / 1.252 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003595/2.829, allocations: 1.191 MB / 1.253 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006384/2.83, allocations: 3.174 MB / 1.256 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/2.83, allocations: 11.62 kB / 1.256 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/2.831, allocations: 243.2 kB / 1.256 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/2.831, allocations: 159.5 kB / 1.257 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/2.834, allocations: 1.069 MB / 1.258 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/2.835, allocations: 82.7 kB / 1.258 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/2.835, allocations: 46.94 kB / 1.258 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/2.835, allocations: 3.5 kB / 1.258 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001741/2.837, allocations: 0.8286 MB / 1.259 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/2.837, allocations: 9.875 kB / 1.259 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/2.837, allocations: 100.1 kB / 1.259 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/2.838, allocations: 156.2 kB / 1.259 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/2.84, allocations: 1.965 MB / 1.261 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/2.841, allocations: 63.91 kB / 1.261 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/2.841, allocations: 38.17 kB / 1.261 GB, free: 118.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002727/2.841, allocations: 138.3 kB / 1.261 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/2.841, allocations: 121.5 kB / 1.261 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/2.845, allocations: 1.104 MB / 1.262 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/2.845, allocations: 3.844 kB / 1.262 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/2.845, allocations: 0 / 1.262 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002622/2.847, allocations: 1.075 MB / 1.263 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/2.852, allocations: 2.021 MB / 1.265 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/2.852, allocations: 0 / 1.265 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/2.852, allocations: 83.66 kB / 1.265 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/2.853, allocations: 282.5 kB / 1.266 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/2.853, allocations: 13.53 kB / 1.266 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007403/2.86, allocations: 3.637 MB / 1.269 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/2.86, allocations: 7.75 kB / 1.269 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003793/2.864, allocations: 1.459 MB / 1.271 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/2.865, allocations: 269.2 kB / 1.271 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/2.865, allocations: 3.875 kB / 1.271 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/2.866, allocations: 80.31 kB / 1.271 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/2.866, allocations: 42.03 kB / 1.271 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/2.866, allocations: 29.64 kB / 1.271 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001025/2.867, allocations: 0.7596 MB / 1.272 GB, free: 115 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002538/2.87, allocations: 0.6506 MB / 1.272 GB, free: 115 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/2.871, allocations: 0.7247 MB / 1.273 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003665/2.875, allocations: 1.37 MB / 1.274 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/2.875, allocations: 0 / 1.274 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/2.877, allocations: 0.5689 MB / 1.275 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/2.879, allocations: 0.4954 MB / 1.275 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/2.883, allocations: 1.787 MB / 1.277 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009013/2.884, allocations: 1.407 MB / 1.279 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.011e-06/2.884, allocations: 0 / 1.279 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.05192/2.936, allocations: 30.81 MB / 1.309 GB, free: 112.4 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe 2>&1)