Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") [: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.002335/0.002335, allocations: 173.1 kB / 7.457 MB, free: 2.176 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.602/0.602, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.158/1.158, allocations: 221.3 MB / 395 MB, free: 10.14 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.0008173/0.0008172, allocations: 101.9 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.103e-06, allocations: 3.531 kB / 0.5528 GB, free: 89.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 82.31 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.06/3.178, allocations: 2.146 GB / 2.78 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/3.179, allocations: 91.94 kB / 2.78 GB, free: 76.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.417/6.595, allocations: 1.244 GB / 4.024 GB, free: 63.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005507/6.596, allocations: 83.62 kB / 4.024 GB, free: 63.57 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.008294/6.604, allocations: 3.472 MB / 4.028 GB, free: 61.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/6.604, allocations: 6.438 kB / 4.028 GB, free: 61.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/6.607, allocations: 0.5268 MB / 4.028 GB, free: 61.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006067/6.613, allocations: 3.346 MB / 4.031 GB, free: 60.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/6.613, allocations: 72.12 kB / 4.031 GB, free: 60.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/6.613, allocations: 123.5 kB / 4.031 GB, free: 60.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00254/6.616, allocations: 1.748 MB / 4.033 GB, free: 60.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/6.618, allocations: 2.12 MB / 4.035 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/6.619, allocations: 2.625 kB / 4.035 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/6.619, allocations: 6.125 kB / 4.035 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/6.619, allocations: 69.64 kB / 4.035 GB, free: 60.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/6.63, allocations: 10.24 MB / 4.045 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/6.631, allocations: 1.328 MB / 4.047 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008903/6.632, allocations: 0.9131 MB / 4.048 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/6.633, allocations: 1.179 MB / 4.049 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/6.633, allocations: 53 kB / 4.049 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=113): time 3.607e-06/6.633, allocations: 0 / 4.049 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=115): time 0.006534/6.639, allocations: 4.249 MB / 4.053 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/6.639, allocations: 284.8 kB / 4.053 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/6.642, allocations: 2.588 MB / 4.056 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/6.642, allocations: 33.7 kB / 4.056 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/6.643, allocations: 0.8475 MB / 4.057 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/6.643, allocations: 378.1 kB / 4.057 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/6.643, allocations: 6.312 kB / 4.057 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/6.643, allocations: 356.3 kB / 4.057 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000974/6.644, allocations: 0.9926 MB / 4.058 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/6.646, allocations: 1.395 MB / 4.06 GB, free: 52.94 MB / 0.7136 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.00416/6.65, allocations: 2.554 MB / 4.062 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/6.65, allocations: 0 / 4.062 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003118/6.653, allocations: 2.582 MB / 4.065 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003383/6.653, allocations: 2.498 MB / 4.067 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/6.653, allocations: 7.469 kB / 4.067 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/6.653, allocations: 15.03 kB / 4.067 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/6.654, allocations: 277.2 kB / 4.067 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003087/6.655, allocations: 0.6288 MB / 4.068 GB, free: 49.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/6.656, allocations: 138 kB / 4.068 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/6.657, allocations: 75.75 kB / 4.068 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-06/6.657, allocations: 4.969 kB / 4.068 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002659/6.659, allocations: 2.27 MB / 4.07 GB, free: 49.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/6.659, allocations: 4.75 kB / 4.07 GB, free: 49.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/6.659, allocations: 15.62 kB / 4.07 GB, free: 49.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/6.66, allocations: 260.5 kB / 4.071 GB, free: 49.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/6.66, allocations: 16.2 kB / 4.071 GB, free: 49.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/6.662, allocations: 145.9 kB / 4.071 GB, free: 49.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/6.662, allocations: 71.78 kB / 4.071 GB, free: 49.13 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: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003214/6.662, allocations: 325.3 kB / 4.071 GB, free: 48.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/6.662, allocations: 283.5 kB / 4.071 GB, free: 48.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/6.665, allocations: 2.053 MB / 4.073 GB, free: 48.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/6.665, allocations: 19.36 kB / 4.073 GB, free: 48.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/6.665, allocations: 3.875 kB / 4.073 GB, free: 48.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001995/6.667, allocations: 1.871 MB / 4.075 GB, free: 48.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/6.673, allocations: 5.093 MB / 4.08 GB, free: 47.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/6.674, allocations: 8.781 kB / 4.08 GB, free: 47.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009314/6.674, allocations: 229.9 kB / 4.08 GB, free: 47.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/6.674, allocations: 10.34 kB / 4.08 GB, free: 47.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/6.675, allocations: 24.48 kB / 4.081 GB, free: 47.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002211/6.675, allocations: 0.6144 MB / 4.081 GB, free: 47.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/6.675, allocations: 7.469 kB / 4.081 GB, free: 47.21 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003604/6.678, allocations: 4.02 MB / 4.085 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/6.679, allocations: 0.658 MB / 4.086 GB, free: 45.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/6.68, allocations: 21.23 kB / 4.086 GB, free: 45.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/6.681, allocations: 137.4 kB / 4.086 GB, free: 45.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/6.681, allocations: 138.2 kB / 4.086 GB, free: 45.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.926e-05/6.681, allocations: 53.8 kB / 4.086 GB, free: 45.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.002209/6.684, allocations: 1.959 MB / 4.088 GB, free: 45.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002995/6.687, allocations: 1.325 MB / 4.089 GB, free: 45.58 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * 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 (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002929/6.69, allocations: 2.95 MB / 4.092 GB, free: 44.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004134/6.694, allocations: 4.058 MB / 4.096 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/6.694, allocations: 2.125 kB / 4.096 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/6.696, allocations: 1.689 MB / 4.098 GB, free: 41.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/6.7, allocations: 1.289 MB / 4.099 GB, free: 41.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/6.708, allocations: 4.861 MB / 4.104 GB, free: 39.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/6.71, allocations: 2.265 MB / 4.106 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of SimCode: time 1.213e-06/6.71, allocations: 0 / 4.106 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.09757/6.808, allocations: 73.47 MB / 4.178 GB, free: 7.574 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)