Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") [: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.003564/0.003564, allocations: 180.2 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7055/0.7055, allocations: 130.6 MB / 138.5 MB, free: 2.172 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 221.3 MB / 391.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 93.12 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.796e-06/8.827e-06, allocations: 1.562 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2058, allocations: 81.59 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.279/5.484, allocations: 2.146 GB / 2.774 GB, free: 242.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/5.485, allocations: 97.28 kB / 2.774 GB, free: 242.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.222/9.707, allocations: 1.248 GB / 4.022 GB, free: 6.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006877/9.708, allocations: 91.2 kB / 4.022 GB, free: 6.188 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01148/9.719, allocations: 3.636 MB / 4.026 GB, free: 2.449 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/9.719, allocations: 12.02 kB / 4.026 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/9.723, allocations: 0.5438 MB / 4.026 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009701/9.733, allocations: 3.466 MB / 4.03 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/9.733, allocations: 71.94 kB / 4.03 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008858/9.734, allocations: 128 kB / 4.03 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004842/9.739, allocations: 1.832 MB / 4.032 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006198/9.745, allocations: 2.256 MB / 4.034 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-05/9.745, allocations: 9.484 kB / 4.034 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003991/9.746, allocations: 11.94 kB / 4.034 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/9.746, allocations: 71.83 kB / 4.034 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0205/9.766, allocations: 10.93 MB / 4.044 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/9.769, allocations: 1.449 MB / 4.046 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/9.77, allocations: 0.971 MB / 4.047 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/9.771, allocations: 1.189 MB / 4.048 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/9.771, allocations: 47.56 kB / 4.048 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=126): time 3.566e-06/9.771, allocations: 3.031 kB / 4.048 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=132): time 0.0118/9.783, allocations: 4.639 MB / 4.053 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002222/9.783, allocations: 345.4 kB / 4.053 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007711/9.791, allocations: 2.655 MB / 4.056 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008429/9.792, allocations: 37.14 kB / 4.056 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001733/9.794, allocations: 0.8866 MB / 4.056 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/9.795, allocations: 437.5 kB / 4.057 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/9.796, allocations: 8 kB / 4.057 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003451/9.796, allocations: 357.9 kB / 4.057 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/9.798, allocations: 1.035 MB / 4.058 GB, free: 456 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.412/10.21, allocations: 1.454 MB / 4.06 GB, free: 115.4 MB / 0.7292 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006875/10.22, allocations: 3.775 MB / 4.063 GB, free: 114.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/10.22, allocations: 5.188 kB / 4.063 GB, free: 114.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004512/10.22, allocations: 2.785 MB / 4.066 GB, free: 114.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00044/10.22, allocations: 2.529 MB / 4.068 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/10.22, allocations: 6.531 kB / 4.068 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/10.22, allocations: 146.8 kB / 4.069 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/10.22, allocations: 268.5 kB / 4.069 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008118/10.22, allocations: 1.31 MB / 4.07 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/10.23, allocations: 170.5 kB / 4.07 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/10.23, allocations: 79.52 kB / 4.07 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/10.23, allocations: 5.406 kB / 4.07 GB, free: 111.2 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00359/10.23, allocations: 2.464 MB / 4.073 GB, free: 111.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/10.23, allocations: 6.375 kB / 4.073 GB, free: 111.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/10.23, allocations: 140.2 kB / 4.073 GB, free: 111.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/10.23, allocations: 264.8 kB / 4.073 GB, free: 111.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007786/10.23, allocations: 1.318 MB / 4.074 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/10.24, allocations: 162.5 kB / 4.075 GB, free: 110.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/10.24, allocations: 81.38 kB / 4.075 GB, free: 110.1 MB / 0.7292 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004823/10.24, allocations: 332.7 kB / 4.075 GB, free: 109.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/10.24, allocations: 298.5 kB / 4.075 GB, free: 109.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/10.24, allocations: 2.192 MB / 4.077 GB, free: 109.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/10.24, allocations: 22.19 kB / 4.077 GB, free: 109.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/10.24, allocations: 1.594 kB / 4.077 GB, free: 109.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00254/10.24, allocations: 1.976 MB / 4.079 GB, free: 109.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009756/10.25, allocations: 5.35 MB / 4.085 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/10.25, allocations: 5.719 kB / 4.085 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/10.25, allocations: 256 kB / 4.085 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/10.25, allocations: 12 kB / 4.085 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/10.26, allocations: 26.33 kB / 4.085 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/10.26, allocations: 11.69 kB / 4.085 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/10.26, allocations: 9.688 kB / 4.085 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005491/10.26, allocations: 4.223 MB / 4.089 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/10.26, allocations: 0.6839 MB / 4.09 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004691/10.26, allocations: 21.02 kB / 4.09 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/10.26, allocations: 147.1 kB / 4.09 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/10.27, allocations: 143.8 kB / 4.09 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/10.27, allocations: 59.89 kB / 4.09 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.003122/10.27, allocations: 2.014 MB / 4.092 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004553/10.27, allocations: 1.353 MB / 4.093 GB, free: 107.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004002/10.28, allocations: 2.948 MB / 4.096 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004992/10.28, allocations: 4.258 MB / 4.1 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/10.28, allocations: 2.25 kB / 4.1 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/10.28, allocations: 1.723 MB / 4.102 GB, free: 105.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006877/10.29, allocations: 1.326 MB / 4.103 GB, free: 105.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/10.3, allocations: 5.263 MB / 4.109 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002255/10.3, allocations: 2.355 MB / 4.111 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/10.3, allocations: 0 / 4.111 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.124/10.43, allocations: 76.83 MB / 4.186 GB, free: 99.79 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)