Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1") translateModel(Annex60.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1") [: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.2692/0.2692, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001149/0.001149, allocations: 179.7 kB / 75.37 MB, free: 1.52 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.424/1.424, allocations: 194.2 MB / 283.2 MB, free: 3.488 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.001865/0.001865, allocations: 118.5 kB / 341.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.156e-06/8.176e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9162/1.057, allocations: 360.1 MB / 0.8034 GB, free: 31.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/1.058, allocations: 91.2 kB / 0.8035 GB, free: 31.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.646/5.704, allocations: 1.222 GB / 2.026 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008375/5.705, allocations: 95.89 kB / 2.026 GB, free: 27.17 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 396 * Number of variables: 396 Notification: Performance of Generate backend data structure: time 0.01448/5.72, allocations: 3.326 MB / 2.029 GB, free: 23.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/5.72, allocations: 15.97 kB / 2.029 GB, free: 23.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/5.724, allocations: 0.593 MB / 2.03 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/5.741, allocations: 4.19 MB / 2.034 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/5.741, allocations: 55.91 kB / 2.034 GB, free: 18.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009094/5.742, allocations: 112 kB / 2.034 GB, free: 18.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004486/5.746, allocations: 1.658 MB / 2.036 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/5.751, allocations: 1.837 MB / 2.038 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.249e-05/5.751, allocations: 4 kB / 2.038 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003514/5.751, allocations: 8 kB / 2.038 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/5.751, allocations: 44 kB / 2.038 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/5.771, allocations: 11.25 MB / 2.049 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/5.773, allocations: 1.214 MB / 2.05 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/5.774, allocations: 0.9394 MB / 2.051 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3354/6.11, allocations: 3.148 MB / 2.054 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/6.111, allocations: 0.7316 MB / 2.055 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=99): time 3.236e-06/6.111, allocations: 0 / 2.055 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100): time 0.02328/6.134, allocations: 5.769 MB / 2.06 GB, free: 105 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/6.134, allocations: 195.6 kB / 2.06 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/6.138, allocations: 2.141 MB / 2.062 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005184/6.139, allocations: 29.7 kB / 2.062 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008789/6.14, allocations: 0.8285 MB / 2.063 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/6.14, allocations: 337.7 kB / 2.064 GB, free: 104 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/6.14, allocations: 0 / 2.064 GB, free: 104 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001378/6.141, allocations: 362.7 kB / 2.064 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/6.142, allocations: 0.6951 MB / 2.065 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/6.143, allocations: 1.421 MB / 2.066 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/6.145, allocations: 0.966 MB / 2.067 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/6.145, allocations: 4.094 kB / 2.067 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01401/6.159, allocations: 3.616 MB / 2.07 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00165/6.161, allocations: 5.485 MB / 2.076 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/6.161, allocations: 17.66 kB / 2.076 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/6.163, allocations: 0.981 MB / 2.077 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/6.165, allocations: 273.8 kB / 2.077 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006933/6.172, allocations: 4.454 MB / 2.081 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/6.176, allocations: 222.7 kB / 2.082 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/6.176, allocations: 94 kB / 2.082 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/6.176, allocations: 9.125 kB / 2.082 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004616/6.181, allocations: 2.139 MB / 2.084 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/6.181, allocations: 10 kB / 2.084 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/6.182, allocations: 469.8 kB / 2.084 GB, free: 94.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/6.183, allocations: 266.2 kB / 2.085 GB, free: 94.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007494/6.191, allocations: 6.803 MB / 2.091 GB, free: 90.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/6.194, allocations: 149.5 kB / 2.091 GB, free: 90.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/6.194, allocations: 75.44 kB / 2.091 GB, free: 90.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006709/6.195, allocations: 152.5 kB / 2.092 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/6.195, allocations: 268.3 kB / 2.092 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/6.207, allocations: 3.351 MB / 2.095 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/6.207, allocations: 13.56 kB / 2.095 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/6.207, allocations: 0 / 2.095 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01069/6.218, allocations: 2.967 MB / 2.098 GB, free: 89.67 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/6.235, allocations: 5.296 MB / 2.103 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/6.235, allocations: 3.156 kB / 2.103 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/6.236, allocations: 166.2 kB / 2.103 GB, free: 89.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/6.239, allocations: 0.9529 MB / 2.104 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002434/6.239, allocations: 32.36 kB / 2.104 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02607/6.265, allocations: 11.26 MB / 2.115 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/6.265, allocations: 6.312 kB / 2.115 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01413/6.279, allocations: 4.189 MB / 2.119 GB, free: 84.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/6.282, allocations: 0.5009 MB / 2.12 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/6.283, allocations: 7.188 kB / 2.12 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/6.286, allocations: 211.9 kB / 2.12 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/6.287, allocations: 92.91 kB / 2.12 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/6.287, allocations: 54.89 kB / 2.12 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004328/6.291, allocations: 1.639 MB / 2.122 GB, free: 83.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009474/6.301, allocations: 1.35 MB / 2.123 GB, free: 83.97 MB / 0.5261 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.heaCoo.T) * 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 (81): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {2 4,2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002642/6.304, allocations: 1.023 MB / 2.124 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008019/6.312, allocations: 3.514 MB / 2.128 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/6.312, allocations: 3.75 kB / 2.128 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003816/6.315, allocations: 1.541 MB / 2.129 GB, free: 82.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005678/6.321, allocations: 0.9964 MB / 2.13 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/6.334, allocations: 4.754 MB / 2.135 GB, free: 82.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002278/6.336, allocations: 2.295 MB / 2.137 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/6.336, allocations: 2.781 kB / 2.137 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.1254/6.462, allocations: 70.16 MB / 2.205 GB, free: 75.3 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v1.pipe 2>&1)