Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 289.8 MB / 297.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 177.3 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 0.6256 GB, free: 5.844 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00098/0.00098, allocations: 88.47 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.333e-06/7.504e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7869/0.7869, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.928, allocations: 421.9 MB / 1.385 GB, free: 62.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.928, allocations: 94.95 kB / 1.385 GB, free: 62.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.758/10.69, allocations: 2.276 GB / 3.661 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002097/10.69, allocations: 250.8 kB / 3.661 GB, free: 102.5 MB / 0.9792 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.04111/10.73, allocations: 10.79 MB / 3.672 GB, free: 91.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/10.73, allocations: 8.031 kB / 3.672 GB, free: 91.69 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/10.74, allocations: 1.253 MB / 3.673 GB, free: 90.42 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04288/10.79, allocations: 12.88 MB / 3.685 GB, free: 77.71 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005074/10.79, allocations: 176 kB / 3.685 GB, free: 77.54 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003575/10.79, allocations: 355.9 kB / 3.686 GB, free: 77.19 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02897/10.82, allocations: 18.14 MB / 3.704 GB, free: 59.04 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03288/10.85, allocations: 12.76 MB / 3.716 GB, free: 46.02 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004933/10.85, allocations: 27.62 kB / 3.716 GB, free: 46 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003362/10.86, allocations: 15.06 kB / 3.716 GB, free: 45.98 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/10.86, allocations: 140 kB / 3.716 GB, free: 45.85 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6951/11.55, allocations: 62.19 MB / 3.777 GB, free: 196.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/11.56, allocations: 8.477 MB / 3.785 GB, free: 196.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01271/11.58, allocations: 9.403 MB / 3.794 GB, free: 196.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06112/11.64, allocations: 29.52 MB / 3.823 GB, free: 189.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009656/11.65, allocations: 7.354 MB / 3.83 GB, free: 189.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 6.242e-06/11.65, allocations: 0 / 3.83 GB, free: 189.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.02821/11.68, allocations: 14.94 MB / 3.845 GB, free: 189.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/11.68, allocations: 86.69 kB / 3.845 GB, free: 189.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/11.69, allocations: 6.56 MB / 3.851 GB, free: 189.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002339/11.69, allocations: 35.58 kB / 3.851 GB, free: 189.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003653/11.69, allocations: 2.557 MB / 3.854 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004426/11.7, allocations: 1.047 MB / 3.855 GB, free: 187.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008527/11.7, allocations: 0 / 3.855 GB, free: 187.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002986/11.7, allocations: 491.7 kB / 3.855 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007828/11.71, allocations: 6.249 MB / 3.862 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009413/11.72, allocations: 8.019 MB / 3.869 GB, free: 185.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/11.73, allocations: 7.323 MB / 3.877 GB, free: 185.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-05/11.73, allocations: 15.72 kB / 3.877 GB, free: 185.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03336/11.76, allocations: 16.73 MB / 3.893 GB, free: 184.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.007709/11.77, allocations: 24.46 MB / 3.917 GB, free: 159.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003434/11.77, allocations: 48.78 kB / 3.917 GB, free: 159.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005659/11.78, allocations: 1.608 MB / 3.918 GB, free: 159.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009984/11.79, allocations: 1.571 MB / 3.92 GB, free: 159 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007763/11.79, allocations: 4.652 MB / 3.925 GB, free: 157.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0135/11.81, allocations: 0.6952 MB / 3.925 GB, free: 157.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003238/11.81, allocations: 0.5392 MB / 3.926 GB, free: 157.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/11.81, allocations: 3.469 kB / 3.926 GB, free: 157.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03202/11.84, allocations: 15.9 MB / 3.941 GB, free: 157.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002119/11.84, allocations: 47.31 kB / 3.941 GB, free: 157.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/11.85, allocations: 1.481 MB / 3.943 GB, free: 157 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009161/11.86, allocations: 1.568 MB / 3.944 GB, free: 157 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/11.87, allocations: 7.879 MB / 3.952 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01315/11.88, allocations: 0.589 MB / 3.953 GB, free: 153.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003212/11.89, allocations: 0.5389 MB / 3.953 GB, free: 153.8 MB / 0.9792 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.004133/11.89, allocations: 254.9 kB / 3.953 GB, free: 153.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004181/11.89, allocations: 0.694 MB / 3.954 GB, free: 153.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03802/11.93, allocations: 14.43 MB / 3.968 GB, free: 153 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/11.93, allocations: 33.44 kB / 3.968 GB, free: 153 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/11.93, allocations: 0 / 3.968 GB, free: 153 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.017/11.95, allocations: 10.35 MB / 3.978 GB, free: 152.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05315/12, allocations: 23.24 MB / 4.001 GB, free: 141.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/12, allocations: 0 / 4.001 GB, free: 141.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006252/12.01, allocations: 0.6868 MB / 4.002 GB, free: 141.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/12.01, allocations: 0.8089 MB / 4.002 GB, free: 141.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00137/12.01, allocations: 68.78 kB / 4.002 GB, free: 141.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/12.02, allocations: 3.403 MB / 4.006 GB, free: 139.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/12.02, allocations: 0 / 4.006 GB, free: 139.3 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0306/12.05, allocations: 18.62 MB / 4.024 GB, free: 130.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01133/12.06, allocations: 1.963 MB / 4.026 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004656/12.06, allocations: 19.23 kB / 4.026 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009541/12.07, allocations: 327.4 kB / 4.026 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001575/12.07, allocations: 194.3 kB / 4.026 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001445/12.08, allocations: 160.9 kB / 4.027 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.01242/12.09, allocations: 4.996 MB / 4.031 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0314/12.12, allocations: 4.713 MB / 4.036 GB, free: 127.8 MB / 0.9792 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.004217/12.12, allocations: 1.175 MB / 4.037 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.04617/12.17, allocations: 23.14 MB / 4.06 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/12.17, allocations: 5.219 kB / 4.06 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.009777/12.18, allocations: 6.111 MB / 4.066 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02304/12.2, allocations: 3.831 MB / 4.069 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05188/12.26, allocations: 17.53 MB / 4.087 GB, free: 95.44 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01567/12.27, allocations: 6.341 MB / 4.093 GB, free: 90.83 MB / 0.9792 GB Notification: Performance of SimCode: time 1.483e-06/12.27, allocations: 0 / 4.093 GB, free: 90.83 MB / 0.9792 GB Notification: Performance of Templates: time 1.01/13.28, allocations: 259 MB / 4.346 GB, free: 189.6 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)