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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 293 MB / 309 MB, free: 4.84 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.001057/0.001057, allocations: 168.6 kB / 378.7 MB, free: 1.047 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.757/1.757, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0008072/0.0008072, allocations: 88.25 kB / 0.7527 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004547, allocations: 12 kB / 0.8768 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2667, allocations: 116.4 MB / 0.9904 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.633/1.9, allocations: 391.1 MB / 1.372 GB, free: 277.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.9, allocations: 88.33 kB / 1.372 GB, free: 277.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.085/4.984, allocations: 0.9316 GB / 2.304 GB, free: 126.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.096e-06/4.985, allocations: 3.5 kB / 2.304 GB, free: 126.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002758/4.985, allocations: 52.94 kB / 2.304 GB, free: 126.2 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.006403/4.991, allocations: 2.176 MB / 2.306 GB, free: 124.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/4.991, allocations: 12.73 kB / 2.306 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/4.995, allocations: 0.6101 MB / 2.307 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004953/5, allocations: 1.542 MB / 2.308 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/5, allocations: 84.53 kB / 2.308 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004918/5, allocations: 117.8 kB / 2.309 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/5.004, allocations: 1.366 MB / 2.31 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/5.004, allocations: 7.781 kB / 2.31 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/5.004, allocations: 43.03 kB / 2.31 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/5.004, allocations: 24.19 kB / 2.31 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/5.008, allocations: 1.273 MB / 2.311 GB, free: 121.8 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.008805/5.016, allocations: 6.423 MB / 2.317 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/5.019, allocations: 1.268 MB / 2.319 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/5.021, allocations: 0.6909 MB / 2.319 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/5.022, allocations: 2.262 MB / 2.322 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/5.024, allocations: 0.8499 MB / 2.322 GB, free: 112.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 3.697e-06/5.024, allocations: 0 / 2.322 GB, free: 112.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.005106/5.029, allocations: 2.278 MB / 2.325 GB, free: 111.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/5.029, allocations: 145.2 kB / 2.325 GB, free: 111 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/5.031, allocations: 1.212 MB / 2.326 GB, free: 110.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/5.031, allocations: 52.12 kB / 2.326 GB, free: 110.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/5.032, allocations: 0.6939 MB / 2.327 GB, free: 109.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/5.032, allocations: 330 kB / 2.327 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/5.032, allocations: 19.88 kB / 2.327 GB, free: 109.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/5.032, allocations: 345.7 kB / 2.327 GB, free: 109 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/5.034, allocations: 0.582 MB / 2.328 GB, free: 108.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/5.035, allocations: 0.8547 MB / 2.329 GB, free: 108.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/5.038, allocations: 1.506 MB / 2.33 GB, free: 107.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/5.038, allocations: 0 / 2.33 GB, free: 107.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004429/5.043, allocations: 1.821 MB / 2.332 GB, free: 106.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/5.043, allocations: 304.9 kB / 2.332 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/5.043, allocations: 3.938 kB / 2.332 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.109e-05/5.043, allocations: 11.72 kB / 2.332 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/5.044, allocations: 283.6 kB / 2.333 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/5.044, allocations: 15.77 kB / 2.333 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/5.046, allocations: 232.4 kB / 2.333 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/5.046, allocations: 68.66 kB / 2.333 GB, free: 105.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/5.046, allocations: 3.375 kB / 2.333 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003538/5.05, allocations: 1.722 MB / 2.335 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/5.05, allocations: 6.5 kB / 2.335 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/5.05, allocations: 7.625 kB / 2.335 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/5.051, allocations: 276.7 kB / 2.335 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/5.051, allocations: 7.031 kB / 2.335 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/5.053, allocations: 238.4 kB / 2.335 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/5.053, allocations: 58.16 kB / 2.335 GB, free: 104.9 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.0009849/5.054, allocations: 0.5062 MB / 2.336 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/5.054, allocations: 162.9 kB / 2.336 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004973/5.059, allocations: 2.379 MB / 2.338 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/5.059, allocations: 17.92 kB / 2.338 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/5.059, allocations: 0 / 2.338 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/5.059, allocations: 3.984 kB / 2.338 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007436/5.067, allocations: 3.747 MB / 2.342 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/5.067, allocations: 4 kB / 2.342 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/5.068, allocations: 235.8 kB / 2.342 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/5.068, allocations: 8 kB / 2.342 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/5.068, allocations: 39.97 kB / 2.342 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/5.068, allocations: 8 kB / 2.342 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/5.068, allocations: 3.938 kB / 2.342 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006238/5.074, allocations: 3.178 MB / 2.345 GB, free: 97.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/5.076, allocations: 406.1 kB / 2.346 GB, free: 96.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000469/5.076, allocations: 28 kB / 2.346 GB, free: 96.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/5.078, allocations: 171.7 kB / 2.346 GB, free: 96.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/5.078, allocations: 76.83 kB / 2.346 GB, free: 96.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/5.078, allocations: 55.97 kB / 2.346 GB, free: 96.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001582/5.08, allocations: 0.8187 MB / 2.347 GB, free: 95.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/5.08, allocations: 0 / 2.347 GB, free: 95.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00359/5.083, allocations: 0.931 MB / 2.348 GB, free: 94.83 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.00257/5.086, allocations: 0.9761 MB / 2.349 GB, free: 94.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005264/5.091, allocations: 2.748 MB / 2.351 GB, free: 91.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/5.091, allocations: 0 / 2.351 GB, free: 91.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/5.093, allocations: 1.088 MB / 2.352 GB, free: 90.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/5.097, allocations: 0.63 MB / 2.353 GB, free: 89.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/5.103, allocations: 3.754 MB / 2.357 GB, free: 85.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/5.105, allocations: 1.279 MB / 2.358 GB, free: 84.39 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002193/5.107, allocations: 421.5 kB / 2.358 GB, free: 84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/5.107, allocations: 154.9 kB / 2.358 GB, free: 83.86 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/5.107, allocations: 0 / 2.358 GB, free: 83.86 MB / 0.948 GB Notification: Performance of Templates: time 0.0563/5.164, allocations: 34.76 MB / 2.392 GB, free: 49.96 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)