Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.299/1.299, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 188.7 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009497/0.0009496, allocations: 87.58 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004043, allocations: 15.41 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1872, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.742/0.9292, allocations: 382.5 MB / 1.275 GB, free: 252 kB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.9295, allocations: 94.12 kB / 1.275 GB, free: 200 kB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.703/3.632, allocations: 0.9036 GB / 2.178 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.183e-06/3.632, allocations: 0 / 2.178 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000214/3.633, allocations: 51.41 kB / 2.178 GB, free: 142.5 MB / 0.8855 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.004597/3.637, allocations: 2.182 MB / 2.181 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/3.637, allocations: 10.53 kB / 2.181 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/3.64, allocations: 0.6101 MB / 2.181 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/3.644, allocations: 1.539 MB / 2.183 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/3.644, allocations: 79.94 kB / 2.183 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/3.644, allocations: 112.1 kB / 2.183 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/3.647, allocations: 1.382 MB / 2.184 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/3.647, allocations: 2.25 kB / 2.184 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/3.647, allocations: 46.22 kB / 2.184 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/3.647, allocations: 23.16 kB / 2.184 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/3.65, allocations: 1.268 MB / 2.186 GB, free: 140.8 MB / 0.8855 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.008243/3.658, allocations: 6.42 MB / 2.192 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/3.661, allocations: 1.26 MB / 2.193 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/3.662, allocations: 0.6922 MB / 2.194 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/3.663, allocations: 2.268 MB / 2.196 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/3.665, allocations: 0.8498 MB / 2.197 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=100): time 3.547e-06/3.665, allocations: 3.562 kB / 2.197 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100): time 0.004542/3.669, allocations: 2.268 MB / 2.199 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/3.669, allocations: 140.9 kB / 2.199 GB, free: 134 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/3.671, allocations: 1.223 MB / 2.2 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/3.671, allocations: 48.64 kB / 2.2 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/3.672, allocations: 0.693 MB / 2.201 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/3.672, allocations: 327.4 kB / 2.201 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/3.672, allocations: 20.72 kB / 2.201 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.819e-05/3.672, allocations: 344.6 kB / 2.202 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/3.673, allocations: 0.5827 MB / 2.202 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/3.675, allocations: 0.8565 MB / 2.203 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/3.677, allocations: 1.502 MB / 2.205 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/3.677, allocations: 3.938 kB / 2.205 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003533/3.681, allocations: 1.818 MB / 2.206 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/3.681, allocations: 303.4 kB / 2.207 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/3.681, allocations: 3.75 kB / 2.207 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/3.681, allocations: 9.469 kB / 2.207 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/3.682, allocations: 287.9 kB / 2.207 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/3.682, allocations: 8.875 kB / 2.207 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/3.684, allocations: 238 kB / 2.207 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/3.684, allocations: 65.56 kB / 2.207 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/3.684, allocations: 10.8 kB / 2.207 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003326/3.687, allocations: 1.721 MB / 2.209 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/3.687, allocations: 5.625 kB / 2.209 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/3.687, allocations: 10.12 kB / 2.209 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/3.689, allocations: 279.3 kB / 2.209 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/3.689, allocations: 15.77 kB / 2.209 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/3.69, allocations: 231.5 kB / 2.209 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/3.69, allocations: 57.08 kB / 2.209 GB, free: 131.7 MB / 0.8855 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.0009913/3.691, allocations: 499.8 kB / 2.21 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/3.692, allocations: 167.3 kB / 2.21 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004707/3.697, allocations: 2.38 MB / 2.212 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/3.697, allocations: 22.95 kB / 2.212 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/3.697, allocations: 0 / 2.212 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/3.697, allocations: 3.328 kB / 2.212 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005971/3.703, allocations: 3.76 MB / 2.216 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/3.703, allocations: 0 / 2.216 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/3.704, allocations: 237.8 kB / 2.216 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/3.704, allocations: 3.094 kB / 2.216 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.753e-05/3.704, allocations: 42.78 kB / 2.216 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/3.704, allocations: 5.438 kB / 2.216 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/3.704, allocations: 4.656 kB / 2.216 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00498/3.709, allocations: 3.178 MB / 2.22 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/3.709, allocations: 411.9 kB / 2.22 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/3.71, allocations: 31.47 kB / 2.22 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/3.711, allocations: 171.8 kB / 2.22 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/3.711, allocations: 79.91 kB / 2.22 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.512e-05/3.711, allocations: 57.22 kB / 2.22 GB, free: 130 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00107/3.712, allocations: 0.8174 MB / 2.221 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.11e-07/3.712, allocations: 0 / 2.221 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002449/3.715, allocations: 0.9267 MB / 2.222 GB, free: 129.8 MB / 0.8855 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.001699/3.716, allocations: 0.9688 MB / 2.223 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00447/3.721, allocations: 2.758 MB / 2.226 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/3.721, allocations: 0 / 2.226 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/3.722, allocations: 1.085 MB / 2.227 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/3.725, allocations: 0.622 MB / 2.227 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/3.73, allocations: 3.76 MB / 2.231 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/3.731, allocations: 1.281 MB / 2.232 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001483/3.732, allocations: 426.3 kB / 2.233 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/3.733, allocations: 144.2 kB / 2.233 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of SimCode: time 3.41e-07/3.733, allocations: 0 / 2.233 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.04692/3.779, allocations: 34.76 MB / 2.267 GB, free: 124.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)