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.823/0.823, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001155/0.001155, allocations: 183.1 kB / 191.5 MB, free: 5.758 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.642/1.642, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.001013/0.001014, allocations: 91.61 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 271.8 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004246, allocations: 15.08 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1942, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8587/1.053, allocations: 361.2 MB / 1.126 GB, free: 9.094 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.053, allocations: 93.14 kB / 1.127 GB, free: 9.047 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.661/4.715, allocations: 0.956 GB / 2.083 GB, free: 97.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.673e-06/4.715, allocations: 0 / 2.083 GB, free: 97.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001741/4.715, allocations: 48.84 kB / 2.083 GB, free: 97.65 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.0056/4.72, allocations: 2.198 MB / 2.085 GB, free: 96.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/4.72, allocations: 11.34 kB / 2.085 GB, free: 96.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/4.724, allocations: 0.6091 MB / 2.085 GB, free: 96.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/4.729, allocations: 1.478 MB / 2.087 GB, free: 96.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/4.729, allocations: 82.84 kB / 2.087 GB, free: 96.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/4.73, allocations: 115.6 kB / 2.087 GB, free: 96.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/4.733, allocations: 1.365 MB / 2.088 GB, free: 95.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/4.733, allocations: 3.562 kB / 2.088 GB, free: 95.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/4.734, allocations: 42.28 kB / 2.088 GB, free: 95.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/4.734, allocations: 28.81 kB / 2.088 GB, free: 95.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00432/4.738, allocations: 1.265 MB / 2.09 GB, free: 95.9 MB / 0.7136 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.01103/4.749, allocations: 6.442 MB / 2.096 GB, free: 92.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/4.753, allocations: 1.27 MB / 2.097 GB, free: 92.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001677/4.755, allocations: 2.257 MB / 2.099 GB, free: 89.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/4.757, allocations: 0.8533 MB / 2.1 GB, free: 89.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=100): time 5.01e-06/4.757, allocations: 0 / 2.1 GB, free: 89.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=100): time 0.007024/4.764, allocations: 2.506 MB / 2.103 GB, free: 89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/4.764, allocations: 143.1 kB / 2.103 GB, free: 88.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/4.767, allocations: 1.059 MB / 2.104 GB, free: 88.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/4.767, allocations: 47.8 kB / 2.104 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/4.768, allocations: 0.6964 MB / 2.105 GB, free: 88.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/4.768, allocations: 332.2 kB / 2.105 GB, free: 88.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/4.768, allocations: 15.34 kB / 2.105 GB, free: 88.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/4.768, allocations: 346.4 kB / 2.105 GB, free: 87.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/4.77, allocations: 0.5863 MB / 2.106 GB, free: 87.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/4.771, allocations: 0.8531 MB / 2.107 GB, free: 87.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/4.773, allocations: 0.7081 MB / 2.107 GB, free: 87.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/4.773, allocations: 0 / 2.107 GB, free: 87.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004134/4.777, allocations: 1.818 MB / 2.109 GB, free: 87.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004388/4.777, allocations: 1.707 MB / 2.111 GB, free: 85.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/4.777, allocations: 6.375 kB / 2.111 GB, free: 85.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.024e-05/4.777, allocations: 15.7 kB / 2.111 GB, free: 85.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/4.779, allocations: 277.7 kB / 2.111 GB, free: 85.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/4.779, allocations: 17.73 kB / 2.111 GB, free: 85.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/4.781, allocations: 232.5 kB / 2.111 GB, free: 85.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/4.781, allocations: 61.81 kB / 2.111 GB, free: 85.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/4.781, allocations: 4.281 kB / 2.111 GB, free: 85.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003645/4.784, allocations: 1.716 MB / 2.113 GB, free: 85.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/4.784, allocations: 5.625 kB / 2.113 GB, free: 85.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/4.784, allocations: 11.19 kB / 2.113 GB, free: 85.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/4.786, allocations: 280.1 kB / 2.113 GB, free: 85.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/4.786, allocations: 14.03 kB / 2.113 GB, free: 85.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/4.787, allocations: 235 kB / 2.114 GB, free: 85.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/4.788, allocations: 57.31 kB / 2.114 GB, free: 85.3 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 () * 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.0009633/4.789, allocations: 0.4949 MB / 2.114 GB, free: 85.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004626/4.789, allocations: 164.9 kB / 2.114 GB, free: 84.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/4.795, allocations: 2.384 MB / 2.117 GB, free: 84.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.485e-05/4.795, allocations: 18.14 kB / 2.117 GB, free: 84.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/4.795, allocations: 0 / 2.117 GB, free: 84.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/4.795, allocations: 7.781 kB / 2.117 GB, free: 84.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/4.804, allocations: 3.731 MB / 2.12 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/4.804, allocations: 10.97 kB / 2.12 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/4.805, allocations: 233 kB / 2.12 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-05/4.805, allocations: 7.828 kB / 2.12 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/4.805, allocations: 42.47 kB / 2.121 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/4.805, allocations: 10.95 kB / 2.121 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/4.805, allocations: 0.6562 kB / 2.121 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006267/4.812, allocations: 3.243 MB / 2.124 GB, free: 83.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/4.813, allocations: 408.5 kB / 2.124 GB, free: 83.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004808/4.813, allocations: 25.44 kB / 2.124 GB, free: 83.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/4.815, allocations: 177.9 kB / 2.124 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/4.815, allocations: 76.7 kB / 2.124 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/4.815, allocations: 66.14 kB / 2.124 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001555/4.817, allocations: 0.8203 MB / 2.125 GB, free: 83.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/4.817, allocations: 0 / 2.125 GB, free: 83.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003711/4.82, allocations: 0.9169 MB / 2.126 GB, free: 83.26 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) * 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.002364/4.823, allocations: 0.982 MB / 2.127 GB, free: 83.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005634/4.828, allocations: 2.76 MB / 2.13 GB, free: 82.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/4.829, allocations: 0 / 2.13 GB, free: 82.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/4.83, allocations: 1.081 MB / 2.131 GB, free: 82.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/4.834, allocations: 0.6229 MB / 2.131 GB, free: 82.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00676/4.841, allocations: 3.758 MB / 2.135 GB, free: 80.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/4.842, allocations: 1.308 MB / 2.136 GB, free: 80.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002111/4.844, allocations: 432 kB / 2.137 GB, free: 79.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/4.844, allocations: 139 kB / 2.137 GB, free: 79.93 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/4.844, allocations: 0 / 2.137 GB, free: 79.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.05647/4.901, allocations: 34.31 MB / 2.17 GB, free: 77.61 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)