Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") [: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.001097/0.001097, allocations: 191.1 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.447/0.447, allocations: 90.85 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 221.4 MB / 342.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.000908, allocations: 99.08 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.714e-06, allocations: 4 kB / 493.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3424, allocations: 72.29 MB / 0.5529 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5664/0.9088, allocations: 382 MB / 0.926 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.9092, allocations: 89.48 kB / 0.9261 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.687/3.596, allocations: 0.8765 GB / 1.803 GB, free: 82.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002659/3.596, allocations: 37.5 kB / 1.803 GB, free: 82.1 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005022/3.601, allocations: 1.758 MB / 1.804 GB, free: 81.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/3.601, allocations: 10.78 kB / 1.804 GB, free: 81.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/3.602, allocations: 250.6 kB / 1.805 GB, free: 81.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/3.607, allocations: 1.718 MB / 1.806 GB, free: 80.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/3.607, allocations: 27.06 kB / 1.806 GB, free: 80.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/3.607, allocations: 65.03 kB / 1.806 GB, free: 80.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001554/3.609, allocations: 0.7077 MB / 1.807 GB, free: 80.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/3.61, allocations: 0.887 MB / 1.808 GB, free: 80.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/3.61, allocations: 4.438 kB / 1.808 GB, free: 80.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/3.611, allocations: 3.406 kB / 1.808 GB, free: 80.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/3.611, allocations: 44.02 kB / 1.808 GB, free: 80.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008587/3.619, allocations: 5.117 MB / 1.813 GB, free: 78.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/3.62, allocations: 476.7 kB / 1.813 GB, free: 77.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/3.62, allocations: 250.1 kB / 1.814 GB, free: 77.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/3.621, allocations: 0.8346 MB / 1.814 GB, free: 76.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/3.621, allocations: 38.75 kB / 1.815 GB, free: 76.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.515e-06/3.621, allocations: 2.906 kB / 1.815 GB, free: 76.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.004283/3.625, allocations: 1.053 MB / 1.816 GB, free: 76.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/3.625, allocations: 63.48 kB / 1.816 GB, free: 76.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/3.626, allocations: 0.8837 MB / 1.816 GB, free: 76.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.991e-05/3.627, allocations: 27.48 kB / 1.817 GB, free: 76.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/3.627, allocations: 444.7 kB / 1.817 GB, free: 75.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/3.627, allocations: 196.9 kB / 1.817 GB, free: 75.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/3.627, allocations: 0 / 1.817 GB, free: 75.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.16e-05/3.627, allocations: 338.3 kB / 1.817 GB, free: 75.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/3.627, allocations: 191.8 kB / 1.818 GB, free: 75.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/3.628, allocations: 426.4 kB / 1.818 GB, free: 74.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/3.628, allocations: 282.1 kB / 1.818 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/3.628, allocations: 6.781 kB / 1.818 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004045/3.632, allocations: 1.176 MB / 1.819 GB, free: 74.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002979/3.633, allocations: 1.332 MB / 1.821 GB, free: 73.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/3.633, allocations: 3.594 kB / 1.821 GB, free: 73.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/3.633, allocations: 123.8 kB / 1.821 GB, free: 73.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/3.634, allocations: 163.9 kB / 1.821 GB, free: 73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005667/3.634, allocations: 0.7038 MB / 1.822 GB, free: 72.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/3.636, allocations: 130 kB / 1.822 GB, free: 72.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/3.636, allocations: 36.7 kB / 1.822 GB, free: 72.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/3.636, allocations: 3.656 kB / 1.822 GB, free: 72.38 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003876/3.64, allocations: 1.033 MB / 1.823 GB, free: 72.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/3.64, allocations: 12.89 kB / 1.823 GB, free: 72.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/3.64, allocations: 123.7 kB / 1.823 GB, free: 72.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/3.641, allocations: 159.4 kB / 1.823 GB, free: 72.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005318/3.641, allocations: 0.7074 MB / 1.824 GB, free: 71.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/3.642, allocations: 115.9 kB / 1.824 GB, free: 71.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/3.642, allocations: 34.67 kB / 1.824 GB, free: 71.52 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.yPL:VARIABLE(min = 0.0 unit = "1" ) "Part load ratio" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002432/3.642, allocations: 123.9 kB / 1.824 GB, free: 71.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/3.643, allocations: 121.8 kB / 1.824 GB, free: 71.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/3.647, allocations: 1.193 MB / 1.825 GB, free: 71.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/3.647, allocations: 13.11 kB / 1.825 GB, free: 71.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/3.647, allocations: 0 / 1.825 GB, free: 71.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003772/3.651, allocations: 1.087 MB / 1.826 GB, free: 70.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006454/3.657, allocations: 2.392 MB / 1.829 GB, free: 69.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/3.657, allocations: 5.844 kB / 1.829 GB, free: 69.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/3.658, allocations: 129.3 kB / 1.829 GB, free: 69.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003877/3.658, allocations: 120 kB / 1.829 GB, free: 69.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/3.658, allocations: 12.22 kB / 1.829 GB, free: 69.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004847/3.659, allocations: 0.6923 MB / 1.83 GB, free: 68.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/3.659, allocations: 3 kB / 1.83 GB, free: 68.66 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004667/3.664, allocations: 1.762 MB / 1.831 GB, free: 67.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006119/3.664, allocations: 319.8 kB / 1.832 GB, free: 67.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/3.664, allocations: 6.719 kB / 1.832 GB, free: 67.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/3.665, allocations: 69.5 kB / 1.832 GB, free: 67.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/3.665, allocations: 53.03 kB / 1.832 GB, free: 67.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/3.665, allocations: 33.19 kB / 1.832 GB, free: 67.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0009529/3.666, allocations: 0.6796 MB / 1.833 GB, free: 66.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002036/3.668, allocations: 0.7808 MB / 1.833 GB, free: 66.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/3.67, allocations: 0.782 MB / 1.834 GB, free: 66.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001668/3.671, allocations: 0.9269 MB / 1.835 GB, free: 66.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/3.671, allocations: 3.719 kB / 1.835 GB, free: 66.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005449/3.672, allocations: 326 kB / 1.835 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/3.674, allocations: 0.5312 MB / 1.836 GB, free: 65.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/3.678, allocations: 1.751 MB / 1.838 GB, free: 64.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008311/3.679, allocations: 1.308 MB / 1.839 GB, free: 63.78 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/3.679, allocations: 0 / 1.839 GB, free: 63.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.04284/3.721, allocations: 30.46 MB / 1.869 GB, free: 34.55 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)