Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003164/0.003164, allocations: 184.1 kB / 7.456 MB, free: 2.344 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6871/0.6871, allocations: 130.6 MB / 138.5 MB, free: 2.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 221.3 MB / 391.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 104.7 kB / 473.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.666e-06, allocations: 1.688 kB / 0.5479 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.164, allocations: 81.58 MB / 0.6276 GB, free: 18.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.209, allocations: 380.6 MB / 0.9993 GB, free: 230.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.209, allocations: 90.45 kB / 0.9994 GB, free: 230.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 8.455/9.664, allocations: 2.326 GB / 3.326 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.002076/9.666, allocations: 267.7 kB / 3.326 GB, free: 15.51 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.0363/9.703, allocations: 10.84 MB / 3.337 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/9.703, allocations: 12.03 kB / 3.337 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009922/9.713, allocations: 1.269 MB / 3.338 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4713/10.18, allocations: 13.14 MB / 3.351 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004996/10.18, allocations: 184.6 kB / 3.351 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003481/10.19, allocations: 354.3 kB / 3.351 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03202/10.22, allocations: 18.13 MB / 3.369 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02857/10.25, allocations: 12.76 MB / 3.381 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/10.25, allocations: 25.88 kB / 3.381 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001482/10.25, allocations: 18.88 kB / 3.381 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/10.25, allocations: 140.1 kB / 3.382 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1325/10.38, allocations: 62.24 MB / 3.442 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/10.4, allocations: 8.478 MB / 3.451 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01477/10.41, allocations: 9.397 MB / 3.46 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06938/10.48, allocations: 29.54 MB / 3.489 GB, free: 101 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01272/10.49, allocations: 7.35 MB / 3.496 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=301): time 6.633e-06/10.49, allocations: 0 / 3.496 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=301): time 0.0367/10.53, allocations: 14.94 MB / 3.51 GB, free: 98.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/10.53, allocations: 87.45 kB / 3.51 GB, free: 98.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01904/10.55, allocations: 6.675 MB / 3.517 GB, free: 96.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00272/10.55, allocations: 32.92 kB / 3.517 GB, free: 96.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.006032/10.56, allocations: 2.569 MB / 3.52 GB, free: 94.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.005969/10.57, allocations: 1.043 MB / 3.521 GB, free: 94.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002888/10.57, allocations: 0.7188 kB / 3.521 GB, free: 94.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0009023/10.57, allocations: 495.9 kB / 3.521 GB, free: 93.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/10.58, allocations: 6.253 MB / 3.527 GB, free: 91.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01149/10.59, allocations: 8.013 MB / 3.535 GB, free: 86.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/10.6, allocations: 7.325 MB / 3.542 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/10.6, allocations: 14.72 kB / 3.542 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03996/10.64, allocations: 16.73 MB / 3.558 GB, free: 78.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.006162/10.65, allocations: 24.63 MB / 3.583 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/10.65, allocations: 46.72 kB / 3.583 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00532/10.66, allocations: 1.613 MB / 3.584 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009649/10.67, allocations: 1.571 MB / 3.586 GB, free: 51.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008481/10.67, allocations: 4.639 MB / 3.59 GB, free: 49.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01414/10.69, allocations: 0.6991 MB / 3.591 GB, free: 49.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003411/10.69, allocations: 0.5433 MB / 3.591 GB, free: 49.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/10.69, allocations: 2.5 kB / 3.591 GB, free: 49.04 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0389/10.73, allocations: 15.9 MB / 3.607 GB, free: 39.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002583/10.73, allocations: 48 kB / 3.607 GB, free: 39.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004591/10.74, allocations: 1.473 MB / 3.608 GB, free: 38.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009469/10.75, allocations: 1.576 MB / 3.61 GB, free: 37.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/10.76, allocations: 7.86 MB / 3.618 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01389/10.77, allocations: 0.5901 MB / 3.618 GB, free: 29.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003444/10.78, allocations: 0.5378 MB / 3.619 GB, free: 29.5 MB / 0.7136 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: 215 * 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 (524): * Single equations (assignments): 519 * 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,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005294/10.78, allocations: 255 kB / 3.619 GB, free: 29.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005237/10.79, allocations: 0.71 MB / 3.62 GB, free: 28.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03556/10.82, allocations: 14.43 MB / 3.634 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.291e-05/10.82, allocations: 39.89 kB / 3.634 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/10.82, allocations: 0 / 3.634 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01669/10.84, allocations: 10.32 MB / 3.644 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5005/11.34, allocations: 23.3 MB / 3.667 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/11.34, allocations: 0 / 3.667 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005676/11.34, allocations: 0.6788 MB / 3.667 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/11.35, allocations: 0.8048 MB / 3.668 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009823/11.35, allocations: 68.95 kB / 3.668 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004296/11.35, allocations: 3.402 MB / 3.671 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/11.35, allocations: 1.969 kB / 3.671 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02964/11.38, allocations: 18.63 MB / 3.69 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008594/11.39, allocations: 1.975 MB / 3.692 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004511/11.39, allocations: 21.91 kB / 3.692 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01132/11.41, allocations: 326.9 kB / 3.692 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002193/11.41, allocations: 194.6 kB / 3.692 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001904/11.41, allocations: 163.7 kB / 3.692 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.01473/11.43, allocations: 5.091 MB / 3.697 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.03067/11.46, allocations: 4.719 MB / 3.702 GB, free: 116.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.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 (303): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.004834/11.46, allocations: 1.163 MB / 3.703 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.04664/11.51, allocations: 23.14 MB / 3.726 GB, free: 116 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.947e-05/11.51, allocations: 3.188 kB / 3.726 GB, free: 116 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01099/11.52, allocations: 6.112 MB / 3.732 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0263/11.55, allocations: 3.817 MB / 3.735 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05933/11.6, allocations: 17.65 MB / 3.753 GB, free: 113.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01634/11.62, allocations: 6.398 MB / 3.759 GB, free: 128.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.013e-06/11.62, allocations: 0 / 3.759 GB, free: 128.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.8323/12.45, allocations: 259.4 MB / 4.012 GB, free: 131.9 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)