Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001031/0.001031, allocations: 191.5 kB / 7.807 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.44/0.44, allocations: 90.85 MB / 99.08 MB, free: 14.93 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.247/1.247, allocations: 221.4 MB / 342.8 MB, free: 5.199 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.0009756/0.0009757, allocations: 94.14 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.552e-06, allocations: 0 / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3788, allocations: 72.3 MB / 0.5529 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.713/4.092, allocations: 2.137 GB / 2.69 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/4.092, allocations: 99.03 kB / 2.69 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.921/8.013, allocations: 1.252 GB / 3.942 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003929/8.014, allocations: 87.72 kB / 3.942 GB, free: 45.77 MB / 0.6355 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.007619/8.021, allocations: 3.64 MB / 3.946 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/8.021, allocations: 11.06 kB / 3.946 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/8.024, allocations: 0.5444 MB / 3.946 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007072/8.031, allocations: 3.459 MB / 3.95 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/8.031, allocations: 67.03 kB / 3.95 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/8.031, allocations: 142 kB / 3.95 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003165/8.035, allocations: 1.834 MB / 3.952 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/8.038, allocations: 2.251 MB / 3.954 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/8.038, allocations: 3.719 kB / 3.954 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/8.038, allocations: 3.719 kB / 3.954 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/8.038, allocations: 79.86 kB / 3.954 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/8.053, allocations: 11.03 MB / 3.965 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/8.055, allocations: 1.108 MB / 3.966 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/8.056, allocations: 0.9689 MB / 3.967 GB, free: 35.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/8.056, allocations: 1.188 MB / 3.968 GB, free: 34.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/8.056, allocations: 48.25 kB / 3.968 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=126): time 3.636e-06/8.056, allocations: 1.422 kB / 3.968 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=134): time 0.008793/8.065, allocations: 4.694 MB / 3.973 GB, free: 32.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/8.065, allocations: 340.9 kB / 3.973 GB, free: 31.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/8.069, allocations: 2.655 MB / 3.975 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/8.069, allocations: 36.58 kB / 3.976 GB, free: 30.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/8.07, allocations: 0.8957 MB / 3.976 GB, free: 29.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/8.07, allocations: 439.3 kB / 3.977 GB, free: 29.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/8.07, allocations: 2.969 kB / 3.977 GB, free: 29.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/8.071, allocations: 366.3 kB / 3.977 GB, free: 29.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/8.072, allocations: 1.036 MB / 3.978 GB, free: 28.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/8.073, allocations: 1.462 MB / 3.98 GB, free: 27.98 MB / 0.6355 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.006235/8.079, allocations: 3.793 MB / 3.983 GB, free: 26.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/8.08, allocations: 3.719 kB / 3.983 GB, free: 26.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004352/8.084, allocations: 2.806 MB / 3.986 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005165/8.084, allocations: 2.524 MB / 3.989 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/8.084, allocations: 7.594 kB / 3.989 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/8.085, allocations: 143 kB / 3.989 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/8.086, allocations: 268.9 kB / 3.989 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008114/8.087, allocations: 1.31 MB / 3.99 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/8.089, allocations: 181.8 kB / 3.99 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/8.089, allocations: 85.52 kB / 3.99 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/8.089, allocations: 2.688 kB / 3.99 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003608/8.093, allocations: 2.484 MB / 3.993 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/8.093, allocations: 6.375 kB / 3.993 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/8.093, allocations: 141.4 kB / 3.993 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/8.094, allocations: 263.6 kB / 3.993 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007792/8.095, allocations: 1.314 MB / 3.995 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/8.098, allocations: 176.1 kB / 3.995 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004558/8.098, allocations: 79.86 kB / 3.995 GB, free: 18.14 MB / 0.6355 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 (159): * Single equations (assignments): 145 * 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.0004663/8.099, allocations: 328.1 kB / 3.995 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/8.1, allocations: 303.8 kB / 3.995 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/8.103, allocations: 2.205 MB / 3.998 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/8.103, allocations: 15.91 kB / 3.998 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/8.103, allocations: 4 kB / 3.998 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002393/8.106, allocations: 1.991 MB / 4 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009173/8.115, allocations: 5.412 MB / 4.005 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/8.115, allocations: 4 kB / 4.005 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/8.116, allocations: 259 kB / 4.005 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/8.116, allocations: 12 kB / 4.005 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-05/8.116, allocations: 31.06 kB / 4.005 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/8.116, allocations: 19.64 kB / 4.005 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/8.116, allocations: 11.94 kB / 4.005 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004623/8.121, allocations: 4.209 MB / 4.009 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/8.122, allocations: 0.6851 MB / 4.01 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004566/8.123, allocations: 21.34 kB / 4.01 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/8.125, allocations: 152.3 kB / 4.01 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/8.125, allocations: 145.1 kB / 4.01 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/8.125, allocations: 55.97 kB / 4.01 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.002872/8.128, allocations: 2.019 MB / 4.012 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003819/8.132, allocations: 1.351 MB / 4.014 GB, free: 304 kB / 0.6355 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.medium.Xi[1],vol.dynBal.U,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 (132): * Single equations (assignments): 122 * 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.00407/8.136, allocations: 2.962 MB / 4.016 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005635/8.141, allocations: 4.275 MB / 4.021 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/8.141, allocations: 0 / 4.021 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/8.144, allocations: 1.726 MB / 4.022 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005951/8.15, allocations: 1.337 MB / 4.024 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/8.16, allocations: 5.279 MB / 4.029 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002476/8.162, allocations: 2.356 MB / 4.031 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of SimCode: time 8.21e-07/8.162, allocations: 0 / 4.031 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of Templates: time 0.3796/8.542, allocations: 76.96 MB / 4.106 GB, free: 115.6 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)