Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6288/0.6288, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.0009354/0.0009354, allocations: 182.5 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 394.8 MB, free: 20.92 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.0007991/0.0007991, allocations: 93.22 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003782, allocations: 16 kB / 0.5423 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3807, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.704/6.085, allocations: 2.416 GB / 3.031 GB, free: 220.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/6.085, allocations: 109.1 kB / 3.031 GB, free: 220.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.902/9.987, allocations: 1.211 GB / 4.243 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.275e-06/9.987, allocations: 0 / 4.243 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005116/9.988, allocations: 83.98 kB / 4.243 GB, free: 5.477 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 549 * Number of variables: 549 Notification: Performance of Generate backend data structure: time 0.01224/10, allocations: 4.362 MB / 4.247 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/10, allocations: 8.031 kB / 4.247 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/10, allocations: 0.5387 MB / 4.247 GB, free: 408 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4386/10.44, allocations: 6.849 MB / 4.254 GB, free: 46.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/10.44, allocations: 171.5 kB / 4.254 GB, free: 46.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/10.44, allocations: 239.1 kB / 4.255 GB, free: 46.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005554/10.45, allocations: 2.815 MB / 4.257 GB, free: 46.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/10.45, allocations: 3.906 kB / 4.257 GB, free: 46.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/10.45, allocations: 95.03 kB / 4.257 GB, free: 46.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-05/10.45, allocations: 87.92 kB / 4.257 GB, free: 46.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003989/10.45, allocations: 2.183 MB / 4.26 GB, free: 46.04 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/10.47, allocations: 11.26 MB / 4.271 GB, free: 41.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/10.47, allocations: 1.486 MB / 4.272 GB, free: 41.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/10.47, allocations: 0.9618 MB / 4.273 GB, free: 41.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/10.47, allocations: 0.7689 MB / 4.274 GB, free: 41.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/10.47, allocations: 48.5 kB / 4.274 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=115): time 4.358e-06/10.47, allocations: 0.9375 kB / 4.274 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.01058/10.48, allocations: 6.161 MB / 4.28 GB, free: 39.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/10.48, allocations: 345.5 kB / 4.28 GB, free: 39.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004984/10.49, allocations: 3.466 MB / 4.284 GB, free: 38.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/10.49, allocations: 59.7 kB / 4.284 GB, free: 38.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/10.49, allocations: 1.601 MB / 4.285 GB, free: 38.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/10.49, allocations: 418.4 kB / 4.286 GB, free: 38.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/10.49, allocations: 37.78 kB / 4.286 GB, free: 38.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/10.49, allocations: 369.5 kB / 4.286 GB, free: 38.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/10.49, allocations: 1.096 MB / 4.287 GB, free: 38.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/10.49, allocations: 1.628 MB / 4.289 GB, free: 37.48 MB / 0.6823 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.008301/10.5, allocations: 5.853 MB / 4.294 GB, free: 35.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/10.5, allocations: 6.812 kB / 4.294 GB, free: 35.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.005332/10.51, allocations: 3.452 MB / 4.298 GB, free: 35.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003186/10.51, allocations: 0.7419 MB / 4.298 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/10.51, allocations: 11.28 kB / 4.298 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/10.51, allocations: 153.9 kB / 4.299 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/10.51, allocations: 297.2 kB / 4.299 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007547/10.51, allocations: 1.304 MB / 4.3 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/10.51, allocations: 208.9 kB / 4.3 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/10.51, allocations: 83.89 kB / 4.3 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/10.51, allocations: 6.031 kB / 4.3 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003941/10.52, allocations: 3.434 MB / 4.304 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/10.52, allocations: 13.27 kB / 4.304 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/10.52, allocations: 152.2 kB / 4.304 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009436/10.52, allocations: 277.4 kB / 4.304 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007261/10.52, allocations: 1.292 MB / 4.305 GB, free: 31.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/10.52, allocations: 181.4 kB / 4.306 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/10.52, allocations: 83.62 kB / 4.306 GB, free: 31.76 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 159 * 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.002321/10.52, allocations: 1.139 MB / 4.307 GB, free: 31.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008932/10.52, allocations: 338.7 kB / 4.307 GB, free: 31.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/10.53, allocations: 2.421 MB / 4.309 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/10.53, allocations: 13.84 kB / 4.309 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/10.53, allocations: 0 / 4.309 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002781/10.53, allocations: 2.2 MB / 4.312 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/10.54, allocations: 5.539 MB / 4.317 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/10.54, allocations: 5.125 kB / 4.317 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/10.54, allocations: 245.1 kB / 4.317 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-05/10.54, allocations: 6.688 kB / 4.317 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/10.54, allocations: 40.69 kB / 4.317 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/10.54, allocations: 10.69 kB / 4.317 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/10.54, allocations: 8.438 kB / 4.317 GB, free: 29.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005431/10.55, allocations: 3.872 MB / 4.321 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/10.55, allocations: 0.6741 MB / 4.322 GB, free: 28.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/10.55, allocations: 40.25 kB / 4.322 GB, free: 28.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/10.55, allocations: 173.6 kB / 4.322 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/10.56, allocations: 150.8 kB / 4.322 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/10.56, allocations: 53.11 kB / 4.322 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005241/10.56, allocations: 2.39 MB / 4.325 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/10.56, allocations: 0 / 4.325 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006924/10.57, allocations: 1.48 MB / 4.326 GB, free: 28.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 2 * 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.004977/10.57, allocations: 2.835 MB / 4.329 GB, free: 27.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008602/10.58, allocations: 5.603 MB / 4.334 GB, free: 26.26 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/10.58, allocations: 5.812 kB / 4.334 GB, free: 26.26 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002467/10.58, allocations: 1.648 MB / 4.336 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01272/10.6, allocations: 1.675 MB / 4.337 GB, free: 25.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/10.61, allocations: 7.365 MB / 4.345 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/10.61, allocations: 2.111 MB / 4.347 GB, free: 22.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003899/10.61, allocations: 0.6475 MB / 4.347 GB, free: 22.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/10.62, allocations: 211.7 kB / 4.348 GB, free: 22.24 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/10.62, allocations: 1.531 kB / 4.348 GB, free: 22.24 MB / 0.6823 GB Notification: Performance of Templates: time 0.1402/10.76, allocations: 91.94 MB / 4.437 GB, free: 16.13 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)