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.8355/0.8355, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001005/0.001005, allocations: 176.6 kB / 182.2 MB, free: 9.457 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.517/1.517, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.000867/0.000867, allocations: 100 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001852, allocations: 267.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.825e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4624, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.684/6.147, allocations: 2.144 GB / 2.902 GB, free: 197 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/6.147, allocations: 103.8 kB / 2.902 GB, free: 196.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.419/10.57, allocations: 1.238 GB / 4.14 GB, free: 36.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.856e-06/10.57, allocations: 0 / 4.14 GB, free: 36.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007084/10.57, allocations: 84.16 kB / 4.14 GB, free: 36.88 MB / 0.7292 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.01107/10.58, allocations: 3.622 MB / 4.144 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/10.58, allocations: 8.031 kB / 4.144 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003827/10.58, allocations: 0.5391 MB / 4.144 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00949/10.59, allocations: 3.401 MB / 4.148 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/10.59, allocations: 64 kB / 4.148 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008942/10.59, allocations: 135.7 kB / 4.148 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004761/10.6, allocations: 1.808 MB / 4.149 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005014/10.6, allocations: 2.227 MB / 4.152 GB, free: 24.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/10.6, allocations: 5.797 kB / 4.152 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003088/10.6, allocations: 4 kB / 4.152 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/10.6, allocations: 71.89 kB / 4.152 GB, free: 24.82 MB / 0.7292 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.01668/10.62, allocations: 10.06 MB / 4.162 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/10.62, allocations: 1.403 MB / 4.163 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/10.62, allocations: 0.9531 MB / 4.164 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008709/10.62, allocations: 1.181 MB / 4.165 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/10.62, allocations: 50.28 kB / 4.165 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=126): time 4.078e-06/10.62, allocations: 4.109 kB / 4.165 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.01078/10.63, allocations: 4.64 MB / 4.17 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/10.63, allocations: 344.6 kB / 4.17 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005898/10.64, allocations: 2.619 MB / 4.172 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003851/10.64, allocations: 33.7 kB / 4.173 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/10.64, allocations: 1.485 MB / 4.174 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004726/10.64, allocations: 445.4 kB / 4.174 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/10.64, allocations: 7.938 kB / 4.174 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001276/10.64, allocations: 368.8 kB / 4.175 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/10.64, allocations: 1.011 MB / 4.176 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/10.65, allocations: 1.432 MB / 4.177 GB, free: 14.02 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.007948/10.65, allocations: 3.73 MB / 4.181 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/10.65, allocations: 0 / 4.181 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007451/10.66, allocations: 2.792 MB / 4.183 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001615/10.66, allocations: 2.889 MB / 4.186 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/10.66, allocations: 8 kB / 4.186 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/10.66, allocations: 137.7 kB / 4.186 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/10.67, allocations: 259.6 kB / 4.187 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/10.67, allocations: 1.307 MB / 4.188 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/10.67, allocations: 171.7 kB / 4.188 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/10.67, allocations: 83.97 kB / 4.188 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/10.67, allocations: 13.12 kB / 4.188 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6073/11.28, allocations: 2.703 MB / 4.191 GB, free: 69.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/11.28, allocations: 6.719 kB / 4.191 GB, free: 69.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004498/11.28, allocations: 139.9 kB / 4.191 GB, free: 69.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/11.28, allocations: 260.9 kB / 4.191 GB, free: 69.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/11.28, allocations: 1.297 MB / 4.193 GB, free: 68.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00356/11.28, allocations: 173.2 kB / 4.193 GB, free: 68.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/11.28, allocations: 81.31 kB / 4.193 GB, free: 68.91 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 () * 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.0007156/11.29, allocations: 341 kB / 4.193 GB, free: 68.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/11.29, allocations: 298.7 kB / 4.193 GB, free: 68.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005631/11.29, allocations: 2.156 MB / 4.195 GB, free: 68.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/11.29, allocations: 18.05 kB / 4.196 GB, free: 68.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/11.29, allocations: 0 / 4.196 GB, free: 68.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003032/11.29, allocations: 1.958 MB / 4.197 GB, free: 68.24 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/11.31, allocations: 5.372 MB / 4.203 GB, free: 67.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/11.31, allocations: 3.938 kB / 4.203 GB, free: 67.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/11.31, allocations: 263.1 kB / 4.203 GB, free: 67.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/11.31, allocations: 9.562 kB / 4.203 GB, free: 67.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/11.31, allocations: 26.16 kB / 4.203 GB, free: 67.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/11.31, allocations: 23.62 kB / 4.203 GB, free: 67.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/11.31, allocations: 11.39 kB / 4.203 GB, free: 67.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/11.31, allocations: 4.17 MB / 4.207 GB, free: 66.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/11.31, allocations: 0.6731 MB / 4.208 GB, free: 66.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005034/11.31, allocations: 20.95 kB / 4.208 GB, free: 66.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/11.32, allocations: 149.7 kB / 4.208 GB, free: 66.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/11.32, allocations: 157.4 kB / 4.208 GB, free: 66.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/11.32, allocations: 62.83 kB / 4.208 GB, free: 66.56 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003857/11.32, allocations: 1.982 MB / 4.21 GB, free: 66.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/11.32, allocations: 4.969 kB / 4.21 GB, free: 66.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006392/11.33, allocations: 1.38 MB / 4.211 GB, free: 66.41 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.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.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * 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.004673/11.33, allocations: 2.944 MB / 4.214 GB, free: 65.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006738/11.34, allocations: 5.465 MB / 4.22 GB, free: 64.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/11.34, allocations: 0 / 4.22 GB, free: 64.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/11.34, allocations: 1.832 MB / 4.221 GB, free: 63.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007992/11.35, allocations: 1.417 MB / 4.223 GB, free: 63.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/11.36, allocations: 5.151 MB / 4.228 GB, free: 62.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/11.36, allocations: 2.152 MB / 4.23 GB, free: 61.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005593/11.37, allocations: 0.9906 MB / 4.231 GB, free: 61.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/11.37, allocations: 147.7 kB / 4.231 GB, free: 61.61 MB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/11.37, allocations: 0 / 4.231 GB, free: 61.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.1195/11.49, allocations: 72.97 MB / 4.302 GB, free: 56.83 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)