Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9145/0.9145, allocations: 143.4 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 181 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 447.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008412/0.0008414, allocations: 107.5 kB / 0.5188 GB, free: 2.895 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001968/0.001968, allocations: 275.1 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 12 kB / 0.6929 GB, free: 2.309 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3389, allocations: 82.78 MB / 0.7737 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.473/4.812, allocations: 2.145 GB / 2.919 GB, free: 153.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/4.812, allocations: 107.8 kB / 2.919 GB, free: 153.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.68/9.492, allocations: 1.25 GB / 4.169 GB, free: 62.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.044e-06/9.492, allocations: 3.375 kB / 4.169 GB, free: 62.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005269/9.493, allocations: 87.86 kB / 4.169 GB, free: 62.7 MB / 0.7448 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.01255/9.505, allocations: 4.317 MB / 4.173 GB, free: 60.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/9.505, allocations: 10.64 kB / 4.173 GB, free: 60.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/9.508, allocations: 0.536 MB / 4.174 GB, free: 60.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008623/9.517, allocations: 3.409 MB / 4.177 GB, free: 59.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/9.517, allocations: 168.6 kB / 4.177 GB, free: 59.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/9.518, allocations: 220 kB / 4.177 GB, free: 59.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004549/9.522, allocations: 2.59 MB / 4.18 GB, free: 59.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/9.522, allocations: 1.938 kB / 4.18 GB, free: 59.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/9.523, allocations: 87.66 kB / 4.18 GB, free: 59.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/9.523, allocations: 74.8 kB / 4.18 GB, free: 59.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/9.526, allocations: 2.018 MB / 4.182 GB, free: 59.61 MB / 0.7448 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.01752/9.544, allocations: 10.5 MB / 4.192 GB, free: 56.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/9.546, allocations: 1.545 MB / 4.194 GB, free: 56.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009313/9.547, allocations: 1.185 MB / 4.195 GB, free: 54.87 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/9.547, allocations: 50.47 kB / 4.195 GB, free: 54.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=126): time 4.549e-06/9.547, allocations: 0 / 4.195 GB, free: 54.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=134): time 0.01496/9.562, allocations: 6.784 MB / 4.202 GB, free: 52.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/9.562, allocations: 339.2 kB / 4.202 GB, free: 52.37 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005747/9.568, allocations: 3.091 MB / 4.205 GB, free: 52.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004197/9.569, allocations: 63.36 kB / 4.205 GB, free: 52.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/9.57, allocations: 1.476 MB / 4.207 GB, free: 51.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/9.57, allocations: 460.5 kB / 4.207 GB, free: 51.44 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/9.57, allocations: 29.12 kB / 4.207 GB, free: 51.44 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/9.57, allocations: 365.9 kB / 4.207 GB, free: 51.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/9.572, allocations: 1.08 MB / 4.208 GB, free: 51.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/9.574, allocations: 1.522 MB / 4.21 GB, free: 50.71 MB / 0.7448 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.006931/9.58, allocations: 4.275 MB / 4.214 GB, free: 49.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/9.58, allocations: 3.875 kB / 4.214 GB, free: 49.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.0051/9.586, allocations: 3.324 MB / 4.217 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006376/9.586, allocations: 2.94 MB / 4.22 GB, free: 46.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/9.586, allocations: 3.906 kB / 4.22 GB, free: 46.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004775/9.587, allocations: 151 kB / 4.22 GB, free: 46.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009917/9.588, allocations: 258.6 kB / 4.221 GB, free: 46.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000907/9.589, allocations: 1.297 MB / 4.222 GB, free: 45.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/9.592, allocations: 190.1 kB / 4.222 GB, free: 45.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/9.592, allocations: 85.89 kB / 4.222 GB, free: 45.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/9.592, allocations: 7.5 kB / 4.222 GB, free: 45.09 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004337/9.597, allocations: 3.411 MB / 4.225 GB, free: 44.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/9.597, allocations: 7.75 kB / 4.225 GB, free: 44.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/9.597, allocations: 155.1 kB / 4.226 GB, free: 44.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009833/9.598, allocations: 261.6 kB / 4.226 GB, free: 44.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007281/9.599, allocations: 1.288 MB / 4.227 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/9.602, allocations: 197.7 kB / 4.227 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/9.602, allocations: 84.3 kB / 4.227 GB, free: 43.59 MB / 0.7448 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.002411/9.605, allocations: 1.126 MB / 4.228 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009574/9.606, allocations: 323 kB / 4.229 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/9.61, allocations: 2.548 MB / 4.231 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/9.61, allocations: 17.38 kB / 4.231 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/9.61, allocations: 4.344 kB / 4.231 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002868/9.613, allocations: 2.296 MB / 4.234 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/9.626, allocations: 5.984 MB / 4.239 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/9.627, allocations: 8.281 kB / 4.239 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/9.628, allocations: 263.9 kB / 4.24 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.498e-05/9.628, allocations: 11.06 kB / 4.24 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/9.628, allocations: 41.52 kB / 4.24 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-05/9.628, allocations: 15.2 kB / 4.24 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.746e-05/9.628, allocations: 15.58 kB / 4.24 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/9.636, allocations: 4.701 MB / 4.244 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003117/9.639, allocations: 0.7152 MB / 4.245 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/9.64, allocations: 38.75 kB / 4.245 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/9.642, allocations: 173.8 kB / 4.245 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/9.642, allocations: 162.1 kB / 4.245 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/9.643, allocations: 58.33 kB / 4.245 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00409/9.647, allocations: 2.396 MB / 4.248 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.1e-07/9.647, allocations: 2 kB / 4.248 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006749/9.653, allocations: 1.505 MB / 4.249 GB, free: 39.57 MB / 0.7448 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.004703/9.658, allocations: 2.867 MB / 4.252 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006858/9.665, allocations: 5.607 MB / 4.257 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/9.665, allocations: 4.812 kB / 4.258 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00225/9.667, allocations: 1.913 MB / 4.259 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008601/9.676, allocations: 1.634 MB / 4.261 GB, free: 36.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/9.691, allocations: 7.383 MB / 4.268 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/9.693, allocations: 2.148 MB / 4.27 GB, free: 33.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003576/9.697, allocations: 0.6386 MB / 4.271 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/9.698, allocations: 210.3 kB / 4.271 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of SimCode: time 1.383e-06/9.698, allocations: 0 / 4.271 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.1392/9.837, allocations: 90.32 MB / 4.359 GB, free: 27.01 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)