Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") [: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.001131/0.001131, allocations: 184.9 kB / 7.801 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4761/0.4761, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.257/1.257, allocations: 221.4 MB / 342.8 MB, free: 5.223 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.000919/0.000919, allocations: 90.75 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.083e-06, allocations: 0 / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.371, allocations: 72.3 MB / 0.5529 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6082/0.9792, allocations: 375.9 MB / 0.92 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.9796, allocations: 108.3 kB / 0.9201 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.305/2.285, allocations: 369.1 MB / 1.281 GB, free: 92.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001912/2.285, allocations: 26.84 kB / 1.281 GB, free: 92.12 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003699/2.289, allocations: 1.438 MB / 1.282 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/2.289, allocations: 6.938 kB / 1.282 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000737/2.289, allocations: 134.4 kB / 1.282 GB, free: 91.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/2.292, allocations: 1.188 MB / 1.283 GB, free: 90.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/2.293, allocations: 19.31 kB / 1.283 GB, free: 90.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/2.293, allocations: 42 kB / 1.283 GB, free: 90.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001192/2.294, allocations: 0.5359 MB / 1.284 GB, free: 90.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/2.295, allocations: 0.6944 MB / 1.285 GB, free: 90.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/2.295, allocations: 0.8438 kB / 1.285 GB, free: 90.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/2.295, allocations: 3.906 kB / 1.285 GB, free: 90.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/2.295, allocations: 15.34 kB / 1.285 GB, free: 90.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/2.3, allocations: 3.302 MB / 1.288 GB, free: 89.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/2.301, allocations: 410.1 kB / 1.288 GB, free: 89.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/2.301, allocations: 281.4 kB / 1.288 GB, free: 89.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/2.302, allocations: 0.7719 MB / 1.289 GB, free: 88.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/2.302, allocations: 43.78 kB / 1.289 GB, free: 88.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 3.447e-06/2.302, allocations: 0 / 1.289 GB, free: 88.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001317/2.303, allocations: 0.6493 MB / 1.29 GB, free: 88.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/2.303, allocations: 146.4 kB / 1.29 GB, free: 88.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000979/2.304, allocations: 0.8096 MB / 1.291 GB, free: 88.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/2.304, allocations: 25.7 kB / 1.291 GB, free: 88.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/2.304, allocations: 338.1 kB / 1.291 GB, free: 87.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/2.305, allocations: 119.8 kB / 1.291 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/2.305, allocations: 0 / 1.291 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/2.305, allocations: 328.1 kB / 1.292 GB, free: 87.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/2.305, allocations: 315.9 kB / 1.292 GB, free: 87.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/2.305, allocations: 422.4 kB / 1.292 GB, free: 87.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/2.306, allocations: 392.7 kB / 1.293 GB, free: 87.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/2.306, allocations: 0 / 1.293 GB, free: 87.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001366/2.308, allocations: 0.881 MB / 1.294 GB, free: 87.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/2.308, allocations: 0.7102 MB / 1.294 GB, free: 86.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/2.308, allocations: 0 / 1.294 GB, free: 86.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/2.308, allocations: 3.969 kB / 1.294 GB, free: 86.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/2.308, allocations: 92.05 kB / 1.294 GB, free: 86.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/2.308, allocations: 7.812 kB / 1.294 GB, free: 86.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/2.309, allocations: 75.95 kB / 1.294 GB, free: 86.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/2.309, allocations: 29.47 kB / 1.294 GB, free: 86.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/2.309, allocations: 3.906 kB / 1.294 GB, free: 86.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001235/2.31, allocations: 0.7617 MB / 1.295 GB, free: 86.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/2.31, allocations: 0 / 1.295 GB, free: 86.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-06/2.31, allocations: 3.812 kB / 1.295 GB, free: 86.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/2.311, allocations: 96.42 kB / 1.295 GB, free: 86.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/2.311, allocations: 5.969 kB / 1.295 GB, free: 86.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/2.311, allocations: 66.56 kB / 1.295 GB, free: 86.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/2.311, allocations: 28.88 kB / 1.295 GB, free: 86.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001793/2.311, allocations: 209.4 kB / 1.296 GB, free: 86.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/2.312, allocations: 88.59 kB / 1.296 GB, free: 86.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/2.313, allocations: 0.814 MB / 1.296 GB, free: 86.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/2.313, allocations: 6.625 kB / 1.296 GB, free: 86.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/2.313, allocations: 0 / 1.296 GB, free: 86.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/2.314, allocations: 0.8833 MB / 1.297 GB, free: 85.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/2.317, allocations: 1.892 MB / 1.299 GB, free: 85.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/2.317, allocations: 3.906 kB / 1.299 GB, free: 85.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/2.317, allocations: 70.78 kB / 1.299 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/2.317, allocations: 3.906 kB / 1.299 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/2.317, allocations: 10.33 kB / 1.299 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/2.317, allocations: 3.906 kB / 1.299 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.317, allocations: 7.844 kB / 1.299 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001671/2.319, allocations: 1.373 MB / 1.301 GB, free: 84.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/2.319, allocations: 284.6 kB / 1.301 GB, free: 84.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/2.32, allocations: 3.906 kB / 1.301 GB, free: 84.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/2.32, allocations: 48.19 kB / 1.301 GB, free: 84.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/2.32, allocations: 45.19 kB / 1.301 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/2.32, allocations: 22.95 kB / 1.301 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007481/2.321, allocations: 0.6247 MB / 1.302 GB, free: 84.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001815/2.323, allocations: 0.5717 MB / 1.302 GB, free: 84.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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.001244/2.324, allocations: 0.736 MB / 1.303 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001505/2.326, allocations: 1.403 MB / 1.304 GB, free: 83.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/2.326, allocations: 3.875 kB / 1.304 GB, free: 83.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004637/2.326, allocations: 457.3 kB / 1.305 GB, free: 82.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/2.328, allocations: 392 kB / 1.305 GB, free: 82.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/2.33, allocations: 1.493 MB / 1.307 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/2.331, allocations: 1.167 MB / 1.308 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/2.331, allocations: 0 / 1.308 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.03563/2.367, allocations: 22.84 MB / 1.33 GB, free: 75.03 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)