Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5") translateModel(Annex60.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5") [: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.3004/0.3004, allocations: 54.39 MB / 61.68 MB, free: 11.18 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.001233/0.001233, allocations: 185.8 kB / 75.38 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.51/1.51, allocations: 194.2 MB / 283.2 MB, free: 3.52 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.00176/0.00176, allocations: 116.1 kB / 341.3 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.125e-06, allocations: 4 kB / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 57.63 MB / 462.6 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4795, allocations: 83.93 MB / 0.5337 GB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.4797, allocations: 73.64 kB / 0.5338 GB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.0009525/0.4807, allocations: 165.5 kB / 0.5339 GB, free: 12.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4807, allocations: 0 / 0.5339 GB, free: 12.95 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000284/0.481, allocations: 318.3 kB / 0.5342 GB, free: 12.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.481, allocations: 11.97 kB / 0.5342 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.4811, allocations: 5.75 kB / 0.5343 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.4813, allocations: 175 kB / 0.5344 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4814, allocations: 7.906 kB / 0.5344 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.4814, allocations: 6.938 kB / 0.5344 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.649e-05/0.4814, allocations: 4 kB / 0.5344 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.122e-05/0.4815, allocations: 33.69 kB / 0.5345 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.4815, allocations: 0 / 0.5345 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.4815, allocations: 0 / 0.5345 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4815, allocations: 0 / 0.5345 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.4817, allocations: 133.7 kB / 0.5346 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/0.4818, allocations: 22.58 kB / 0.5346 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.4818, allocations: 8.797 kB / 0.5346 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.4818, allocations: 3.906 kB / 0.5346 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.4819, allocations: 34.62 kB / 0.5347 GB, free: 12.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.4819, allocations: 0 / 0.5347 GB, free: 12.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.482, allocations: 37.69 kB / 0.5347 GB, free: 12.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4821, allocations: 51.41 kB / 0.5347 GB, free: 11.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.4822, allocations: 109.7 kB / 0.5349 GB, free: 11.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4822, allocations: 25.7 kB / 0.5349 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.4822, allocations: 80.14 kB / 0.535 GB, free: 11.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.4823, allocations: 11.09 kB / 0.535 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.4823, allocations: 0 / 0.535 GB, free: 11.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4824, allocations: 314.8 kB / 0.5353 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.4824, allocations: 4 kB / 0.5353 GB, free: 11.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.4825, allocations: 19.55 kB / 0.5353 GB, free: 11.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.4825, allocations: 15.98 kB / 0.5353 GB, free: 11.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4825, allocations: 0 / 0.5353 GB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.483e-05/0.4826, allocations: 37.7 kB / 0.5353 GB, free: 11.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4826, allocations: 7.984 kB / 0.5353 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4826, allocations: 3.906 kB / 0.5353 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4826, allocations: 0 / 0.5353 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.4827, allocations: 4 kB / 0.5354 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4827, allocations: 0 / 0.5354 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.4828, allocations: 4.062 kB / 0.5354 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4828, allocations: 7.984 kB / 0.5354 GB, free: 11.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.4829, allocations: 108.9 kB / 0.5355 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.4829, allocations: 7.906 kB / 0.5355 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.483, allocations: 52.28 kB / 0.5355 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.483, allocations: 0 / 0.5355 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.483, allocations: 0 / 0.5355 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.483, allocations: 4 kB / 0.5355 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.4831, allocations: 133.8 kB / 0.5357 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4832, allocations: 8.016 kB / 0.5357 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.4832, allocations: 7.938 kB / 0.5357 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4832, allocations: 3.906 kB / 0.5357 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.4832, allocations: 3.938 kB / 0.5357 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.4833, allocations: 0 / 0.5357 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4833, allocations: 0 / 0.5357 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001305/0.4834, allocations: 84.39 kB / 0.5358 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.4835, allocations: 77.2 kB / 0.5358 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.4835, allocations: 4 kB / 0.5358 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.4835, allocations: 0 / 0.5358 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.4835, allocations: 4.031 kB / 0.5358 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.4835, allocations: 0 / 0.5358 GB, free: 10.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.66e-05/0.4836, allocations: 87.02 kB / 0.5359 GB, free: 10.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.4838, allocations: 4 kB / 0.5359 GB, free: 10.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/0.484, allocations: 99.25 kB / 0.536 GB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.484, allocations: 19.92 kB / 0.536 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.484, allocations: 0 / 0.536 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.4841, allocations: 11.94 kB / 0.5361 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.4842, allocations: 5.938 kB / 0.5361 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.4845, allocations: 72.12 kB / 0.5361 GB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.4848, allocations: 0.6919 MB / 0.5368 GB, free: 9.703 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4848, allocations: 0 / 0.5368 GB, free: 9.703 MB / 378.7 MB Notification: Performance of Templates: time 0.001891/0.4867, allocations: 283.1 kB / 0.5371 GB, free: 9.438 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe 2>&1)