Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7977/0.7977, 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.001135/0.001135, allocations: 184.5 kB / 187.3 MB, free: 11.86 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.522/1.522, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.001034/0.001034, allocations: 97.3 kB / 0.5124 GB, free: 24.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 285.2 kB / 0.594 GB, free: 7.922 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.421e-05, allocations: 4 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5012, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9435/1.445, allocations: 361.2 MB / 1.117 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.445, allocations: 94.62 kB / 1.117 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.174/5.619, allocations: 0.9531 GB / 2.07 GB, free: 103 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.525e-06/5.619, allocations: 0 / 2.07 GB, free: 103 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001616/5.619, allocations: 53.69 kB / 2.07 GB, free: 103 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003799/5.623, allocations: 1.875 MB / 2.072 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/5.623, allocations: 10.22 kB / 2.072 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/5.626, allocations: 0.6148 MB / 2.073 GB, free: 102 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/5.63, allocations: 1.461 MB / 2.074 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/5.63, allocations: 83.91 kB / 2.074 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/5.63, allocations: 109.6 kB / 2.074 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/5.633, allocations: 1.187 MB / 2.075 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/5.633, allocations: 0 / 2.075 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/5.633, allocations: 45.12 kB / 2.075 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/5.633, allocations: 23.25 kB / 2.075 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/5.634, allocations: 0.9287 MB / 2.076 GB, free: 101.5 MB / 0.7136 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.008312/5.643, allocations: 6.436 MB / 2.083 GB, free: 97.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/5.644, allocations: 0.9469 MB / 2.084 GB, free: 97.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/5.645, allocations: 0.5205 MB / 2.084 GB, free: 97.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/5.646, allocations: 2.26 MB / 2.086 GB, free: 95.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009488/5.647, allocations: 0.6827 MB / 2.087 GB, free: 95.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=100): time 5.61e-06/5.647, allocations: 0 / 2.087 GB, free: 95.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=100): time 0.002567/5.65, allocations: 1.343 MB / 2.088 GB, free: 94.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/5.65, allocations: 147.2 kB / 2.088 GB, free: 94.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/5.652, allocations: 1.028 MB / 2.089 GB, free: 94.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/5.652, allocations: 43.08 kB / 2.089 GB, free: 94.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/5.652, allocations: 0.6969 MB / 2.09 GB, free: 94.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/5.653, allocations: 330.1 kB / 2.09 GB, free: 94.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/5.653, allocations: 19.5 kB / 2.09 GB, free: 94.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/5.653, allocations: 345.9 kB / 2.091 GB, free: 93.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/5.653, allocations: 424.1 kB / 2.091 GB, free: 93.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008058/5.654, allocations: 0.681 MB / 2.092 GB, free: 93.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/5.655, allocations: 0.5475 MB / 2.092 GB, free: 93.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/5.655, allocations: 0 / 2.092 GB, free: 93.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002358/5.657, allocations: 1.478 MB / 2.094 GB, free: 93.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004783/5.658, allocations: 1.712 MB / 2.096 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/5.658, allocations: 2.281 kB / 2.096 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/5.658, allocations: 13.58 kB / 2.096 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/5.659, allocations: 287.8 kB / 2.096 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/5.659, allocations: 11.16 kB / 2.096 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/5.661, allocations: 234.9 kB / 2.096 GB, free: 91.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/5.661, allocations: 55.16 kB / 2.096 GB, free: 91.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/5.661, allocations: 3.969 kB / 2.096 GB, free: 91.34 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002021/5.663, allocations: 1.378 MB / 2.097 GB, free: 91.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/5.663, allocations: 6.375 kB / 2.097 GB, free: 91.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/5.663, allocations: 10.69 kB / 2.097 GB, free: 91.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/5.664, allocations: 280.2 kB / 2.098 GB, free: 91.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/5.664, allocations: 14.75 kB / 2.098 GB, free: 91.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/5.666, allocations: 226.8 kB / 2.098 GB, free: 91.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/5.666, allocations: 62.7 kB / 2.098 GB, free: 91.18 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0003712/5.666, allocations: 276.9 kB / 2.098 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/5.667, allocations: 166.7 kB / 2.098 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/5.67, allocations: 2.043 MB / 2.1 GB, free: 90.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/5.67, allocations: 12.73 kB / 2.1 GB, free: 90.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/5.67, allocations: 0 / 2.1 GB, free: 90.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/5.67, allocations: 11.33 kB / 2.1 GB, free: 90.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005053/5.675, allocations: 3.404 MB / 2.104 GB, free: 90.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/5.675, allocations: 0 / 2.104 GB, free: 90.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/5.676, allocations: 228.6 kB / 2.104 GB, free: 90.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/5.676, allocations: 7.734 kB / 2.104 GB, free: 90.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.717e-05/5.676, allocations: 45.16 kB / 2.104 GB, free: 90.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/5.676, allocations: 7.375 kB / 2.104 GB, free: 90.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.676, allocations: 0 / 2.104 GB, free: 90.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/5.68, allocations: 2.736 MB / 2.107 GB, free: 89.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008715/5.681, allocations: 405.5 kB / 2.107 GB, free: 89.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/5.681, allocations: 36.81 kB / 2.107 GB, free: 89.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/5.682, allocations: 165.4 kB / 2.107 GB, free: 89.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/5.682, allocations: 74.69 kB / 2.107 GB, free: 89.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/5.683, allocations: 64.67 kB / 2.107 GB, free: 89.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001107/5.684, allocations: 0.7948 MB / 2.108 GB, free: 89.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/5.684, allocations: 3.188 kB / 2.108 GB, free: 89.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002915/5.687, allocations: 0.9295 MB / 2.109 GB, free: 89.19 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.002183/5.689, allocations: 0.9766 MB / 2.11 GB, free: 88.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003281/5.692, allocations: 2.304 MB / 2.112 GB, free: 88.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/5.692, allocations: 0 / 2.112 GB, free: 88.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/5.693, allocations: 0.9157 MB / 2.113 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/5.697, allocations: 0.6178 MB / 2.114 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/5.702, allocations: 2.483 MB / 2.116 GB, free: 87.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/5.703, allocations: 1.313 MB / 2.118 GB, free: 86.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00302/5.706, allocations: 0.497 MB / 2.118 GB, free: 86.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/5.707, allocations: 121.3 kB / 2.118 GB, free: 86.96 MB / 0.7136 GB Notification: Performance of SimCode: time 2.024e-06/5.707, allocations: 2.5 kB / 2.118 GB, free: 86.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.06247/5.769, allocations: 38.36 MB / 2.156 GB, free: 84.65 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)