Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.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/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/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.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003813/0.003813, allocations: 181.4 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6784/0.6784, allocations: 130.6 MB / 138.5 MB, free: 2.238 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.0009561/0.0009561, allocations: 105.3 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.051e-05, allocations: 0 / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2069, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.395/5.602, allocations: 2.165 GB / 2.792 GB, free: 229.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/5.602, allocations: 104.5 kB / 2.792 GB, free: 229.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 17.6/23.2, allocations: 4.515 GB / 7.307 GB, free: 46.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001839/23.2, allocations: 205.1 kB / 7.308 GB, free: 46.23 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.03107/23.23, allocations: 8.056 MB / 7.316 GB, free: 41.97 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/23.23, allocations: 6.531 kB / 7.316 GB, free: 41.97 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009774/23.24, allocations: 1.57 MB / 7.317 GB, free: 41.47 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03353/23.28, allocations: 9.951 MB / 7.327 GB, free: 40.21 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004928/23.28, allocations: 147.6 kB / 7.327 GB, free: 40.21 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002882/23.28, allocations: 299.3 kB / 7.327 GB, free: 40.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.014/23.29, allocations: 4.139 MB / 7.331 GB, free: 40.18 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/23.31, allocations: 4.97 MB / 7.336 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003003/23.31, allocations: 7.031 kB / 7.336 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001608/23.31, allocations: 11.59 kB / 7.336 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/23.31, allocations: 165.8 kB / 7.336 GB, free: 39.61 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05896/23.37, allocations: 26.72 MB / 7.362 GB, free: 28.71 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005392/23.38, allocations: 2.852 MB / 7.365 GB, free: 28.57 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/23.38, allocations: 1.847 MB / 7.367 GB, free: 28.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01887/23.4, allocations: 8.162 MB / 7.375 GB, free: 22.54 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.715e-05/23.4, allocations: 59.31 kB / 7.375 GB, free: 22.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=213): time 7.784e-06/23.4, allocations: 1.406 kB / 7.375 GB, free: 22.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213): time 0.01259/23.41, allocations: 4.212 MB / 7.379 GB, free: 20.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/23.41, allocations: 419.2 kB / 7.38 GB, free: 20.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02428/23.44, allocations: 6.454 MB / 7.386 GB, free: 17.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001296/23.44, allocations: 40.03 kB / 7.386 GB, free: 17.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004528/23.44, allocations: 2.107 MB / 7.388 GB, free: 16.47 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002896/23.45, allocations: 0.6866 MB / 7.389 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009244/23.45, allocations: 7.375 kB / 7.389 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004235/23.45, allocations: 431.9 kB / 7.389 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004914/23.45, allocations: 2.13 MB / 7.391 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005283/23.46, allocations: 3.435 MB / 7.394 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/23.47, allocations: 2.664 MB / 7.397 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.887e-05/23.47, allocations: 8.688 kB / 7.397 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02175/23.49, allocations: 6.084 MB / 7.403 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.005012/23.5, allocations: 15.61 MB / 7.418 GB, free: 8.414 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/23.5, allocations: 31.41 kB / 7.418 GB, free: 8.414 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/23.5, allocations: 48.59 kB / 7.418 GB, free: 8.414 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/23.5, allocations: 0.6877 MB / 7.419 GB, free: 7.844 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.901e-05/23.5, allocations: 62.14 kB / 7.419 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00832/23.51, allocations: 0.5637 MB / 7.42 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/23.51, allocations: 212.1 kB / 7.42 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/23.51, allocations: 4 kB / 7.42 GB, free: 7.152 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01454/23.53, allocations: 5.24 MB / 7.425 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/23.53, allocations: 28 kB / 7.425 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.482e-05/23.53, allocations: 48 kB / 7.425 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/23.53, allocations: 0.6803 MB / 7.426 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.163e-05/23.53, allocations: 62.84 kB / 7.426 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007949/23.54, allocations: 493.9 kB / 7.426 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/23.54, allocations: 203.5 kB / 7.426 GB, free: 1.242 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (366): * Single equations (assignments): 338 * 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.001916/23.54, allocations: 0.572 MB / 7.427 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5657/24.11, allocations: 0.6767 MB / 7.428 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/24.12, allocations: 4.816 MB / 7.432 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/24.12, allocations: 29.55 kB / 7.432 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/24.12, allocations: 1.312 kB / 7.432 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006164/24.12, allocations: 3.735 MB / 7.436 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02231/24.15, allocations: 10.5 MB / 7.446 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/24.15, allocations: 7 kB / 7.446 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/24.15, allocations: 436 kB / 7.447 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.152e-05/24.15, allocations: 18.89 kB / 7.447 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/24.15, allocations: 57.31 kB / 7.447 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/24.15, allocations: 18.34 kB / 7.447 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/24.15, allocations: 6.656 kB / 7.447 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0109/24.16, allocations: 8.148 MB / 7.455 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006912/24.17, allocations: 1.411 MB / 7.456 GB, free: 108 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003933/24.17, allocations: 32.97 kB / 7.456 GB, free: 108 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005486/24.18, allocations: 305.2 kB / 7.456 GB, free: 108 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/24.18, allocations: 266.6 kB / 7.457 GB, free: 108 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/24.18, allocations: 120 kB / 7.457 GB, free: 108 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.009913/24.19, allocations: 4.85 MB / 7.462 GB, free: 107.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.02855/24.22, allocations: 3.744 MB / 7.465 GB, free: 107.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (229): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * 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.01261/24.23, allocations: 7.093 MB / 7.472 GB, free: 104.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01417/24.24, allocations: 8.784 MB / 7.481 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/24.24, allocations: 3.75 kB / 7.481 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004842/24.25, allocations: 3.316 MB / 7.484 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01788/24.27, allocations: 3.061 MB / 7.487 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03809/24.3, allocations: 11.13 MB / 7.498 GB, free: 100 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01388/24.32, allocations: 4.691 MB / 7.502 GB, free: 99.18 MB / 0.9011 GB Notification: Performance of SimCode: time 1.333e-06/24.32, allocations: 1.562 kB / 7.502 GB, free: 99.18 MB / 0.9011 GB Notification: Performance of Templates: time 0.3042/24.62, allocations: 172 MB / 7.67 GB, free: 87.13 MB / 0.9011 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)