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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7749/0.7749, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 180.8 kB / 169.7 MB, free: 1.73 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.744/1.744, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.000864/0.0008641, allocations: 82.47 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.769e-05/3.774e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1736, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.101/7.274, allocations: 2.417 GB / 3.045 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/7.275, allocations: 99.5 kB / 3.045 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.033/12.31, allocations: 1.223 GB / 4.268 GB, free: 59.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.963e-06/12.31, allocations: 0 / 4.268 GB, free: 59.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005273/12.31, allocations: 85.73 kB / 4.268 GB, free: 59.57 MB / 0.698 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.01229/12.32, allocations: 3.712 MB / 4.271 GB, free: 57.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.058e-05/12.32, allocations: 7.281 kB / 4.271 GB, free: 57.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/12.32, allocations: 0.5392 MB / 4.272 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/12.34, allocations: 7.789 MB / 4.28 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/12.34, allocations: 170.2 kB / 4.28 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005221/12.35, allocations: 230.4 kB / 4.28 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005697/12.35, allocations: 2.723 MB / 4.283 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/12.35, allocations: 5.109 kB / 4.283 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/12.35, allocations: 93.97 kB / 4.283 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-05/12.35, allocations: 81.77 kB / 4.283 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/12.36, allocations: 2.07 MB / 4.285 GB, free: 56.38 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.01726/12.37, allocations: 11.32 MB / 4.296 GB, free: 52.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/12.37, allocations: 1.429 MB / 4.297 GB, free: 52.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/12.38, allocations: 0.9221 MB / 4.298 GB, free: 52.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006294/12.38, allocations: 0.7622 MB / 4.299 GB, free: 51.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/12.38, allocations: 48.78 kB / 4.299 GB, free: 51.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=115): time 4.248e-06/12.38, allocations: 2.438 kB / 4.299 GB, free: 51.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=123): time 0.01113/12.39, allocations: 5.197 MB / 4.304 GB, free: 49.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/12.39, allocations: 336.4 kB / 4.304 GB, free: 49.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005796/12.39, allocations: 3.112 MB / 4.307 GB, free: 49.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004249/12.39, allocations: 58.45 kB / 4.307 GB, free: 49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/12.4, allocations: 1.602 MB / 4.309 GB, free: 48.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000401/12.4, allocations: 428.5 kB / 4.309 GB, free: 48.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/12.4, allocations: 30.72 kB / 4.309 GB, free: 48.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000109/12.4, allocations: 374.4 kB / 4.31 GB, free: 48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/12.4, allocations: 1.04 MB / 4.311 GB, free: 48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/12.4, allocations: 1.561 MB / 4.312 GB, free: 47.45 MB / 0.698 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.006343/12.41, allocations: 4.144 MB / 4.316 GB, free: 46.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/12.41, allocations: 3.719 kB / 4.316 GB, free: 46.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.005634/12.41, allocations: 3.36 MB / 4.32 GB, free: 45.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00161/12.41, allocations: 4.525 MB / 4.324 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/12.41, allocations: 12.75 kB / 4.324 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/12.41, allocations: 159.5 kB / 4.324 GB, free: 41.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/12.41, allocations: 297.5 kB / 4.325 GB, free: 41.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009002/12.42, allocations: 1.3 MB / 4.326 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/12.42, allocations: 218.1 kB / 4.326 GB, free: 40.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/12.42, allocations: 91.34 kB / 4.326 GB, free: 40.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/12.42, allocations: 3.125 kB / 4.326 GB, free: 40.15 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004311/12.42, allocations: 3.398 MB / 4.329 GB, free: 39.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/12.42, allocations: 12.12 kB / 4.329 GB, free: 39.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004569/12.42, allocations: 160.1 kB / 4.33 GB, free: 39.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/12.42, allocations: 273.7 kB / 4.33 GB, free: 39.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008219/12.43, allocations: 1.301 MB / 4.331 GB, free: 38.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/12.43, allocations: 190.3 kB / 4.331 GB, free: 38.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/12.43, allocations: 81.62 kB / 4.331 GB, free: 38.65 MB / 0.698 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 () * 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.0006626/12.43, allocations: 389.4 kB / 4.332 GB, free: 38.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006651/12.43, allocations: 336 kB / 4.332 GB, free: 38.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/12.43, allocations: 2.341 MB / 4.334 GB, free: 37.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/12.43, allocations: 10.34 kB / 4.334 GB, free: 37.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/12.43, allocations: 6.812 kB / 4.334 GB, free: 37.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002366/12.44, allocations: 2.108 MB / 4.336 GB, free: 37.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/12.45, allocations: 5.489 MB / 4.342 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/12.45, allocations: 3.625 kB / 4.342 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/12.45, allocations: 243.9 kB / 4.342 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/12.45, allocations: 7.5 kB / 4.342 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/12.45, allocations: 39.11 kB / 4.342 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/12.45, allocations: 11.77 kB / 4.342 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/12.45, allocations: 9.656 kB / 4.342 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/12.45, allocations: 4.097 MB / 4.346 GB, free: 35.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/12.46, allocations: 0.6924 MB / 4.347 GB, free: 35.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/12.46, allocations: 40.64 kB / 4.347 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/12.46, allocations: 170.9 kB / 4.347 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/12.46, allocations: 147.8 kB / 4.347 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/12.46, allocations: 54.41 kB / 4.347 GB, free: 35.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004169/12.46, allocations: 2.4 MB / 4.349 GB, free: 35.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/12.46, allocations: 1.438 kB / 4.349 GB, free: 35.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005298/12.47, allocations: 1.521 MB / 4.351 GB, free: 35.16 MB / 0.698 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.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.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i) * 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.00486/12.47, allocations: 2.895 MB / 4.354 GB, free: 34.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006526/12.48, allocations: 5.614 MB / 4.359 GB, free: 32.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/12.48, allocations: 5.422 kB / 4.359 GB, free: 32.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/12.48, allocations: 1.602 MB / 4.361 GB, free: 32.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/12.49, allocations: 1.661 MB / 4.362 GB, free: 32.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/12.5, allocations: 5.215 MB / 4.368 GB, free: 30.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/12.5, allocations: 2.179 MB / 4.37 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00527/12.51, allocations: 1.078 MB / 4.371 GB, free: 29.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/12.51, allocations: 156.8 kB / 4.371 GB, free: 29.97 MB / 0.698 GB Notification: Performance of SimCode: time 1.253e-06/12.51, allocations: 3.406 kB / 4.371 GB, free: 29.97 MB / 0.698 GB Notification: Performance of Templates: time 0.1666/12.68, allocations: 102.8 MB / 4.471 GB, free: 8.617 MB / 0.7292 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)