Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.7/1.7, allocations: 297.8 MB / 313.8 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 190.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.000956, allocations: 97.56 kB / 0.7808 GB, free: 43.7 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004746, allocations: 16.94 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6947, allocations: 120.3 MB / 1.026 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.712, allocations: 393.4 MB / 1.411 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/1.712, allocations: 92.17 kB / 1.411 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.969/4.681, allocations: 0.9495 GB / 2.36 GB, free: 73.18 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.505e-06/4.682, allocations: 0 / 2.36 GB, free: 73.18 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002645/4.682, allocations: 47.98 kB / 2.36 GB, free: 73.13 MB / 0.9792 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.005821/4.688, allocations: 2.188 MB / 2.362 GB, free: 70.86 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/4.688, allocations: 12.03 kB / 2.362 GB, free: 70.85 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/4.691, allocations: 0.6157 MB / 2.363 GB, free: 70.24 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005077/4.696, allocations: 1.522 MB / 2.364 GB, free: 68.66 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/4.696, allocations: 86 kB / 2.364 GB, free: 68.58 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004977/4.697, allocations: 115.8 kB / 2.365 GB, free: 68.46 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/4.7, allocations: 1.375 MB / 2.366 GB, free: 67.02 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/4.701, allocations: 0 / 2.366 GB, free: 67.02 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/4.701, allocations: 43.98 kB / 2.366 GB, free: 66.98 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/4.701, allocations: 24 kB / 2.366 GB, free: 66.96 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/4.704, allocations: 1.28 MB / 2.367 GB, free: 65.67 MB / 0.9792 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.009847/4.714, allocations: 6.425 MB / 2.374 GB, free: 58.75 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/4.717, allocations: 1.258 MB / 2.375 GB, free: 57.48 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/4.718, allocations: 0.7044 MB / 2.375 GB, free: 56.77 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/4.719, allocations: 2.253 MB / 2.378 GB, free: 54.02 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/4.721, allocations: 0.8523 MB / 2.378 GB, free: 53.13 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=100): time 5.72e-06/4.721, allocations: 0 / 2.378 GB, free: 53.13 MB / 0.9792 GB Notification: Performance of matching and sorting (n=100): time 0.005161/4.726, allocations: 2.274 MB / 2.381 GB, free: 50.84 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/4.726, allocations: 141.5 kB / 2.381 GB, free: 50.67 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/4.729, allocations: 1.226 MB / 2.382 GB, free: 49.43 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/4.729, allocations: 45.7 kB / 2.382 GB, free: 49.38 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/4.729, allocations: 0.6941 MB / 2.383 GB, free: 48.68 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/4.73, allocations: 331.2 kB / 2.383 GB, free: 48.35 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/4.73, allocations: 20 kB / 2.383 GB, free: 48.33 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001085/4.73, allocations: 345.9 kB / 2.383 GB, free: 47.99 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/4.731, allocations: 0.5758 MB / 2.384 GB, free: 47.41 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/4.733, allocations: 0.8606 MB / 2.385 GB, free: 46.44 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/4.735, allocations: 1.508 MB / 2.386 GB, free: 44.84 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/4.735, allocations: 3.984 kB / 2.386 GB, free: 44.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003885/4.739, allocations: 1.82 MB / 2.388 GB, free: 42.99 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/4.74, allocations: 303.7 kB / 2.388 GB, free: 42.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/4.74, allocations: 4 kB / 2.388 GB, free: 42.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/4.74, allocations: 8 kB / 2.388 GB, free: 42.61 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/4.741, allocations: 275.6 kB / 2.389 GB, free: 42.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/4.741, allocations: 19.92 kB / 2.389 GB, free: 42.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/4.743, allocations: 231 kB / 2.389 GB, free: 42.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/4.743, allocations: 71.84 kB / 2.389 GB, free: 42.02 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/4.743, allocations: 5.094 kB / 2.389 GB, free: 42.02 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003437/4.746, allocations: 1.719 MB / 2.391 GB, free: 40.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/4.746, allocations: 4 kB / 2.391 GB, free: 40.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/4.746, allocations: 8 kB / 2.391 GB, free: 40.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/4.747, allocations: 280 kB / 2.391 GB, free: 39.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/4.747, allocations: 15.92 kB / 2.391 GB, free: 39.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/4.749, allocations: 231 kB / 2.391 GB, free: 39.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/4.75, allocations: 63.97 kB / 2.391 GB, free: 39.69 MB / 0.9792 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.001042/4.751, allocations: 0.4918 MB / 2.392 GB, free: 39.17 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/4.751, allocations: 170 kB / 2.392 GB, free: 39 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004916/4.756, allocations: 2.376 MB / 2.394 GB, free: 36.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/4.756, allocations: 19.98 kB / 2.394 GB, free: 36.58 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/4.756, allocations: 0 / 2.394 GB, free: 36.58 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/4.756, allocations: 3.984 kB / 2.394 GB, free: 36.57 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/4.763, allocations: 3.751 MB / 2.398 GB, free: 32.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/4.763, allocations: 0 / 2.398 GB, free: 32.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/4.765, allocations: 243.7 kB / 2.398 GB, free: 32.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/4.765, allocations: 4 kB / 2.398 GB, free: 32.49 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-05/4.765, allocations: 43.97 kB / 2.398 GB, free: 32.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/4.765, allocations: 7.984 kB / 2.398 GB, free: 32.44 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/4.765, allocations: 7.938 kB / 2.398 GB, free: 32.43 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005703/4.77, allocations: 3.174 MB / 2.401 GB, free: 29.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/4.771, allocations: 406.6 kB / 2.402 GB, free: 28.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004984/4.772, allocations: 27.98 kB / 2.402 GB, free: 28.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/4.773, allocations: 183.7 kB / 2.402 GB, free: 28.58 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/4.774, allocations: 72.84 kB / 2.402 GB, free: 28.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/4.774, allocations: 55.97 kB / 2.402 GB, free: 28.45 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001437/4.775, allocations: 0.8226 MB / 2.403 GB, free: 27.63 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.61e-07/4.775, allocations: 3.938 kB / 2.403 GB, free: 27.63 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003386/4.779, allocations: 0.9207 MB / 2.404 GB, free: 26.71 MB / 0.9792 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.002151/4.781, allocations: 0.9711 MB / 2.405 GB, free: 25.76 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005106/4.786, allocations: 2.756 MB / 2.407 GB, free: 22.93 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/4.786, allocations: 4 kB / 2.407 GB, free: 22.93 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/4.788, allocations: 1.082 MB / 2.408 GB, free: 21.81 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/4.792, allocations: 0.6325 MB / 2.409 GB, free: 21.19 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006321/4.798, allocations: 3.754 MB / 2.413 GB, free: 17.39 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009908/4.799, allocations: 1.275 MB / 2.414 GB, free: 16.09 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002037/4.801, allocations: 423.7 kB / 2.414 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/4.802, allocations: 143.4 kB / 2.414 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of SimCode: time 1.052e-06/4.802, allocations: 0 / 2.414 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of Templates: time 0.5371/5.339, allocations: 34.76 MB / 2.448 GB, free: 144.4 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)