Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") [: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.0009896/0.0009896, allocations: 186.4 kB / 7.805 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.4602/0.4602, allocations: 90.85 MB / 99.08 MB, free: 14.94 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.181/1.181, allocations: 221.4 MB / 342.8 MB, free: 5.492 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.001003/0.001003, allocations: 88.33 kB / 415.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.877e-06/8.897e-06, allocations: 4 kB / 493.9 MB, free: 8.113 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3317, allocations: 72.3 MB / 0.5529 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5665/0.8983, allocations: 382 MB / 0.926 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.8986, allocations: 82.64 kB / 0.926 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.683/3.581, allocations: 0.8764 GB / 1.802 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001426/3.581, allocations: 43.08 kB / 1.802 GB, free: 80.32 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.003288/3.585, allocations: 1.745 MB / 1.804 GB, free: 79.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/3.585, allocations: 10.38 kB / 1.804 GB, free: 79.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000789/3.586, allocations: 249.2 kB / 1.804 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/3.589, allocations: 1.73 MB / 1.806 GB, free: 79.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/3.589, allocations: 29.78 kB / 1.806 GB, free: 79.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/3.589, allocations: 61.69 kB / 1.806 GB, free: 79.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001199/3.59, allocations: 0.7014 MB / 1.807 GB, free: 79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/3.591, allocations: 0.8808 MB / 1.808 GB, free: 78.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/3.591, allocations: 3.797 kB / 1.808 GB, free: 78.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/3.591, allocations: 7.734 kB / 1.808 GB, free: 78.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/3.592, allocations: 39.09 kB / 1.808 GB, free: 78.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/3.597, allocations: 5.058 MB / 1.813 GB, free: 76.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/3.598, allocations: 470.4 kB / 1.813 GB, free: 76.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/3.598, allocations: 249 kB / 1.813 GB, free: 76.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004295/3.599, allocations: 0.8294 MB / 1.814 GB, free: 75.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/3.599, allocations: 41.25 kB / 1.814 GB, free: 75.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 1.913e-06/3.599, allocations: 0 / 1.814 GB, free: 75.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.004012/3.603, allocations: 1.04 MB / 1.815 GB, free: 75.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/3.603, allocations: 55.84 kB / 1.815 GB, free: 75.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/3.604, allocations: 0.89 MB / 1.816 GB, free: 74.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/3.604, allocations: 28.08 kB / 1.816 GB, free: 74.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/3.604, allocations: 445.3 kB / 1.817 GB, free: 74.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/3.604, allocations: 194.6 kB / 1.817 GB, free: 74.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/3.604, allocations: 1.781 kB / 1.817 GB, free: 74.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/3.605, allocations: 335.1 kB / 1.817 GB, free: 73.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/3.605, allocations: 198.6 kB / 1.817 GB, free: 73.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/3.605, allocations: 414.8 kB / 1.818 GB, free: 73.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/3.606, allocations: 282.5 kB / 1.818 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/3.606, allocations: 0 / 1.818 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004022/3.61, allocations: 1.182 MB / 1.819 GB, free: 73.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002463/3.61, allocations: 1.404 MB / 1.821 GB, free: 71.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/3.61, allocations: 3.938 kB / 1.821 GB, free: 71.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/3.61, allocations: 111.8 kB / 1.821 GB, free: 71.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/3.611, allocations: 164.4 kB / 1.821 GB, free: 71.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/3.612, allocations: 0.7928 MB / 1.822 GB, free: 70.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/3.613, allocations: 129.6 kB / 1.822 GB, free: 70.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/3.613, allocations: 39.19 kB / 1.822 GB, free: 70.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.76e-06/3.613, allocations: 5.156 kB / 1.822 GB, free: 70.93 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00384/3.617, allocations: 1.019 MB / 1.823 GB, free: 70.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/3.617, allocations: 2.781 kB / 1.823 GB, free: 70.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/3.618, allocations: 107.8 kB / 1.823 GB, free: 70.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/3.618, allocations: 158.1 kB / 1.823 GB, free: 70.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/3.619, allocations: 0.8107 MB / 1.824 GB, free: 70.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/3.62, allocations: 109 kB / 1.824 GB, free: 70.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/3.62, allocations: 39.28 kB / 1.824 GB, free: 70.09 MB / 0.6198 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.0002136/3.621, allocations: 130.1 kB / 1.824 GB, free: 69.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/3.621, allocations: 116.7 kB / 1.824 GB, free: 69.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/3.625, allocations: 1.176 MB / 1.825 GB, free: 69.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/3.625, allocations: 6.594 kB / 1.825 GB, free: 69.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/3.625, allocations: 7.672 kB / 1.825 GB, free: 69.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003692/3.629, allocations: 1.076 MB / 1.826 GB, free: 69.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005919/3.635, allocations: 2.373 MB / 1.829 GB, free: 68.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/3.635, allocations: 3.844 kB / 1.829 GB, free: 68.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/3.635, allocations: 126.1 kB / 1.829 GB, free: 68.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002843/3.635, allocations: 96.22 kB / 1.829 GB, free: 68.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/3.636, allocations: 19.23 kB / 1.829 GB, free: 68.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/3.639, allocations: 2.131 MB / 1.831 GB, free: 66.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/3.639, allocations: 2.906 kB / 1.831 GB, free: 66.74 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004515/3.643, allocations: 1.735 MB / 1.833 GB, free: 65.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/3.644, allocations: 311.5 kB / 1.833 GB, free: 65.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/3.644, allocations: 8.344 kB / 1.833 GB, free: 65.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/3.645, allocations: 70.97 kB / 1.833 GB, free: 65.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/3.645, allocations: 44.25 kB / 1.833 GB, free: 65.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/3.645, allocations: 35.34 kB / 1.833 GB, free: 65.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.000892/3.646, allocations: 0.6741 MB / 1.834 GB, free: 65.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00215/3.648, allocations: 0.7951 MB / 1.835 GB, free: 65.14 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/3.649, allocations: 0.7925 MB / 1.835 GB, free: 64.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002594/3.652, allocations: 1.058 MB / 1.836 GB, free: 64.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/3.652, allocations: 0 / 1.836 GB, free: 64.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/3.653, allocations: 497.8 kB / 1.837 GB, free: 64.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/3.655, allocations: 0.5458 MB / 1.837 GB, free: 64.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/3.658, allocations: 1.742 MB / 1.839 GB, free: 63.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/3.659, allocations: 1.307 MB / 1.84 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/3.659, allocations: 1.406 kB / 1.84 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.04376/3.703, allocations: 30.37 MB / 1.87 GB, free: 35.41 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)