Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.281/0.281, allocations: 54.39 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002069/0.00207, allocations: 182.2 kB / 75.37 MB, free: 1.469 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.717/1.717, allocations: 194.2 MB / 283.2 MB, free: 3.492 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001875/0.001875, allocations: 106.8 kB / 341.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.163e-06, allocations: 0 / 405 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.149, allocations: 57.64 MB / 462.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.882/5.031, allocations: 2.394 GB / 2.846 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/5.031, allocations: 95.94 kB / 2.846 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.505/9.536, allocations: 1.091 GB / 3.937 GB, free: 42.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0006156/9.537, allocations: 73.95 kB / 3.938 GB, free: 42.01 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.01114/9.548, allocations: 3.6 MB / 3.941 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/9.548, allocations: 15.09 kB / 3.941 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/9.552, allocations: 0.5295 MB / 3.942 GB, free: 39.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02169/9.574, allocations: 7.563 MB / 3.949 GB, free: 39.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/9.574, allocations: 68.97 kB / 3.949 GB, free: 39.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/9.575, allocations: 138 kB / 3.949 GB, free: 39.09 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006062/9.581, allocations: 1.877 MB / 3.951 GB, free: 39.07 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007728/9.589, allocations: 2.402 MB / 3.953 GB, free: 38.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/9.589, allocations: 8.812 kB / 3.953 GB, free: 38.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007673/9.59, allocations: 9.438 kB / 3.953 GB, free: 38.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/9.59, allocations: 83.75 kB / 3.953 GB, free: 38.65 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02386/9.614, allocations: 11.65 MB / 3.965 GB, free: 33.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/9.616, allocations: 0.932 MB / 3.966 GB, free: 33.65 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/9.617, allocations: 0.852 MB / 3.967 GB, free: 33.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/9.618, allocations: 346.3 kB / 3.967 GB, free: 33.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.231e-05/9.618, allocations: 51.62 kB / 3.967 GB, free: 33.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=104): time 7.695e-06/9.618, allocations: 0 / 3.967 GB, free: 33.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=108): time 0.01142/9.629, allocations: 4.23 MB / 3.971 GB, free: 32.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/9.63, allocations: 417.3 kB / 3.971 GB, free: 31.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005863/9.635, allocations: 2.653 MB / 3.974 GB, free: 31.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004722/9.636, allocations: 29.08 kB / 3.974 GB, free: 31.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007143/9.637, allocations: 0.9987 MB / 3.975 GB, free: 31.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/9.637, allocations: 359.1 kB / 3.975 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/9.637, allocations: 4.688 kB / 3.975 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001419/9.637, allocations: 367.7 kB / 3.976 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/9.639, allocations: 1.028 MB / 3.977 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/9.64, allocations: 1.542 MB / 3.978 GB, free: 29.92 MB / 0.5417 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.006423/9.647, allocations: 3.697 MB / 3.982 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/9.647, allocations: 3.375 kB / 3.982 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004736/9.652, allocations: 2.734 MB / 3.985 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001014/9.653, allocations: 4.6 MB / 3.989 GB, free: 24.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/9.653, allocations: 10.78 kB / 3.989 GB, free: 24.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.9e-05/9.653, allocations: 19.5 kB / 3.989 GB, free: 24.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/9.655, allocations: 407.8 kB / 3.989 GB, free: 24.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007194/9.656, allocations: 0.676 MB / 3.99 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/9.659, allocations: 177.1 kB / 3.99 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/9.659, allocations: 75.67 kB / 3.99 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/9.659, allocations: 3.844 kB / 3.99 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004659/9.664, allocations: 2.387 MB / 3.993 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/9.664, allocations: 12.88 kB / 3.993 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/9.664, allocations: 18 kB / 3.993 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/9.665, allocations: 293.2 kB / 3.993 GB, free: 23.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.324e-05/9.665, allocations: 28.22 kB / 3.993 GB, free: 23.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/9.669, allocations: 146.6 kB / 3.993 GB, free: 23.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/9.669, allocations: 71.38 kB / 3.993 GB, free: 23.73 MB / 0.5417 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: 48 * 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 (180): * Single equations (assignments): 167 * 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.0009664/9.67, allocations: 344.2 kB / 3.994 GB, free: 23.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/9.671, allocations: 294.6 kB / 3.994 GB, free: 23.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004555/9.676, allocations: 2.01 MB / 3.996 GB, free: 23.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/9.676, allocations: 10.66 kB / 3.996 GB, free: 23.12 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/9.676, allocations: 0 / 3.996 GB, free: 23.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002649/9.679, allocations: 1.846 MB / 3.998 GB, free: 22.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/9.692, allocations: 5.065 MB / 4.003 GB, free: 22.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/9.692, allocations: 3.594 kB / 4.003 GB, free: 22.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/9.694, allocations: 298.2 kB / 4.003 GB, free: 22.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/9.694, allocations: 74.62 kB / 4.003 GB, free: 22.17 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/9.695, allocations: 27.31 kB / 4.003 GB, free: 22.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/9.697, allocations: 2.567 MB / 4.005 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/9.697, allocations: 5.094 kB / 4.005 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00547/9.702, allocations: 3.854 MB / 4.009 GB, free: 18.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/9.705, allocations: 0.6518 MB / 4.01 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/9.706, allocations: 23.31 kB / 4.01 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/9.708, allocations: 144.7 kB / 4.01 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/9.709, allocations: 129.2 kB / 4.01 GB, free: 18.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/9.709, allocations: 63.86 kB / 4.01 GB, free: 18.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.007025/9.716, allocations: 1.986 MB / 4.012 GB, free: 17.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009987/9.726, allocations: 1.35 MB / 4.013 GB, free: 17.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006782/9.733, allocations: 2.868 MB / 4.016 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009349/9.742, allocations: 4.301 MB / 4.02 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/9.742, allocations: 10.73 kB / 4.021 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004374/9.747, allocations: 1.763 MB / 4.022 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009038/9.756, allocations: 1.302 MB / 4.023 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/9.775, allocations: 4.953 MB / 4.028 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005644/9.781, allocations: 2.31 MB / 4.031 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of SimCode: time 1.734e-06/9.781, allocations: 4 kB / 4.031 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of Templates: time 0.5241/10.3, allocations: 75.08 MB / 4.104 GB, free: 83.59 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)