Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001212, allocations: 188 kB / 377.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.6367 GB, free: 8.609 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 93.61 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3098, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.664/1.974, allocations: 391 MB / 1.37 GB, free: 278.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.975, allocations: 92.31 kB / 1.37 GB, free: 278.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.055/5.03, allocations: 0.9372 GB / 2.307 GB, free: 124.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.425e-06/5.03, allocations: 0 / 2.307 GB, free: 124.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001507/5.03, allocations: 58.28 kB / 2.308 GB, free: 124.7 MB / 0.948 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.004697/5.035, allocations: 2.199 MB / 2.31 GB, free: 123.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/5.035, allocations: 10.94 kB / 2.31 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/5.038, allocations: 0.6071 MB / 2.31 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/5.041, allocations: 1.482 MB / 2.312 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/5.042, allocations: 78.59 kB / 2.312 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/5.042, allocations: 114.8 kB / 2.312 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/5.044, allocations: 1.36 MB / 2.313 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/5.044, allocations: 7.875 kB / 2.313 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/5.044, allocations: 45.72 kB / 2.313 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/5.044, allocations: 29.91 kB / 2.313 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/5.047, allocations: 1.271 MB / 2.315 GB, free: 120.4 MB / 0.948 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.009149/5.057, allocations: 6.419 MB / 2.321 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/5.06, allocations: 1.282 MB / 2.322 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001788/5.061, allocations: 2.261 MB / 2.324 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/5.063, allocations: 0.8517 MB / 2.325 GB, free: 111.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 7.283e-06/5.063, allocations: 0 / 2.325 GB, free: 111.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.006097/5.069, allocations: 2.504 MB / 2.328 GB, free: 109.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/5.07, allocations: 145.2 kB / 2.328 GB, free: 109.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/5.071, allocations: 1.059 MB / 2.329 GB, free: 109.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/5.071, allocations: 49.39 kB / 2.329 GB, free: 109 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/5.072, allocations: 0.6896 MB / 2.329 GB, free: 108.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/5.072, allocations: 333.4 kB / 2.33 GB, free: 108.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/5.073, allocations: 19.45 kB / 2.33 GB, free: 108.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001264/5.073, allocations: 341.8 kB / 2.33 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/5.074, allocations: 0.5815 MB / 2.331 GB, free: 107.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/5.076, allocations: 0.856 MB / 2.332 GB, free: 106.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/5.077, allocations: 0.7123 MB / 2.332 GB, free: 106.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/5.077, allocations: 0 / 2.332 GB, free: 106.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004214/5.082, allocations: 1.812 MB / 2.334 GB, free: 105.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006194/5.082, allocations: 1.72 MB / 2.336 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/5.082, allocations: 3.625 kB / 2.336 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.036e-05/5.082, allocations: 11.62 kB / 2.336 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/5.083, allocations: 281 kB / 2.336 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/5.083, allocations: 11.47 kB / 2.336 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/5.085, allocations: 237 kB / 2.336 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/5.086, allocations: 62.48 kB / 2.336 GB, free: 103.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/5.086, allocations: 6.312 kB / 2.336 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003589/5.089, allocations: 1.715 MB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/5.089, allocations: 3.781 kB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/5.089, allocations: 12.09 kB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/5.09, allocations: 286.8 kB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/5.09, allocations: 6.781 kB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/5.093, allocations: 235.4 kB / 2.338 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/5.093, allocations: 66.2 kB / 2.339 GB, free: 102.6 MB / 0.948 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.001313/5.094, allocations: 499.1 kB / 2.339 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/5.094, allocations: 170.9 kB / 2.339 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/5.099, allocations: 2.383 MB / 2.341 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/5.099, allocations: 14.89 kB / 2.341 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/5.099, allocations: 0 / 2.341 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/5.099, allocations: 7.984 kB / 2.341 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00646/5.106, allocations: 3.737 MB / 2.345 GB, free: 97.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/5.106, allocations: 0 / 2.345 GB, free: 97.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/5.107, allocations: 239.8 kB / 2.345 GB, free: 97.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/5.107, allocations: 4 kB / 2.345 GB, free: 97.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/5.107, allocations: 43.97 kB / 2.345 GB, free: 97.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/5.107, allocations: 7.938 kB / 2.345 GB, free: 97.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/5.107, allocations: 4 kB / 2.345 GB, free: 97.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/5.112, allocations: 3.242 MB / 2.349 GB, free: 94.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009565/5.113, allocations: 410.5 kB / 2.349 GB, free: 93.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/5.114, allocations: 28 kB / 2.349 GB, free: 93.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/5.115, allocations: 175.8 kB / 2.349 GB, free: 93.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/5.115, allocations: 71.73 kB / 2.349 GB, free: 93.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/5.115, allocations: 59.97 kB / 2.349 GB, free: 93.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001171/5.116, allocations: 0.8186 MB / 2.35 GB, free: 92.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/5.116, allocations: 0 / 2.35 GB, free: 92.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002696/5.119, allocations: 0.9167 MB / 2.351 GB, free: 91.76 MB / 0.948 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.001828/5.121, allocations: 0.9807 MB / 2.352 GB, free: 90.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004999/5.126, allocations: 2.761 MB / 2.355 GB, free: 88.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/5.126, allocations: 0 / 2.355 GB, free: 88.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001684/5.127, allocations: 1.082 MB / 2.356 GB, free: 87 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/5.13, allocations: 0.626 MB / 2.356 GB, free: 86.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/5.136, allocations: 3.756 MB / 2.36 GB, free: 82.63 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/5.136, allocations: 1.306 MB / 2.361 GB, free: 81.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001759/5.138, allocations: 424.5 kB / 2.362 GB, free: 80.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/5.139, allocations: 135.4 kB / 2.362 GB, free: 80.77 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/5.139, allocations: 7.938 kB / 2.362 GB, free: 80.77 MB / 0.948 GB Notification: Performance of Templates: time 0.05429/5.193, allocations: 34.28 MB / 2.395 GB, free: 47.37 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)