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.8872/0.8872, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 184.8 kB / 187.3 MB, free: 11.88 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.46/1.46, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008977/0.0008978, allocations: 96.28 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 273.5 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.92e-05/4.94e-05, allocations: 8 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4861, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.635/6.121, allocations: 2.145 GB / 2.909 GB, free: 181.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/6.121, allocations: 103.9 kB / 2.909 GB, free: 181 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.436/10.56, allocations: 1.247 GB / 4.157 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.352e-06/10.56, allocations: 7.938 kB / 4.157 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003947/10.56, allocations: 87.91 kB / 4.157 GB, free: 6.5 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.00792/10.57, allocations: 3.623 MB / 4.16 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/10.57, allocations: 8.031 kB / 4.16 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/10.57, allocations: 0.5379 MB / 4.161 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007305/10.58, allocations: 3.376 MB / 4.164 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/10.58, allocations: 168 kB / 4.164 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/10.58, allocations: 223.9 kB / 4.164 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004759/10.58, allocations: 2.521 MB / 4.167 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/10.58, allocations: 3.938 kB / 4.167 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/10.58, allocations: 92 kB / 4.167 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.818e-05/10.58, allocations: 67.89 kB / 4.167 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/10.59, allocations: 1.921 MB / 4.169 GB, free: 9.672 MB / 0.7448 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.6061/11.19, allocations: 10.5 MB / 4.179 GB, free: 59.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/11.19, allocations: 1.459 MB / 4.181 GB, free: 59.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/11.2, allocations: 0.9953 MB / 4.182 GB, free: 59.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009959/11.2, allocations: 1.177 MB / 4.183 GB, free: 58.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/11.2, allocations: 53.52 kB / 4.183 GB, free: 58.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=126): time 4.538e-06/11.2, allocations: 0.8125 kB / 4.183 GB, free: 58.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=134): time 0.01205/11.21, allocations: 5.321 MB / 4.188 GB, free: 56.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/11.21, allocations: 344.5 kB / 4.188 GB, free: 56.39 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005343/11.21, allocations: 3.051 MB / 4.191 GB, free: 56.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004572/11.22, allocations: 59.8 kB / 4.191 GB, free: 56.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/11.22, allocations: 1.475 MB / 4.193 GB, free: 55.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004848/11.22, allocations: 456 kB / 4.193 GB, free: 55.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/11.22, allocations: 28.94 kB / 4.193 GB, free: 55.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001093/11.22, allocations: 368.1 kB / 4.194 GB, free: 55.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/11.22, allocations: 1.038 MB / 4.195 GB, free: 55.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/11.22, allocations: 1.48 MB / 4.196 GB, free: 54.89 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.00664/11.23, allocations: 4.176 MB / 4.2 GB, free: 54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/11.23, allocations: 5.656 kB / 4.2 GB, free: 54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00478/11.23, allocations: 3.266 MB / 4.203 GB, free: 53.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000664/11.23, allocations: 2.943 MB / 4.206 GB, free: 50.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/11.23, allocations: 8.094 kB / 4.206 GB, free: 50.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/11.23, allocations: 151.8 kB / 4.206 GB, free: 50.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009754/11.23, allocations: 271.2 kB / 4.207 GB, free: 50.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007643/11.23, allocations: 1.286 MB / 4.208 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/11.24, allocations: 209.5 kB / 4.208 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/11.24, allocations: 81.22 kB / 4.208 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/11.24, allocations: 5 kB / 4.208 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003775/11.24, allocations: 3.345 MB / 4.211 GB, free: 48.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/11.24, allocations: 6.531 kB / 4.211 GB, free: 48.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/11.24, allocations: 154.7 kB / 4.212 GB, free: 48.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009365/11.24, allocations: 263.9 kB / 4.212 GB, free: 48.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007095/11.24, allocations: 1.292 MB / 4.213 GB, free: 47.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/11.25, allocations: 208.6 kB / 4.213 GB, free: 47.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/11.25, allocations: 87.38 kB / 4.213 GB, free: 47.77 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.0005523/11.25, allocations: 393.5 kB / 4.214 GB, free: 47.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00065/11.25, allocations: 329.3 kB / 4.214 GB, free: 47.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/11.25, allocations: 2.47 MB / 4.216 GB, free: 47 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/11.25, allocations: 11.66 kB / 4.216 GB, free: 47 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/11.25, allocations: 0 / 4.216 GB, free: 47 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002308/11.25, allocations: 2.218 MB / 4.219 GB, free: 46.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009241/11.26, allocations: 5.912 MB / 4.224 GB, free: 45.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/11.26, allocations: 6.969 kB / 4.224 GB, free: 45.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/11.26, allocations: 260 kB / 4.225 GB, free: 45.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/11.26, allocations: 15.44 kB / 4.225 GB, free: 45.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/11.26, allocations: 43.55 kB / 4.225 GB, free: 45.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/11.26, allocations: 17.72 kB / 4.225 GB, free: 45.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/11.26, allocations: 4.938 kB / 4.225 GB, free: 45.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/11.27, allocations: 4.583 MB / 4.229 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/11.27, allocations: 0.7198 MB / 4.23 GB, free: 44.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005111/11.27, allocations: 41.69 kB / 4.23 GB, free: 44.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/11.27, allocations: 169.3 kB / 4.23 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/11.27, allocations: 160.2 kB / 4.23 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/11.27, allocations: 58.5 kB / 4.23 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003878/11.28, allocations: 2.357 MB / 4.233 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.21e-07/11.28, allocations: 0 / 4.233 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005697/11.28, allocations: 1.514 MB / 4.234 GB, free: 43.9 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.005078/11.29, allocations: 2.88 MB / 4.237 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00673/11.3, allocations: 5.612 MB / 4.242 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/11.3, allocations: 0 / 4.242 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/11.3, allocations: 1.866 MB / 4.244 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00887/11.31, allocations: 1.624 MB / 4.246 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/11.32, allocations: 5.276 MB / 4.251 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/11.32, allocations: 2.154 MB / 4.253 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00503/11.32, allocations: 1.066 MB / 4.254 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/11.32, allocations: 159.3 kB / 4.254 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/11.32, allocations: 2.734 kB / 4.254 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.1424/11.47, allocations: 101 MB / 4.353 GB, free: 33.15 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)