Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.663/1.663, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009854/0.0009855, allocations: 172.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 0.6626 GB, free: 4.281 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007953/0.0007954, allocations: 98.36 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 15.98 kB / 0.9088 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7145, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.263/4.978, allocations: 2.176 GB / 3.203 GB, free: 53.16 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/4.978, allocations: 108.6 kB / 3.203 GB, free: 53.06 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.275/9.253, allocations: 1.235 GB / 4.438 GB, free: 98.29 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.723e-06/9.253, allocations: 3.188 kB / 4.438 GB, free: 98.29 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004949/9.253, allocations: 83.31 kB / 4.438 GB, free: 98.29 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.009792/9.263, allocations: 4.282 MB / 4.443 GB, free: 96.38 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/9.263, allocations: 12 kB / 4.443 GB, free: 96.38 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/9.266, allocations: 0.5329 MB / 4.443 GB, free: 96.17 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00735/9.273, allocations: 3.499 MB / 4.447 GB, free: 95.52 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/9.273, allocations: 165.2 kB / 4.447 GB, free: 95.51 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006609/9.274, allocations: 214.4 kB / 4.447 GB, free: 95.51 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005297/9.279, allocations: 2.603 MB / 4.449 GB, free: 95.24 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.907e-05/9.279, allocations: 18.3 kB / 4.449 GB, free: 95.23 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/9.28, allocations: 85.34 kB / 4.45 GB, free: 95.23 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/9.28, allocations: 70.11 kB / 4.45 GB, free: 95.23 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/9.283, allocations: 2.021 MB / 4.452 GB, free: 95.21 MB / 1.01 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.01536/9.299, allocations: 10.46 MB / 4.462 GB, free: 91.82 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/9.301, allocations: 1.546 MB / 4.463 GB, free: 91.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/9.302, allocations: 1.03 MB / 4.464 GB, free: 91.78 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007602/9.303, allocations: 1.181 MB / 4.465 GB, free: 90.46 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/9.303, allocations: 48.53 kB / 4.465 GB, free: 90.42 MB / 1.01 GB Notification: Performance of pre-optimization done (n=126): time 5.38e-06/9.303, allocations: 3.062 kB / 4.465 GB, free: 90.42 MB / 1.01 GB Notification: Performance of matching and sorting (n=134): time 0.01044/9.314, allocations: 6.321 MB / 4.472 GB, free: 88.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/9.314, allocations: 347.1 kB / 4.472 GB, free: 88.51 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005923/9.32, allocations: 3.398 MB / 4.475 GB, free: 88.26 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002984/9.32, allocations: 57.73 kB / 4.475 GB, free: 88.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/9.321, allocations: 1.479 MB / 4.477 GB, free: 87.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/9.321, allocations: 457.6 kB / 4.477 GB, free: 87.57 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/9.322, allocations: 30.81 kB / 4.477 GB, free: 87.57 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/9.322, allocations: 365.8 kB / 4.478 GB, free: 87.26 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/9.323, allocations: 1.079 MB / 4.479 GB, free: 87.26 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/9.325, allocations: 1.531 MB / 4.48 GB, free: 86.84 MB / 1.01 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.007826/9.332, allocations: 5.821 MB / 4.486 GB, free: 85.26 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/9.333, allocations: 3.625 kB / 4.486 GB, free: 85.26 MB / 1.01 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004613/9.337, allocations: 3.337 MB / 4.489 GB, free: 84.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002472/9.337, allocations: 0.639 MB / 4.49 GB, free: 83.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/9.337, allocations: 6.156 kB / 4.49 GB, free: 83.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004467/9.338, allocations: 146.6 kB / 4.49 GB, free: 83.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/9.339, allocations: 266.3 kB / 4.49 GB, free: 83.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007712/9.34, allocations: 1.294 MB / 4.491 GB, free: 82.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/9.342, allocations: 198.3 kB / 4.492 GB, free: 82.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/9.343, allocations: 85.38 kB / 4.492 GB, free: 82.88 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/9.343, allocations: 6.125 kB / 4.492 GB, free: 82.88 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004584/9.347, allocations: 3.42 MB / 4.495 GB, free: 82.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/9.347, allocations: 5.312 kB / 4.495 GB, free: 82.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/9.348, allocations: 155.2 kB / 4.495 GB, free: 82.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/9.349, allocations: 261.5 kB / 4.495 GB, free: 82.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007241/9.349, allocations: 1.29 MB / 4.497 GB, free: 81.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/9.352, allocations: 195.5 kB / 4.497 GB, free: 81.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/9.352, allocations: 81.2 kB / 4.497 GB, free: 81.38 MB / 1.01 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: 26 * 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 (159): * Single equations (assignments): 145 * 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.002097/9.354, allocations: 1.116 MB / 4.498 GB, free: 81 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000821/9.355, allocations: 324.1 kB / 4.498 GB, free: 80.83 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/9.36, allocations: 2.551 MB / 4.501 GB, free: 80.53 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/9.36, allocations: 13.16 kB / 4.501 GB, free: 80.53 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/9.36, allocations: 10.41 kB / 4.501 GB, free: 80.53 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002562/9.362, allocations: 2.302 MB / 4.503 GB, free: 80.06 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009908/9.372, allocations: 5.96 MB / 4.509 GB, free: 79.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/9.372, allocations: 7.062 kB / 4.509 GB, free: 79.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/9.373, allocations: 267.8 kB / 4.509 GB, free: 79.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/9.373, allocations: 12.81 kB / 4.509 GB, free: 79.29 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/9.373, allocations: 41.36 kB / 4.509 GB, free: 79.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/9.374, allocations: 12.66 kB / 4.509 GB, free: 79.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/9.374, allocations: 9.5 kB / 4.509 GB, free: 79.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005621/9.379, allocations: 4.111 MB / 4.513 GB, free: 78.55 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/9.381, allocations: 0.7095 MB / 4.514 GB, free: 78.29 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009741/9.382, allocations: 45.56 kB / 4.514 GB, free: 78.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/9.384, allocations: 167.8 kB / 4.514 GB, free: 78.27 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/9.385, allocations: 161.5 kB / 4.514 GB, free: 78.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/9.385, allocations: 61.98 kB / 4.514 GB, free: 78.27 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004665/9.389, allocations: 2.353 MB / 4.517 GB, free: 78.12 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.41e-07/9.389, allocations: 0 / 4.517 GB, free: 78.12 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006107/9.396, allocations: 1.469 MB / 4.518 GB, free: 78.07 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * 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.004431/9.4, allocations: 2.836 MB / 4.521 GB, free: 77.12 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007357/9.407, allocations: 5.607 MB / 4.526 GB, free: 75.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/9.407, allocations: 1.781 kB / 4.526 GB, free: 75.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/9.41, allocations: 1.915 MB / 4.528 GB, free: 75.21 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01127/9.421, allocations: 1.64 MB / 4.53 GB, free: 75.19 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/9.432, allocations: 7.379 MB / 4.537 GB, free: 72.32 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/9.435, allocations: 2.082 MB / 4.539 GB, free: 71.57 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003379/9.438, allocations: 0.64 MB / 4.54 GB, free: 71.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007275/9.439, allocations: 218.6 kB / 4.54 GB, free: 71.54 MB / 1.01 GB Notification: Performance of SimCode: time 1.994e-06/9.439, allocations: 1.375 kB / 4.54 GB, free: 71.54 MB / 1.01 GB Notification: Performance of Templates: time 0.123/9.562, allocations: 91.11 MB / 4.629 GB, free: 66.5 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)