Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") [: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.0009232/0.0009232, allocations: 184.9 kB / 7.799 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4617/0.4617, allocations: 90.85 MB / 99.06 MB, free: 14.92 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.162/1.162, allocations: 221.4 MB / 342.8 MB, free: 5.402 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.0009313/0.0009313, allocations: 101.3 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/8.035e-06, allocations: 0 / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3111, allocations: 72.3 MB / 0.5529 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5434/0.8545, allocations: 381.9 MB / 0.9258 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.8548, allocations: 87.33 kB / 0.9259 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.938/2.793, allocations: 0.567 GB / 1.493 GB, free: 89.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002297/2.793, allocations: 42.72 kB / 1.493 GB, free: 89.23 MB / 0.6042 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.005493/2.799, allocations: 1.749 MB / 1.495 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/2.799, allocations: 13.22 kB / 1.495 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/2.801, allocations: 247.2 kB / 1.495 GB, free: 88.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005305/2.806, allocations: 1.723 MB / 1.497 GB, free: 88.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/2.806, allocations: 30.41 kB / 1.497 GB, free: 88.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/2.806, allocations: 63.53 kB / 1.497 GB, free: 88.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001595/2.808, allocations: 0.7028 MB / 1.497 GB, free: 88.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/2.809, allocations: 0.8805 MB / 1.498 GB, free: 87.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/2.81, allocations: 9.656 kB / 1.498 GB, free: 87.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/2.81, allocations: 0 / 1.498 GB, free: 87.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/2.81, allocations: 41.53 kB / 1.498 GB, free: 87.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00673/2.816, allocations: 5.06 MB / 1.503 GB, free: 85.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/2.817, allocations: 471.2 kB / 1.504 GB, free: 85.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/2.818, allocations: 251.5 kB / 1.504 GB, free: 85.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/2.818, allocations: 0.832 MB / 1.505 GB, free: 84.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/2.818, allocations: 41.5 kB / 1.505 GB, free: 84.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.635e-06/2.818, allocations: 0 / 1.505 GB, free: 84.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.004233/2.822, allocations: 1.035 MB / 1.506 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/2.822, allocations: 62.94 kB / 1.506 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/2.824, allocations: 0.8907 MB / 1.507 GB, free: 84.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.45e-05/2.824, allocations: 28.64 kB / 1.507 GB, free: 84.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/2.824, allocations: 444 kB / 1.507 GB, free: 84.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/2.824, allocations: 204.4 kB / 1.507 GB, free: 83.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/2.824, allocations: 0 / 1.507 GB, free: 83.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.855e-05/2.824, allocations: 326.2 kB / 1.508 GB, free: 83.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/2.825, allocations: 192.3 kB / 1.508 GB, free: 83.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/2.825, allocations: 426 kB / 1.508 GB, free: 83.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006027/2.826, allocations: 278.7 kB / 1.509 GB, free: 83.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/2.826, allocations: 3.469 kB / 1.509 GB, free: 83.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004178/2.83, allocations: 1.175 MB / 1.51 GB, free: 83.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002529/2.83, allocations: 1.419 MB / 1.511 GB, free: 81.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/2.83, allocations: 3.781 kB / 1.511 GB, free: 81.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003824/2.83, allocations: 107.4 kB / 1.511 GB, free: 81.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/2.831, allocations: 156.6 kB / 1.511 GB, free: 81.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/2.832, allocations: 0.8012 MB / 1.512 GB, free: 81.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/2.833, allocations: 126.5 kB / 1.512 GB, free: 81.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/2.834, allocations: 33.56 kB / 1.512 GB, free: 81.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-06/2.834, allocations: 5.906 kB / 1.512 GB, free: 81.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003974/2.838, allocations: 1.022 MB / 1.513 GB, free: 81.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/2.838, allocations: 3.875 kB / 1.513 GB, free: 81.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/2.838, allocations: 110.1 kB / 1.513 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/2.839, allocations: 161.3 kB / 1.514 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/2.84, allocations: 0.7916 MB / 1.514 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/2.841, allocations: 122.4 kB / 1.514 GB, free: 80.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/2.841, allocations: 39.33 kB / 1.514 GB, free: 80.61 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002271/2.841, allocations: 118.7 kB / 1.515 GB, free: 80.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/2.841, allocations: 123.3 kB / 1.515 GB, free: 80.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/2.846, allocations: 1.175 MB / 1.516 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/2.846, allocations: 7.188 kB / 1.516 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/2.846, allocations: 0 / 1.516 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003926/2.85, allocations: 1.076 MB / 1.517 GB, free: 80.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006535/2.856, allocations: 2.368 MB / 1.519 GB, free: 79.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/2.856, allocations: 3.875 kB / 1.519 GB, free: 79.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/2.857, allocations: 124.2 kB / 1.519 GB, free: 79.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/2.857, allocations: 100.2 kB / 1.519 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/2.857, allocations: 12.22 kB / 1.519 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/2.861, allocations: 2.131 MB / 1.522 GB, free: 78.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/2.861, allocations: 3.875 kB / 1.522 GB, free: 78.48 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004833/2.866, allocations: 1.741 MB / 1.523 GB, free: 77.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/2.866, allocations: 308.6 kB / 1.524 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/2.867, allocations: 7.125 kB / 1.524 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009717/2.868, allocations: 68.3 kB / 1.524 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/2.868, allocations: 62.45 kB / 1.524 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/2.868, allocations: 34.06 kB / 1.524 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00108/2.869, allocations: 0.6809 MB / 1.524 GB, free: 77.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002537/2.871, allocations: 0.7954 MB / 1.525 GB, free: 77.54 MB / 0.6042 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/2.873, allocations: 0.7734 MB / 1.526 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002567/2.875, allocations: 1.048 MB / 1.527 GB, free: 77.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/2.875, allocations: 2.75 kB / 1.527 GB, free: 77.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/2.876, allocations: 493.1 kB / 1.527 GB, free: 77.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/2.879, allocations: 0.537 MB / 1.528 GB, free: 77.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/2.883, allocations: 1.755 MB / 1.53 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009178/2.884, allocations: 1.307 MB / 1.531 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/2.884, allocations: 0 / 1.531 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.04367/2.927, allocations: 30.38 MB / 1.561 GB, free: 72.72 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)