Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.833/0.833, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001309/0.001308, allocations: 183.5 kB / 191.5 MB, free: 5.766 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.56/1.56, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.000901/0.000901, allocations: 92.25 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 277.2 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004556, allocations: 11.84 kB / 0.6929 GB, free: 59.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1841, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.056, allocations: 361.4 MB / 1.127 GB, free: 8.941 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004252/1.056, allocations: 94.14 kB / 1.127 GB, free: 8.891 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.546/6.602, allocations: 1.541 GB / 2.668 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.342e-06/6.602, allocations: 3.156 kB / 2.668 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001563/6.602, allocations: 51.94 kB / 2.668 GB, free: 100.7 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004456/6.607, allocations: 2.207 MB / 2.67 GB, free: 99.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/6.607, allocations: 8.812 kB / 2.67 GB, free: 99.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/6.61, allocations: 0.6117 MB / 2.67 GB, free: 99.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/6.613, allocations: 1.495 MB / 2.672 GB, free: 99.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/6.613, allocations: 80.19 kB / 2.672 GB, free: 99.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/6.614, allocations: 113.9 kB / 2.672 GB, free: 99.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/6.616, allocations: 1.375 MB / 2.673 GB, free: 98.94 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/6.616, allocations: 4.688 kB / 2.673 GB, free: 98.94 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/6.616, allocations: 47.16 kB / 2.673 GB, free: 98.94 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/6.616, allocations: 24.88 kB / 2.673 GB, free: 98.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/6.619, allocations: 1.234 MB / 2.675 GB, free: 98.93 MB / 0.7292 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.007169/6.626, allocations: 6.658 MB / 2.681 GB, free: 95.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/6.629, allocations: 1.254 MB / 2.682 GB, free: 95.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/6.63, allocations: 2.259 MB / 2.685 GB, free: 92.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/6.632, allocations: 0.841 MB / 2.685 GB, free: 92.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=97): time 3.246e-06/6.632, allocations: 3.656 kB / 2.685 GB, free: 92.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97): time 0.004908/6.637, allocations: 2.465 MB / 2.688 GB, free: 91.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/6.637, allocations: 148.7 kB / 2.688 GB, free: 91.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/6.639, allocations: 1.068 MB / 2.689 GB, free: 91.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/6.639, allocations: 42.48 kB / 2.689 GB, free: 91.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/6.639, allocations: 0.7184 MB / 2.69 GB, free: 91.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/6.64, allocations: 317.7 kB / 2.69 GB, free: 91.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/6.64, allocations: 24.19 kB / 2.69 GB, free: 91.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.105e-05/6.64, allocations: 346.1 kB / 2.69 GB, free: 90.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/6.641, allocations: 0.5834 MB / 2.691 GB, free: 90.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/6.643, allocations: 0.8895 MB / 2.692 GB, free: 90.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/6.644, allocations: 0.7178 MB / 2.693 GB, free: 90.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/6.644, allocations: 2 kB / 2.693 GB, free: 90.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004273/6.649, allocations: 1.846 MB / 2.694 GB, free: 90.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005345/6.649, allocations: 2.254 MB / 2.697 GB, free: 87.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/6.649, allocations: 10.23 kB / 2.697 GB, free: 87.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/6.649, allocations: 11.16 kB / 2.697 GB, free: 87.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/6.651, allocations: 296.8 kB / 2.697 GB, free: 87.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/6.651, allocations: 12.94 kB / 2.697 GB, free: 87.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/6.653, allocations: 249.6 kB / 2.697 GB, free: 87.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/6.653, allocations: 66.67 kB / 2.697 GB, free: 87.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/6.653, allocations: 3.969 kB / 2.697 GB, free: 87.64 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003754/6.657, allocations: 1.74 MB / 2.699 GB, free: 87.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/6.657, allocations: 6.75 kB / 2.699 GB, free: 87.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/6.657, allocations: 13.88 kB / 2.699 GB, free: 87.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/6.658, allocations: 292.7 kB / 2.699 GB, free: 87.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/6.658, allocations: 19.48 kB / 2.699 GB, free: 87.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/6.66, allocations: 242.4 kB / 2.699 GB, free: 87.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/6.66, allocations: 62.73 kB / 2.699 GB, free: 87.48 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (117): * Single equations (assignments): 114 * 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.000973/6.661, allocations: 0.5012 MB / 2.7 GB, free: 87.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000545/6.662, allocations: 163.8 kB / 2.7 GB, free: 87.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005854/6.668, allocations: 2.354 MB / 2.702 GB, free: 86.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.554e-05/6.668, allocations: 16.48 kB / 2.702 GB, free: 86.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/6.668, allocations: 3.188 kB / 2.702 GB, free: 86.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/6.668, allocations: 6.562 kB / 2.702 GB, free: 86.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/6.675, allocations: 3.683 MB / 2.706 GB, free: 86.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/6.675, allocations: 7.297 kB / 2.706 GB, free: 86.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/6.676, allocations: 231.3 kB / 2.706 GB, free: 86.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.727e-05/6.677, allocations: 7.875 kB / 2.706 GB, free: 86.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/6.677, allocations: 42.33 kB / 2.706 GB, free: 86.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/6.677, allocations: 4.875 kB / 2.706 GB, free: 86.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/6.677, allocations: 6.547 kB / 2.706 GB, free: 86.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005795/6.682, allocations: 3.201 MB / 2.709 GB, free: 85.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/6.684, allocations: 403.5 kB / 2.71 GB, free: 85.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/6.684, allocations: 33.58 kB / 2.71 GB, free: 85.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/6.686, allocations: 176.9 kB / 2.71 GB, free: 85.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/6.686, allocations: 70.09 kB / 2.71 GB, free: 85.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/6.686, allocations: 58.22 kB / 2.71 GB, free: 85.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001495/6.687, allocations: 0.8292 MB / 2.711 GB, free: 85.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/6.687, allocations: 1.938 kB / 2.711 GB, free: 85.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003269/6.691, allocations: 0.9229 MB / 2.712 GB, free: 85.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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 (101): * Single equations (assignments): 79 * 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.001901/6.693, allocations: 0.9957 MB / 2.713 GB, free: 85.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00544/6.698, allocations: 2.775 MB / 2.716 GB, free: 84.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/6.698, allocations: 1.438 kB / 2.716 GB, free: 84.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/6.7, allocations: 1.071 MB / 2.717 GB, free: 84.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/6.703, allocations: 0.624 MB / 2.717 GB, free: 84.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006657/6.71, allocations: 3.971 MB / 2.721 GB, free: 82.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009565/6.711, allocations: 1.314 MB / 2.722 GB, free: 82.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00198/6.713, allocations: 426.2 kB / 2.723 GB, free: 81.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/6.713, allocations: 142.2 kB / 2.723 GB, free: 81.96 MB / 0.7292 GB Notification: Performance of SimCode: time 1.323e-06/6.713, allocations: 0 / 2.723 GB, free: 81.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.05127/6.765, allocations: 34.43 MB / 2.757 GB, free: 75.49 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)