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.774/0.774, 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.001036/0.001036, allocations: 190.2 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.448/1.448, 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.0009609/0.000961, allocations: 100.9 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002672/0.002673, allocations: 270.3 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.892e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4614, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8158/1.277, allocations: 361.4 MB / 1.117 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003815/1.278, allocations: 94.75 kB / 1.117 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.442/7.72, allocations: 1.536 GB / 2.653 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.903e-06/7.72, allocations: 0 / 2.653 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002038/7.72, allocations: 53.83 kB / 2.653 GB, free: 103.5 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.005286/7.725, allocations: 1.882 MB / 2.655 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/7.725, allocations: 6.344 kB / 2.655 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/7.729, allocations: 0.6106 MB / 2.656 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/7.733, allocations: 1.48 MB / 2.657 GB, free: 102 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/7.733, allocations: 83.53 kB / 2.657 GB, free: 102 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/7.733, allocations: 110.5 kB / 2.657 GB, free: 102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/7.735, allocations: 1.201 MB / 2.659 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/7.735, allocations: 2.062 kB / 2.659 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/7.735, allocations: 48.41 kB / 2.659 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/7.735, allocations: 28.16 kB / 2.659 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/7.737, allocations: 0.8959 MB / 2.66 GB, free: 101.8 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.008877/7.746, allocations: 6.664 MB / 2.666 GB, free: 97.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/7.747, allocations: 0.9246 MB / 2.667 GB, free: 97.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/7.748, allocations: 0.5115 MB / 2.667 GB, free: 97.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/7.75, allocations: 2.255 MB / 2.67 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009339/7.75, allocations: 0.6686 MB / 2.67 GB, free: 95.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 3.717e-06/7.751, allocations: 0 / 2.67 GB, free: 95.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.002396/7.753, allocations: 1.325 MB / 2.672 GB, free: 94.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/7.753, allocations: 144.6 kB / 2.672 GB, free: 94.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/7.754, allocations: 1.049 MB / 2.673 GB, free: 94.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/7.755, allocations: 49.81 kB / 2.673 GB, free: 94.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/7.755, allocations: 0.7123 MB / 2.673 GB, free: 94.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/7.755, allocations: 312.8 kB / 2.674 GB, free: 94.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/7.755, allocations: 25.19 kB / 2.674 GB, free: 94.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/7.756, allocations: 344.8 kB / 2.674 GB, free: 93.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/7.756, allocations: 418.8 kB / 2.675 GB, free: 93.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008867/7.757, allocations: 0.7279 MB / 2.675 GB, free: 93.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007858/7.758, allocations: 0.5575 MB / 2.676 GB, free: 93.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/7.758, allocations: 0 / 2.676 GB, free: 93.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002324/7.76, allocations: 1.498 MB / 2.677 GB, free: 93.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007411/7.761, allocations: 2.262 MB / 2.679 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/7.761, allocations: 3.656 kB / 2.679 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/7.761, allocations: 10.22 kB / 2.679 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/7.762, allocations: 291.9 kB / 2.68 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/7.762, allocations: 12.81 kB / 2.68 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/7.764, allocations: 254.2 kB / 2.68 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/7.764, allocations: 76.48 kB / 2.68 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/7.764, allocations: 2.656 kB / 2.68 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002183/7.767, allocations: 1.405 MB / 2.681 GB, free: 90.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/7.767, allocations: 7.531 kB / 2.681 GB, free: 90.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/7.767, allocations: 8.219 kB / 2.681 GB, free: 90.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/7.768, allocations: 291.1 kB / 2.682 GB, free: 90.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/7.768, allocations: 18.3 kB / 2.682 GB, free: 90.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/7.769, allocations: 242.7 kB / 2.682 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/7.77, allocations: 62.69 kB / 2.682 GB, free: 90.61 MB / 0.7136 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 () * 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.0004254/7.77, allocations: 282.9 kB / 2.682 GB, free: 90.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/7.77, allocations: 161.1 kB / 2.682 GB, free: 90.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003792/7.774, allocations: 2.011 MB / 2.684 GB, free: 90.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/7.774, allocations: 17.31 kB / 2.684 GB, free: 90.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/7.774, allocations: 1.156 kB / 2.684 GB, free: 90.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/7.774, allocations: 5.672 kB / 2.684 GB, free: 90.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006683/7.781, allocations: 3.346 MB / 2.688 GB, free: 89.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/7.781, allocations: 10.08 kB / 2.688 GB, free: 89.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/7.782, allocations: 224.3 kB / 2.688 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/7.782, allocations: 7.375 kB / 2.688 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/7.782, allocations: 45.28 kB / 2.688 GB, free: 89.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/7.782, allocations: 5.156 kB / 2.688 GB, free: 89.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/7.782, allocations: 3.75 kB / 2.688 GB, free: 89.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/7.787, allocations: 2.696 MB / 2.691 GB, free: 88.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/7.788, allocations: 404.8 kB / 2.691 GB, free: 87.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000532/7.788, allocations: 34.92 kB / 2.691 GB, free: 87.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/7.79, allocations: 175.1 kB / 2.691 GB, free: 87.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/7.79, allocations: 71.23 kB / 2.691 GB, free: 87.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/7.791, allocations: 53.62 kB / 2.691 GB, free: 87.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001714/7.792, allocations: 0.804 MB / 2.692 GB, free: 87.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/7.792, allocations: 0 / 2.692 GB, free: 87.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004147/7.796, allocations: 0.932 MB / 2.693 GB, free: 87.23 MB / 0.7136 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) * 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.002998/7.799, allocations: 0.9794 MB / 2.694 GB, free: 86.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004061/7.804, allocations: 2.32 MB / 2.696 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/7.804, allocations: 0 / 2.696 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/7.805, allocations: 0.9001 MB / 2.697 GB, free: 85.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/7.809, allocations: 0.6156 MB / 2.698 GB, free: 85.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008308/7.817, allocations: 2.695 MB / 2.7 GB, free: 84.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/7.819, allocations: 1.317 MB / 2.702 GB, free: 83.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003846/7.823, allocations: 0.4921 MB / 2.702 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/7.823, allocations: 118.4 kB / 2.702 GB, free: 83.25 MB / 0.7136 GB Notification: Performance of SimCode: time 1.663e-06/7.823, allocations: 0 / 2.702 GB, free: 83.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.06976/7.893, allocations: 38.48 MB / 2.74 GB, free: 51.44 MB / 0.7136 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)