Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.496/1.496, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.00113/0.00113, allocations: 177.3 kB / 361.1 MB, free: 7.078 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.617/1.617, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0009127/0.0009128, allocations: 95.61 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.654e-06/7.674e-06, allocations: 0 / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7601, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.836, allocations: 420.9 MB / 1.375 GB, free: 141 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.836, allocations: 90.27 kB / 1.375 GB, free: 141 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.314/10.15, allocations: 2.276 GB / 3.651 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00208/10.15, allocations: 251.3 kB / 3.651 GB, free: 107.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.03768/10.19, allocations: 10.79 MB / 3.662 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/10.19, allocations: 11.09 kB / 3.662 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009865/10.2, allocations: 1.259 MB / 3.663 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04086/10.24, allocations: 12.88 MB / 3.675 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000596/10.24, allocations: 181 kB / 3.676 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003501/10.24, allocations: 358.6 kB / 3.676 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02902/10.27, allocations: 18.14 MB / 3.694 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03197/10.31, allocations: 12.76 MB / 3.706 GB, free: 99.73 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/10.31, allocations: 20.31 kB / 3.706 GB, free: 99.73 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002239/10.31, allocations: 19.25 kB / 3.706 GB, free: 99.72 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/10.31, allocations: 141.8 kB / 3.706 GB, free: 99.72 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1262/10.43, allocations: 62.19 MB / 3.767 GB, free: 58.52 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/10.45, allocations: 8.474 MB / 3.775 GB, free: 50.04 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01272/10.46, allocations: 9.399 MB / 3.785 GB, free: 40.64 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06951/10.53, allocations: 29.53 MB / 3.813 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.012/10.54, allocations: 7.347 MB / 3.821 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 9.477e-06/10.54, allocations: 0 / 3.821 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.6048/11.15, allocations: 14.94 MB / 3.835 GB, free: 203.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/11.15, allocations: 84.22 kB / 3.835 GB, free: 203 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/11.16, allocations: 6.568 MB / 3.842 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002736/11.16, allocations: 32.7 kB / 3.842 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004119/11.17, allocations: 2.552 MB / 3.844 GB, free: 202.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.005097/11.17, allocations: 1.047 MB / 3.845 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009577/11.17, allocations: 0 / 3.845 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004045/11.17, allocations: 494.5 kB / 3.846 GB, free: 201.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008372/11.18, allocations: 6.245 MB / 3.852 GB, free: 201.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/11.19, allocations: 8.024 MB / 3.86 GB, free: 199 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/11.2, allocations: 7.324 MB / 3.867 GB, free: 199 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.651e-05/11.2, allocations: 14.84 kB / 3.867 GB, free: 199 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03664/11.24, allocations: 16.74 MB / 3.883 GB, free: 198.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005792/11.25, allocations: 24.46 MB / 3.907 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/11.25, allocations: 48.44 kB / 3.907 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004936/11.25, allocations: 1.604 MB / 3.909 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009241/11.26, allocations: 1.579 MB / 3.91 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007964/11.27, allocations: 4.646 MB / 3.915 GB, free: 171.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01369/11.28, allocations: 0.6917 MB / 3.915 GB, free: 171.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003207/11.29, allocations: 0.5443 MB / 3.916 GB, free: 171.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/11.29, allocations: 3.625 kB / 3.916 GB, free: 171.1 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03584/11.32, allocations: 15.9 MB / 3.931 GB, free: 170.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004092/11.32, allocations: 51.09 kB / 3.931 GB, free: 170.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00503/11.33, allocations: 1.483 MB / 3.933 GB, free: 170.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009668/11.34, allocations: 1.567 MB / 3.934 GB, free: 170.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/11.35, allocations: 7.861 MB / 3.942 GB, free: 167.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/11.36, allocations: 0.5894 MB / 3.943 GB, free: 167.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002762/11.37, allocations: 0.5427 MB / 3.943 GB, free: 167.6 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.003917/11.37, allocations: 254.4 kB / 3.943 GB, free: 167.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004373/11.37, allocations: 0.6981 MB / 3.944 GB, free: 167.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03123/11.4, allocations: 14.43 MB / 3.958 GB, free: 166.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/11.4, allocations: 35.03 kB / 3.958 GB, free: 166.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/11.4, allocations: 2.156 kB / 3.958 GB, free: 166.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0149/11.42, allocations: 10.33 MB / 3.968 GB, free: 166.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03935/11.46, allocations: 23.27 MB / 3.991 GB, free: 163.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/11.46, allocations: 0 / 3.991 GB, free: 163.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005212/11.46, allocations: 0.6738 MB / 3.992 GB, free: 163.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/11.47, allocations: 0.8062 MB / 3.993 GB, free: 163.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006623/11.47, allocations: 69.36 kB / 3.993 GB, free: 163.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/11.47, allocations: 3.399 MB / 3.996 GB, free: 161.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/11.47, allocations: 0.75 kB / 3.996 GB, free: 161.8 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02555/11.5, allocations: 18.62 MB / 4.014 GB, free: 160.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007644/11.5, allocations: 1.966 MB / 4.016 GB, free: 160.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003716/11.51, allocations: 20.59 kB / 4.016 GB, free: 160.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008554/11.52, allocations: 326.7 kB / 4.016 GB, free: 160.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008637/11.52, allocations: 197.5 kB / 4.017 GB, free: 160.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007866/11.52, allocations: 159.5 kB / 4.017 GB, free: 160.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.008949/11.53, allocations: 4.992 MB / 4.022 GB, free: 160.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0275/11.56, allocations: 4.712 MB / 4.026 GB, free: 160 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.00364/11.56, allocations: 1.175 MB / 4.027 GB, free: 159.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.04333/11.6, allocations: 23.15 MB / 4.05 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.062e-05/11.6, allocations: 6.781 kB / 4.05 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01051/11.61, allocations: 6.109 MB / 4.056 GB, free: 152.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02212/11.63, allocations: 3.808 MB / 4.06 GB, free: 152 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/11.68, allocations: 17.53 MB / 4.077 GB, free: 146.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01394/11.69, allocations: 6.334 MB / 4.083 GB, free: 145.4 MB / 0.9792 GB Notification: Performance of SimCode: time 1.603e-06/11.69, allocations: 0 / 4.083 GB, free: 145.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.9387/12.63, allocations: 259 MB / 4.336 GB, free: 183.3 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)