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.8244/0.8244, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001028/0.001028, allocations: 172.8 kB / 182.2 MB, free: 9.445 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.558/1.558, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001021/0.001021, allocations: 72.14 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 282.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.154e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4791, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.826/1.305, allocations: 360.5 MB / 1.109 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.306, allocations: 92.83 kB / 1.11 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.164/5.469, allocations: 0.9485 GB / 2.058 GB, free: 95.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.093e-06/5.469, allocations: 0 / 2.058 GB, free: 95.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003372/5.47, allocations: 57.53 kB / 2.058 GB, free: 95.1 MB / 0.698 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.006089/5.476, allocations: 1.879 MB / 2.06 GB, free: 94.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/5.476, allocations: 7.25 kB / 2.06 GB, free: 94.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/5.48, allocations: 0.6108 MB / 2.06 GB, free: 94.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/5.485, allocations: 1.469 MB / 2.062 GB, free: 93.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/5.485, allocations: 32.06 kB / 2.062 GB, free: 93.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004671/5.486, allocations: 67.41 kB / 2.062 GB, free: 93.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002343/5.488, allocations: 0.8602 MB / 2.063 GB, free: 93.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/5.49, allocations: 1.053 MB / 2.064 GB, free: 93.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/5.49, allocations: 2.062 kB / 2.064 GB, free: 93.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/5.49, allocations: 3.469 kB / 2.064 GB, free: 93.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/5.49, allocations: 28.69 kB / 2.064 GB, free: 93.51 MB / 0.698 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.009999/5.5, allocations: 6.228 MB / 2.07 GB, free: 89.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/5.502, allocations: 0.9163 MB / 2.071 GB, free: 89.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007144/5.503, allocations: 0.4971 MB / 2.071 GB, free: 89.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/5.505, allocations: 2.265 MB / 2.074 GB, free: 87.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/5.506, allocations: 0.6547 MB / 2.074 GB, free: 87.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 6.422e-06/5.506, allocations: 0 / 2.074 GB, free: 87.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.004257/5.51, allocations: 1.457 MB / 2.076 GB, free: 87.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/5.51, allocations: 147.8 kB / 2.076 GB, free: 86.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/5.512, allocations: 0.8903 MB / 2.077 GB, free: 86.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/5.512, allocations: 29.61 kB / 2.077 GB, free: 86.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009019/5.513, allocations: 0.7082 MB / 2.077 GB, free: 86.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/5.514, allocations: 319.7 kB / 2.078 GB, free: 86.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/5.514, allocations: 0 / 2.078 GB, free: 86.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001109/5.514, allocations: 346.7 kB / 2.078 GB, free: 85.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/5.514, allocations: 406.4 kB / 2.078 GB, free: 85.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007971/5.515, allocations: 0.6536 MB / 2.079 GB, free: 85.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/5.517, allocations: 0.6975 MB / 2.08 GB, free: 85.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/5.518, allocations: 1.203 kB / 2.08 GB, free: 85.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003908/5.521, allocations: 1.567 MB / 2.081 GB, free: 85.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006214/5.522, allocations: 1.715 MB / 2.083 GB, free: 83.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/5.522, allocations: 7.75 kB / 2.083 GB, free: 83.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.945e-05/5.522, allocations: 7.719 kB / 2.083 GB, free: 83.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/5.523, allocations: 286.2 kB / 2.083 GB, free: 83.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.724e-05/5.523, allocations: 14.45 kB / 2.083 GB, free: 83.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/5.525, allocations: 200.8 kB / 2.083 GB, free: 83.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/5.526, allocations: 65.86 kB / 2.083 GB, free: 83.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/5.526, allocations: 4.594 kB / 2.083 GB, free: 83.69 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003423/5.529, allocations: 1.438 MB / 2.085 GB, free: 83.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/5.529, allocations: 7.438 kB / 2.085 GB, free: 83.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/5.529, allocations: 9.5 kB / 2.085 GB, free: 83.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/5.53, allocations: 277.6 kB / 2.085 GB, free: 83.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/5.53, allocations: 13.38 kB / 2.085 GB, free: 83.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/5.532, allocations: 197.1 kB / 2.085 GB, free: 83.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/5.532, allocations: 59.02 kB / 2.085 GB, free: 83.62 MB / 0.698 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.0004471/5.533, allocations: 248.8 kB / 2.086 GB, free: 83.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005635/5.533, allocations: 157.2 kB / 2.086 GB, free: 83.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005013/5.538, allocations: 2.058 MB / 2.088 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/5.539, allocations: 11.97 kB / 2.088 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/5.539, allocations: 0 / 2.088 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/5.539, allocations: 10.55 kB / 2.088 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007566/5.546, allocations: 3.293 MB / 2.091 GB, free: 82.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/5.546, allocations: 2.156 kB / 2.091 GB, free: 82.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/5.547, allocations: 228.9 kB / 2.091 GB, free: 82.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.323e-05/5.547, allocations: 6.906 kB / 2.091 GB, free: 82.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/5.548, allocations: 35.39 kB / 2.091 GB, free: 82.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.274e-05/5.548, allocations: 8.359 kB / 2.091 GB, free: 82.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/5.548, allocations: 7.859 kB / 2.091 GB, free: 82.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005138/5.553, allocations: 2.749 MB / 2.094 GB, free: 82.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/5.554, allocations: 390 kB / 2.094 GB, free: 82.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/5.554, allocations: 13 kB / 2.094 GB, free: 82.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/5.556, allocations: 161.2 kB / 2.095 GB, free: 82.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/5.556, allocations: 78.41 kB / 2.095 GB, free: 82.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/5.556, allocations: 55.91 kB / 2.095 GB, free: 82.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001364/5.558, allocations: 0.6764 MB / 2.095 GB, free: 82.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.893e-06/5.558, allocations: 0 / 2.095 GB, free: 82.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003878/5.562, allocations: 0.8882 MB / 2.096 GB, free: 81.95 MB / 0.698 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.002514/5.564, allocations: 0.9944 MB / 2.097 GB, free: 81.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003296/5.567, allocations: 2.205 MB / 2.099 GB, free: 81.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/5.568, allocations: 0 / 2.099 GB, free: 81.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/5.569, allocations: 0.8917 MB / 2.1 GB, free: 81.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/5.572, allocations: 0.5383 MB / 2.101 GB, free: 81.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/5.577, allocations: 2.413 MB / 2.103 GB, free: 80.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/5.579, allocations: 1.312 MB / 2.104 GB, free: 79.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002982/5.582, allocations: 492.4 kB / 2.105 GB, free: 79.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/5.582, allocations: 120.5 kB / 2.105 GB, free: 79.71 MB / 0.698 GB Notification: Performance of SimCode: time 4.018e-06/5.582, allocations: 0 / 2.105 GB, free: 79.71 MB / 0.698 GB Notification: Performance of Templates: time 0.06038/5.643, allocations: 31.75 MB / 2.136 GB, free: 77.5 MB / 0.698 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)