Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.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.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2") translateModel(Annex60.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2") [: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.2989/0.2989, allocations: 54.39 MB / 61.67 MB, free: 13.93 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.001227/0.001227, allocations: 180.5 kB / 75.38 MB, free: 0.9453 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.505/1.505, allocations: 194.2 MB / 283.1 MB, free: 7.383 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.001782/0.001782, allocations: 93.42 kB / 341.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.602e-06, allocations: 0 / 405 MB, free: 46.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 57.63 MB / 462.6 MB, free: 4.664 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9161/1.047, allocations: 360.7 MB / 0.804 GB, free: 70.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/1.048, allocations: 90.95 kB / 0.8041 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.564/6.611, allocations: 1.455 GB / 2.259 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.002222/6.614, allocations: 243.7 kB / 2.259 GB, free: 11.63 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: 1336 * Number of variables: 1336 Notification: Performance of Generate backend data structure: time 0.04662/6.66, allocations: 10.63 MB / 2.27 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.639e-05/6.66, allocations: 16.03 kB / 2.27 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/6.675, allocations: 1.259 MB / 2.271 GB, free: 132 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4282/7.104, allocations: 13.63 MB / 2.284 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/7.104, allocations: 168.1 kB / 2.284 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003201/7.107, allocations: 346.7 kB / 2.285 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02958/7.137, allocations: 17.99 MB / 2.302 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0323/7.169, allocations: 12.64 MB / 2.315 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002883/7.17, allocations: 32.14 kB / 2.315 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004138/7.174, allocations: 12.88 kB / 2.315 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/7.174, allocations: 131.8 kB / 2.315 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1234/7.297, allocations: 62.34 MB / 2.376 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/7.31, allocations: 8.547 MB / 2.384 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01393/7.324, allocations: 9.592 MB / 2.393 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04963/7.374, allocations: 24.91 MB / 2.418 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01471/7.388, allocations: 8.463 MB / 2.426 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=363): time 1.483e-05/7.388, allocations: 4.656 kB / 2.426 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=384): time 0.1033/7.492, allocations: 36.43 MB / 2.462 GB, free: 25.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/7.492, allocations: 220.8 kB / 2.462 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01769/7.51, allocations: 6.067 MB / 2.468 GB, free: 20.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002863/7.513, allocations: 37.7 kB / 2.468 GB, free: 20.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004564/7.517, allocations: 2.234 MB / 2.47 GB, free: 18.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005713/7.523, allocations: 1.301 MB / 2.471 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002518/7.525, allocations: 3 kB / 2.471 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005493/7.526, allocations: 0.49 MB / 2.472 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01039/7.536, allocations: 7.121 MB / 2.479 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/7.548, allocations: 8.673 MB / 2.487 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3629/7.911, allocations: 9.406 MB / 2.496 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.297e-05/7.911, allocations: 11.62 kB / 2.496 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=601) (initialization): time 0.04691/7.958, allocations: 19.35 MB / 2.515 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.007754/7.966, allocations: 19.62 MB / 2.534 GB, free: 60.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002245/7.966, allocations: 35.88 kB / 2.534 GB, free: 60.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006792/7.973, allocations: 2.253 MB / 2.537 GB, free: 60.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/7.984, allocations: 1.619 MB / 2.538 GB, free: 60.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/8.002, allocations: 6.326 MB / 2.544 GB, free: 58.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01367/8.016, allocations: 423.6 kB / 2.545 GB, free: 58.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003396/8.019, allocations: 0.5515 MB / 2.545 GB, free: 58.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/8.019, allocations: 8.938 kB / 2.545 GB, free: 58.46 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0396/8.059, allocations: 17.44 MB / 2.562 GB, free: 58.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001999/8.059, allocations: 40 kB / 2.562 GB, free: 58.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005266/8.064, allocations: 1.681 MB / 2.564 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01/8.074, allocations: 1.607 MB / 2.566 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/8.088, allocations: 8.26 MB / 2.574 GB, free: 55.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/8.1, allocations: 346.3 kB / 2.574 GB, free: 55.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003422/8.104, allocations: 0.5351 MB / 2.574 GB, free: 55.16 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (547): * Single equations (assignments): 542 * 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: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.005431/8.109, allocations: 254.5 kB / 2.575 GB, free: 55.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004545/8.114, allocations: 0.6884 MB / 2.575 GB, free: 55.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05165/8.165, allocations: 18.7 MB / 2.594 GB, free: 54.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001383/8.165, allocations: 54.66 kB / 2.594 GB, free: 54.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/8.166, allocations: 0 / 2.594 GB, free: 54.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03215/8.198, allocations: 13.27 MB / 2.607 GB, free: 54.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06499/8.263, allocations: 27.45 MB / 2.633 GB, free: 50.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.522e-05/8.263, allocations: 11.72 kB / 2.633 GB, free: 50.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005046/8.268, allocations: 0.5214 MB / 2.634 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005853/8.274, allocations: 2.607 MB / 2.636 GB, free: 50.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001272/8.275, allocations: 93.3 kB / 2.637 GB, free: 50.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04085/8.316, allocations: 24.53 MB / 2.661 GB, free: 34.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/8.316, allocations: 15.78 kB / 2.661 GB, free: 34.97 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03585/8.352, allocations: 24.23 MB / 2.684 GB, free: 22.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007363/8.359, allocations: 2.023 MB / 2.686 GB, free: 21.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004202/8.363, allocations: 39.8 kB / 2.686 GB, free: 21.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009432/8.373, allocations: 401.1 kB / 2.687 GB, free: 21.87 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001452/8.374, allocations: 285.2 kB / 2.687 GB, free: 21.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000923/8.375, allocations: 209.1 kB / 2.687 GB, free: 21.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.008239/8.384, allocations: 4.648 MB / 2.692 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0234/8.407, allocations: 4.085 MB / 2.696 GB, free: 19.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 22 (pump.vol.dynBal.U,hea.heaCoo.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (301): * Single equations (assignments): 272 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 24 {3 4,2 5,2 5,20 21,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004048/8.411, allocations: 1.173 MB / 2.697 GB, free: 18.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3153/8.726, allocations: 26.81 MB / 2.723 GB, free: 76.63 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.532e-05/8.726, allocations: 4.531 kB / 2.723 GB, free: 76.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01913/8.746, allocations: 8.181 MB / 2.731 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0219/8.768, allocations: 3.934 MB / 2.735 GB, free: 76.31 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04826/8.816, allocations: 18.99 MB / 2.753 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01175/8.828, allocations: 6.252 MB / 2.759 GB, free: 72.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.362e-06/8.828, allocations: 0 / 2.759 GB, free: 72.64 MB / 0.5417 GB Notification: Performance of Templates: time 0.6798/9.508, allocations: 289.1 MB / 3.042 GB, free: 53.2 MB / 0.5417 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.pipe 2>&1)