Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") translateModel(Annex60.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") [: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.2876/0.2876, allocations: 54.39 MB / 61.68 MB, free: 11.17 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.001485/0.001485, allocations: 185.7 kB / 75.37 MB, free: 1.543 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.761/1.761, allocations: 194.2 MB / 283.2 MB, free: 3.508 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.002311/0.002311, allocations: 113.3 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.107e-06, allocations: 4 kB / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1619, allocations: 57.63 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.6363, allocations: 83.9 MB / 0.5337 GB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.6367, allocations: 66.52 kB / 0.5337 GB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.0008403/0.6375, allocations: 95.44 kB / 0.5338 GB, free: 13.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.6376, allocations: 0 / 0.5338 GB, free: 13.26 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003282/0.6379, allocations: 306.1 kB / 0.5341 GB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/0.638, allocations: 15.97 kB / 0.5341 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.638, allocations: 3.906 kB / 0.5341 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.6382, allocations: 159.1 kB / 0.5343 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.6382, allocations: 0 / 0.5343 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.6382, allocations: 0.75 kB / 0.5343 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.716e-05/0.6383, allocations: 7.984 kB / 0.5343 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.882e-05/0.6384, allocations: 39.36 kB / 0.5343 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.6384, allocations: 8 kB / 0.5343 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.6384, allocations: 0.875 kB / 0.5343 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.6384, allocations: 0 / 0.5343 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.6386, allocations: 133.2 kB / 0.5345 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.6387, allocations: 39.33 kB / 0.5345 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.6387, allocations: 17.59 kB / 0.5345 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.6388, allocations: 10.69 kB / 0.5345 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.6388, allocations: 30.56 kB / 0.5346 GB, free: 12.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6388, allocations: 0 / 0.5346 GB, free: 12.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001938/0.639, allocations: 33.7 kB / 0.5346 GB, free: 12.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.6391, allocations: 83.86 kB / 0.5347 GB, free: 12.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.84e-05/0.6391, allocations: 88.98 kB / 0.5348 GB, free: 12.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.6392, allocations: 30.53 kB / 0.5348 GB, free: 12.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.6392, allocations: 80.14 kB / 0.5349 GB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.6393, allocations: 7.844 kB / 0.5349 GB, free: 11.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.6393, allocations: 0 / 0.5349 GB, free: 11.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6394, allocations: 314.8 kB / 0.5352 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-06/0.6394, allocations: 0 / 0.5352 GB, free: 11.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.6395, allocations: 12.78 kB / 0.5352 GB, free: 11.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.6395, allocations: 10.14 kB / 0.5352 GB, free: 11.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6395, allocations: 0 / 0.5352 GB, free: 11.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.784e-05/0.6396, allocations: 45.53 kB / 0.5352 GB, free: 11.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6396, allocations: 4 kB / 0.5352 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.6396, allocations: 0 / 0.5352 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.6397, allocations: 4 kB / 0.5352 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.6397, allocations: 4 kB / 0.5352 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.6398, allocations: 4 kB / 0.5352 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.6398, allocations: 0 / 0.5352 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.6398, allocations: 4.062 kB / 0.5353 GB, free: 11.58 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 9.129e-05/0.6399, allocations: 104.4 kB / 0.5354 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.6399, allocations: 11.89 kB / 0.5354 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.6401, allocations: 48.58 kB / 0.5354 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6401, allocations: 0 / 0.5354 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.6401, allocations: 0 / 0.5354 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6401, allocations: 8.047 kB / 0.5354 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.6402, allocations: 133.7 kB / 0.5355 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6402, allocations: 0 / 0.5355 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.6403, allocations: 4 kB / 0.5355 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6403, allocations: 3.938 kB / 0.5356 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.6403, allocations: 0 / 0.5356 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.6403, allocations: 0 / 0.5356 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.6403, allocations: 3.984 kB / 0.5356 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001157/0.6404, allocations: 86.92 kB / 0.5356 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.6405, allocations: 81.11 kB / 0.5357 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.6405, allocations: 0 / 0.5357 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.785e-05/0.6405, allocations: 0 / 0.5357 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.6406, allocations: 3.984 kB / 0.5357 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.6406, allocations: 7.938 kB / 0.5357 GB, free: 11.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.486e-05/0.6406, allocations: 75.28 kB / 0.5358 GB, free: 10.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.6408, allocations: 5.656 kB / 0.5358 GB, free: 10.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001555/0.641, allocations: 97.69 kB / 0.5359 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.6411, allocations: 7.188 kB / 0.5359 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6411, allocations: 0 / 0.5359 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.268e-06/0.6411, allocations: 7.938 kB / 0.5359 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.6412, allocations: 7.906 kB / 0.5359 GB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.6415, allocations: 60.41 kB / 0.536 GB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/0.6418, allocations: 0.688 MB / 0.5366 GB, free: 10.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6418, allocations: 0 / 0.5366 GB, free: 10.02 MB / 378.7 MB Notification: Performance of Templates: time 0.002233/0.6441, allocations: 207 kB / 0.5368 GB, free: 9.82 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe 2>&1)