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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8188/0.8188, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000991/0.000991, allocations: 183.9 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 426.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008913/0.000891, allocations: 88.34 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001677/0.001677, allocations: 267.5 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004762, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4163, allocations: 79.31 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7891/1.205, allocations: 359.2 MB / 1.09 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.206, allocations: 94.06 kB / 1.09 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.458/4.664, allocations: 0.9316 GB / 2.022 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/4.664, allocations: 0 / 2.022 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001508/4.664, allocations: 48 kB / 2.022 GB, free: 104.3 MB / 0.6823 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.004484/4.668, allocations: 2.178 MB / 2.024 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/4.668, allocations: 14.8 kB / 2.024 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/4.671, allocations: 0.6123 MB / 2.025 GB, free: 103 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/4.675, allocations: 1.546 MB / 2.026 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/4.675, allocations: 80.69 kB / 2.026 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/4.675, allocations: 115.8 kB / 2.026 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/4.677, allocations: 1.368 MB / 2.028 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/4.677, allocations: 6.5 kB / 2.028 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.702e-05/4.678, allocations: 40.97 kB / 2.028 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/4.678, allocations: 24.03 kB / 2.028 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/4.68, allocations: 1.27 MB / 2.029 GB, free: 102.4 MB / 0.6823 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.007421/4.688, allocations: 6.429 MB / 2.035 GB, free: 98.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/4.69, allocations: 1.261 MB / 2.037 GB, free: 98.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/4.692, allocations: 0.6983 MB / 2.037 GB, free: 98.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/4.693, allocations: 2.261 MB / 2.04 GB, free: 96.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/4.695, allocations: 0.8551 MB / 2.04 GB, free: 95.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 3.436e-06/4.695, allocations: 0 / 2.04 GB, free: 95.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.004826/4.7, allocations: 2.272 MB / 2.043 GB, free: 95.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/4.7, allocations: 143.9 kB / 2.043 GB, free: 95.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/4.701, allocations: 1.222 MB / 2.044 GB, free: 95.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/4.701, allocations: 45.11 kB / 2.044 GB, free: 95.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/4.702, allocations: 0.6915 MB / 2.045 GB, free: 95.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/4.702, allocations: 330.3 kB / 2.045 GB, free: 94.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/4.702, allocations: 19.97 kB / 2.045 GB, free: 94.97 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/4.702, allocations: 344.3 kB / 2.045 GB, free: 94.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/4.703, allocations: 0.5903 MB / 2.046 GB, free: 94.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/4.705, allocations: 0.8478 MB / 2.047 GB, free: 94.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/4.707, allocations: 1.501 MB / 2.048 GB, free: 94.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/4.707, allocations: 0 / 2.048 GB, free: 94.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003671/4.711, allocations: 1.822 MB / 2.05 GB, free: 93.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/4.711, allocations: 307.6 kB / 2.05 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/4.711, allocations: 7.531 kB / 2.05 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/4.711, allocations: 7.5 kB / 2.05 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/4.712, allocations: 286.4 kB / 2.051 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/4.712, allocations: 11.59 kB / 2.051 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/4.714, allocations: 236.9 kB / 2.051 GB, free: 93.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/4.714, allocations: 67.02 kB / 2.051 GB, free: 93.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/4.714, allocations: 3.875 kB / 2.051 GB, free: 93.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003211/4.717, allocations: 1.721 MB / 2.052 GB, free: 93.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/4.717, allocations: 6.531 kB / 2.052 GB, free: 93.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/4.717, allocations: 7.656 kB / 2.053 GB, free: 93.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/4.719, allocations: 280.1 kB / 2.053 GB, free: 93.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/4.719, allocations: 17.17 kB / 2.053 GB, free: 93.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/4.72, allocations: 228.8 kB / 2.053 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/4.72, allocations: 61.06 kB / 2.053 GB, free: 93.25 MB / 0.6823 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 () * Number of clocked 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.0008402/4.721, allocations: 0.4974 MB / 2.054 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/4.722, allocations: 164.2 kB / 2.054 GB, free: 92.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/4.726, allocations: 2.389 MB / 2.056 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/4.726, allocations: 13.8 kB / 2.056 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/4.726, allocations: 0 / 2.056 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/4.726, allocations: 6.359 kB / 2.056 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006971/4.733, allocations: 3.755 MB / 2.06 GB, free: 92.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/4.733, allocations: 0 / 2.06 GB, free: 92.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/4.734, allocations: 235.9 kB / 2.06 GB, free: 92.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/4.734, allocations: 6.781 kB / 2.06 GB, free: 92.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.466e-05/4.734, allocations: 44.36 kB / 2.06 GB, free: 92.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/4.734, allocations: 6.062 kB / 2.06 GB, free: 92.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/4.734, allocations: 6.75 kB / 2.06 GB, free: 92.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/4.74, allocations: 3.177 MB / 2.063 GB, free: 91.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008514/4.741, allocations: 404.8 kB / 2.063 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/4.741, allocations: 28.38 kB / 2.064 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/4.742, allocations: 174.7 kB / 2.064 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/4.742, allocations: 79.48 kB / 2.064 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/4.742, allocations: 62.11 kB / 2.064 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001062/4.743, allocations: 0.8178 MB / 2.065 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/4.743, allocations: 1.688 kB / 2.065 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002288/4.746, allocations: 0.9195 MB / 2.066 GB, free: 91.21 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001545/4.747, allocations: 0.9878 MB / 2.066 GB, free: 90.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004863/4.752, allocations: 2.754 MB / 2.069 GB, free: 90.38 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/4.752, allocations: 0 / 2.069 GB, free: 90.38 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/4.754, allocations: 1.087 MB / 2.07 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/4.758, allocations: 0.6297 MB / 2.071 GB, free: 89.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/4.764, allocations: 3.758 MB / 2.075 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/4.764, allocations: 1.276 MB / 2.076 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001808/4.766, allocations: 423.1 kB / 2.076 GB, free: 86.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/4.766, allocations: 140.1 kB / 2.076 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of SimCode: time 7.92e-07/4.766, allocations: 4 kB / 2.076 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.06447/4.831, allocations: 34.79 MB / 2.11 GB, free: 57.27 MB / 0.6823 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)