Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") [: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/BuildSysPro 3.5.0/package.mo): time 0.7353/0.7353, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 181.3 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 89.66 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.582e-05, allocations: 4 kB / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2384, allocations: 76.75 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.635/5.874, allocations: 2.448 GB / 3.069 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/5.874, allocations: 103.9 kB / 3.07 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 18.72/24.6, allocations: 4.356 GB / 7.425 GB, free: 48.28 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.002059/24.6, allocations: 192.3 kB / 7.426 GB, free: 48.25 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.03203/24.63, allocations: 8.159 MB / 7.433 GB, free: 44.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/24.63, allocations: 9.75 kB / 7.433 GB, free: 44.09 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/24.64, allocations: 1.572 MB / 7.435 GB, free: 43.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05793/24.7, allocations: 18.08 MB / 7.453 GB, free: 42.14 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005307/24.7, allocations: 154.7 kB / 7.453 GB, free: 42.14 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/24.7, allocations: 294.2 kB / 7.453 GB, free: 42.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01416/24.72, allocations: 4.223 MB / 7.457 GB, free: 42.12 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/24.74, allocations: 5.148 MB / 7.462 GB, free: 41.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003363/24.74, allocations: 13.22 kB / 7.462 GB, free: 41.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002096/24.74, allocations: 13.59 kB / 7.462 GB, free: 41.44 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/24.74, allocations: 184.4 kB / 7.462 GB, free: 41.43 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06238/24.8, allocations: 28.13 MB / 7.49 GB, free: 29.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00585/24.81, allocations: 2.828 MB / 7.493 GB, free: 28.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/24.81, allocations: 1.757 MB / 7.494 GB, free: 28.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02108/24.83, allocations: 7.034 MB / 7.501 GB, free: 26.29 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.627e-05/24.83, allocations: 60.25 kB / 7.501 GB, free: 26.25 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=197): time 7.334e-06/24.83, allocations: 0 / 7.501 GB, free: 26.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197): time 0.01348/24.85, allocations: 4.185 MB / 7.505 GB, free: 25.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/24.85, allocations: 417.3 kB / 7.506 GB, free: 25.37 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02052/24.87, allocations: 6.45 MB / 7.512 GB, free: 24.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001077/24.87, allocations: 39.58 kB / 7.512 GB, free: 24.87 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.004174/24.87, allocations: 2.256 MB / 7.514 GB, free: 23.78 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002363/24.87, allocations: 0.6492 MB / 7.515 GB, free: 23.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/24.88, allocations: 6.812 kB / 7.515 GB, free: 23.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005466/24.88, allocations: 442.5 kB / 7.515 GB, free: 23.05 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005389/24.88, allocations: 2.134 MB / 7.518 GB, free: 23.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00622/24.89, allocations: 3.577 MB / 7.521 GB, free: 21.33 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/24.9, allocations: 2.682 MB / 7.524 GB, free: 21.28 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-05/24.9, allocations: 9.75 kB / 7.524 GB, free: 21.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01735/24.91, allocations: 6.196 MB / 7.53 GB, free: 20.81 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005106/24.92, allocations: 19.14 MB / 7.548 GB, free: 16.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/24.92, allocations: 33.72 kB / 7.548 GB, free: 16.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/24.92, allocations: 60.53 kB / 7.548 GB, free: 16.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/24.92, allocations: 0.7469 MB / 7.549 GB, free: 16.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001132/24.92, allocations: 76.19 kB / 7.549 GB, free: 16.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008717/24.93, allocations: 0.615 MB / 7.55 GB, free: 16.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/24.93, allocations: 210.4 kB / 7.55 GB, free: 16.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/24.93, allocations: 5.594 kB / 7.55 GB, free: 16.59 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01594/24.95, allocations: 5.326 MB / 7.555 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/24.95, allocations: 34.88 kB / 7.555 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-05/24.95, allocations: 57.75 kB / 7.555 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/24.95, allocations: 0.7286 MB / 7.556 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001036/24.95, allocations: 74.95 kB / 7.556 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00832/24.96, allocations: 0.4904 MB / 7.557 GB, free: 16.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/24.96, allocations: 208.3 kB / 7.557 GB, free: 16.37 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (390): * Single equations (assignments): 362 * Array equations: 4 * Algorithm blocks: 24 * 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.002512/24.96, allocations: 0.5757 MB / 7.557 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003544/24.97, allocations: 0.6851 MB / 7.558 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/24.98, allocations: 4.523 MB / 7.562 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.845e-05/24.98, allocations: 20.25 kB / 7.562 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/24.98, allocations: 0 / 7.562 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007717/24.99, allocations: 3.491 MB / 7.566 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03332/25.02, allocations: 9.668 MB / 7.575 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/25.02, allocations: 3.969 kB / 7.575 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/25.03, allocations: 407.2 kB / 7.576 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-05/25.03, allocations: 11.72 kB / 7.576 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005166/25.03, allocations: 49.08 kB / 7.576 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.269e-05/25.03, allocations: 13 kB / 7.576 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/25.03, allocations: 0.5625 kB / 7.576 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01416/25.04, allocations: 7.084 MB / 7.583 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006298/25.05, allocations: 1.358 MB / 7.584 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004064/25.05, allocations: 24.41 kB / 7.584 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007019/25.06, allocations: 308.2 kB / 7.584 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009828/25.06, allocations: 241.8 kB / 7.585 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007726/25.06, allocations: 109.7 kB / 7.585 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0152/25.08, allocations: 4.874 MB / 7.589 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02392/25.1, allocations: 3.737 MB / 7.593 GB, free: 12.03 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U,beaCooHea10.conCoo.hex.vol.dynBal.U,beaCooHea10.conHea.hex.vol.dynBal.U) * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 12 * 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.016/25.12, allocations: 7.143 MB / 7.6 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01923/25.14, allocations: 8.769 MB / 7.609 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.859e-05/25.14, allocations: 2.844 kB / 7.609 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00522/25.14, allocations: 2.605 MB / 7.611 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02271/25.16, allocations: 3.122 MB / 7.614 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04014/25.2, allocations: 10.97 MB / 7.625 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01064/25.21, allocations: 4.702 MB / 7.63 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/25.21, allocations: 0 / 7.63 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of Templates: time 0.9488/26.16, allocations: 173.9 MB / 7.799 GB, free: 102.5 MB / 0.8855 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)