Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002028/0.002028, allocations: 179.1 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6007/0.6007, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.129/1.129, allocations: 221.3 MB / 395 MB, free: 10.16 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.0008276/0.0008275, allocations: 101.2 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.692e-06, allocations: 2.594 kB / 0.5528 GB, free: 89.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 82.32 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.032/3.152, allocations: 2.147 GB / 2.78 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/3.152, allocations: 95.94 kB / 2.78 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.257/6.409, allocations: 1.248 GB / 4.028 GB, free: 63.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003889/6.409, allocations: 85.45 kB / 4.028 GB, free: 63.37 MB / 0.7136 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.006759/6.416, allocations: 3.626 MB / 4.031 GB, free: 61.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/6.416, allocations: 9.531 kB / 4.031 GB, free: 61.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/6.418, allocations: 0.5479 MB / 4.032 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006185/6.424, allocations: 3.46 MB / 4.035 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/6.424, allocations: 68.31 kB / 4.035 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/6.425, allocations: 139.1 kB / 4.036 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002932/6.428, allocations: 1.835 MB / 4.037 GB, free: 60.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/6.431, allocations: 2.245 MB / 4.04 GB, free: 60.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/6.431, allocations: 8.125 kB / 4.04 GB, free: 60.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/6.431, allocations: 9.656 kB / 4.04 GB, free: 60.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/6.431, allocations: 73.56 kB / 4.04 GB, free: 60.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/6.442, allocations: 10.94 MB / 4.05 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/6.444, allocations: 1.451 MB / 4.052 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/6.445, allocations: 0.971 MB / 4.053 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007851/6.446, allocations: 1.184 MB / 4.054 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/6.446, allocations: 48.56 kB / 4.054 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 3.737e-06/6.446, allocations: 3.562 kB / 4.054 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132): time 0.007909/6.454, allocations: 4.652 MB / 4.058 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/6.454, allocations: 342.5 kB / 4.059 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/6.458, allocations: 2.661 MB / 4.061 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/6.458, allocations: 33.14 kB / 4.061 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005402/6.459, allocations: 0.882 MB / 4.062 GB, free: 52.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/6.459, allocations: 434.7 kB / 4.063 GB, free: 52.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/6.459, allocations: 3.281 kB / 4.063 GB, free: 52.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.382e-05/6.459, allocations: 372.5 kB / 4.063 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/6.46, allocations: 1.026 MB / 4.064 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/6.462, allocations: 1.455 MB / 4.065 GB, free: 51.96 MB / 0.7136 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.00578/6.467, allocations: 3.792 MB / 4.069 GB, free: 51.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/6.467, allocations: 1.75 kB / 4.069 GB, free: 51.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003892/6.471, allocations: 2.788 MB / 4.072 GB, free: 51.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003899/6.472, allocations: 2.519 MB / 4.074 GB, free: 48.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/6.472, allocations: 7.469 kB / 4.074 GB, free: 48.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003659/6.472, allocations: 145.9 kB / 4.075 GB, free: 48.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009855/6.473, allocations: 263.2 kB / 4.075 GB, free: 48.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007696/6.474, allocations: 1.316 MB / 4.076 GB, free: 47.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/6.476, allocations: 168.2 kB / 4.076 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/6.476, allocations: 83.66 kB / 4.076 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/6.476, allocations: 3.938 kB / 4.076 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003221/6.48, allocations: 2.454 MB / 4.079 GB, free: 47.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/6.48, allocations: 6.062 kB / 4.079 GB, free: 47.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/6.48, allocations: 145.1 kB / 4.079 GB, free: 47.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/6.481, allocations: 270.1 kB / 4.079 GB, free: 47.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007185/6.482, allocations: 1.314 MB / 4.08 GB, free: 46.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/6.484, allocations: 166.5 kB / 4.081 GB, free: 46.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/6.484, allocations: 76.02 kB / 4.081 GB, free: 46.35 MB / 0.7136 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.0004145/6.484, allocations: 350 kB / 4.081 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005841/6.485, allocations: 294.2 kB / 4.081 GB, free: 45.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/6.488, allocations: 2.192 MB / 4.083 GB, free: 45.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/6.488, allocations: 16.61 kB / 4.083 GB, free: 45.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/6.488, allocations: 0 / 4.083 GB, free: 45.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002361/6.491, allocations: 1.977 MB / 4.085 GB, free: 45.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00851/6.499, allocations: 5.348 MB / 4.091 GB, free: 44.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/6.499, allocations: 5.906 kB / 4.091 GB, free: 44.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/6.5, allocations: 249.8 kB / 4.091 GB, free: 44.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/6.501, allocations: 18.22 kB / 4.091 GB, free: 44.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/6.501, allocations: 24.98 kB / 4.091 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/6.501, allocations: 13.03 kB / 4.091 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/6.501, allocations: 9.938 kB / 4.091 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004903/6.506, allocations: 4.22 MB / 4.095 GB, free: 41.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/6.507, allocations: 0.6824 MB / 4.096 GB, free: 41.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008338/6.508, allocations: 25.33 kB / 4.096 GB, free: 41.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/6.51, allocations: 144.5 kB / 4.096 GB, free: 41.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/6.511, allocations: 139.1 kB / 4.096 GB, free: 41.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/6.511, allocations: 68.55 kB / 4.096 GB, free: 41.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.004088/6.515, allocations: 2.01 MB / 4.098 GB, free: 40.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005522/6.52, allocations: 1.355 MB / 4.099 GB, free: 40.02 MB / 0.7136 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.004246/6.525, allocations: 2.955 MB / 4.102 GB, free: 38.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004869/6.529, allocations: 4.261 MB / 4.106 GB, free: 36.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/6.529, allocations: 2.531 kB / 4.106 GB, free: 36.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/6.531, allocations: 1.717 MB / 4.108 GB, free: 35.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006378/6.538, allocations: 1.331 MB / 4.109 GB, free: 35.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/6.55, allocations: 5.25 MB / 4.114 GB, free: 33.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00281/6.553, allocations: 2.361 MB / 4.117 GB, free: 32.75 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/6.553, allocations: 3.938 kB / 4.117 GB, free: 32.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.1086/6.661, allocations: 76.83 MB / 4.192 GB, free: 4.582 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)