Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") [: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.001032/0.001032, allocations: 191 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.4348/0.4348, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.196/1.196, allocations: 221.4 MB / 342.8 MB, free: 5.172 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.0009586/0.0009591, allocations: 93.77 kB / 415.5 MB, free: 9.809 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.496e-06/8.226e-06, allocations: 0 / 493.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3287, allocations: 72.3 MB / 0.5529 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6315/0.9602, allocations: 386 MB / 0.9299 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.9605, allocations: 88.39 kB / 0.93 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.845/2.805, allocations: 0.6499 GB / 1.58 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001685/2.805, allocations: 34.28 kB / 1.58 GB, free: 60.46 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003524/2.809, allocations: 1.491 MB / 1.581 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/2.809, allocations: 8.031 kB / 1.581 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/2.811, allocations: 0.4886 MB / 1.582 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/2.814, allocations: 1.317 MB / 1.583 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/2.815, allocations: 106.3 kB / 1.583 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/2.815, allocations: 48 kB / 1.583 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/2.816, allocations: 0.6249 MB / 1.584 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/2.817, allocations: 0.758 MB / 1.585 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/2.817, allocations: 7.938 kB / 1.585 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/2.817, allocations: 0 / 1.585 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/2.817, allocations: 30 kB / 1.585 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00635/2.824, allocations: 4.775 MB / 1.589 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/2.826, allocations: 0.6859 MB / 1.59 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/2.827, allocations: 200.6 kB / 1.59 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/2.827, allocations: 0.9074 MB / 1.591 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/2.827, allocations: 34.56 kB / 1.591 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.974e-06/2.827, allocations: 0 / 1.591 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.002906/2.83, allocations: 0.7772 MB / 1.592 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/2.83, allocations: 62.23 kB / 1.592 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009692/2.831, allocations: 0.743 MB / 1.593 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/2.831, allocations: 29.7 kB / 1.593 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/2.831, allocations: 391.4 kB / 1.593 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.762e-05/2.831, allocations: 141.9 kB / 1.593 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/2.831, allocations: 0 / 1.593 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.558e-05/2.831, allocations: 329.8 kB / 1.594 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/2.832, allocations: 173 kB / 1.594 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/2.832, allocations: 412.7 kB / 1.594 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/2.833, allocations: 267.5 kB / 1.594 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/2.833, allocations: 0 / 1.594 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002893/2.836, allocations: 0.942 MB / 1.595 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/2.836, allocations: 1.662 MB / 1.597 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/2.836, allocations: 4 kB / 1.597 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/2.837, allocations: 236.1 kB / 1.597 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/2.837, allocations: 119.9 kB / 1.597 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008747/2.838, allocations: 0.8839 MB / 1.598 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/2.839, allocations: 179.5 kB / 1.598 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/2.839, allocations: 35.97 kB / 1.598 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/2.839, allocations: 4 kB / 1.598 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002671/2.842, allocations: 0.8196 MB / 1.599 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/2.842, allocations: 4 kB / 1.599 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/2.843, allocations: 235.5 kB / 1.599 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/2.843, allocations: 123.8 kB / 1.599 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007955/2.844, allocations: 0.8675 MB / 1.6 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/2.845, allocations: 151.7 kB / 1.6 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/2.845, allocations: 31.98 kB / 1.6 GB, free: 38.67 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.000146/2.845, allocations: 121 kB / 1.601 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/2.845, allocations: 102.8 kB / 1.601 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/2.848, allocations: 0.9503 MB / 1.602 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/2.848, allocations: 17.17 kB / 1.602 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/2.848, allocations: 0 / 1.602 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/2.848, allocations: 3.906 kB / 1.602 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/2.852, allocations: 1.916 MB / 1.604 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/2.852, allocations: 0 / 1.604 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/2.853, allocations: 75.8 kB / 1.604 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006053/2.853, allocations: 240.6 kB / 1.604 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/2.853, allocations: 15.92 kB / 1.604 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008348/2.854, allocations: 0.9039 MB / 1.605 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.854, allocations: 4 kB / 1.605 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002719/2.857, allocations: 1.133 MB / 1.606 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/2.857, allocations: 271.6 kB / 1.606 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/2.858, allocations: 0 / 1.606 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/2.858, allocations: 103.9 kB / 1.606 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/2.859, allocations: 35.86 kB / 1.606 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/2.859, allocations: 23.98 kB / 1.606 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006508/2.859, allocations: 0.5638 MB / 1.607 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001669/2.861, allocations: 0.6235 MB / 1.607 GB, free: 31.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/2.862, allocations: 0.6688 MB / 1.608 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001447/2.864, allocations: 0.8064 MB / 1.609 GB, free: 29.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.864, allocations: 0 / 1.609 GB, free: 29.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004295/2.864, allocations: 257.7 kB / 1.609 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/2.866, allocations: 391.5 kB / 1.609 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/2.871, allocations: 1.623 MB / 1.611 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007987/2.872, allocations: 1.16 MB / 1.612 GB, free: 26.48 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/2.872, allocations: 0 / 1.612 GB, free: 26.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.03677/2.909, allocations: 25.53 MB / 1.637 GB, free: 1.449 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)