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.646/1.646, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001123/0.001123, allocations: 180.2 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.001225/0.001225, allocations: 88.81 kB / 0.745 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.264e-05/4.279e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.581, allocations: 390.9 MB / 1.362 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/1.582, allocations: 88.52 kB / 1.362 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.357/5.938, allocations: 0.9343 GB / 2.296 GB, free: 133 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.734e-06/5.938, allocations: 1.5 kB / 2.296 GB, free: 133 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003295/5.939, allocations: 51.48 kB / 2.296 GB, free: 133 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.006316/5.945, allocations: 1.882 MB / 2.298 GB, free: 132 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/5.945, allocations: 7.469 kB / 2.298 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00386/5.949, allocations: 0.6104 MB / 2.298 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005444/5.954, allocations: 1.462 MB / 2.3 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/5.955, allocations: 79.97 kB / 2.3 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005543/5.955, allocations: 112.2 kB / 2.3 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/5.959, allocations: 1.183 MB / 2.301 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/5.959, allocations: 3.562 kB / 2.301 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/5.959, allocations: 46.91 kB / 2.301 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/5.959, allocations: 28.52 kB / 2.301 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/5.961, allocations: 0.9235 MB / 2.302 GB, free: 131.3 MB / 0.948 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.0107/5.972, allocations: 6.434 MB / 2.308 GB, free: 126.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/5.974, allocations: 0.9493 MB / 2.309 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/5.975, allocations: 0.5213 MB / 2.31 GB, free: 126.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/5.976, allocations: 2.262 MB / 2.312 GB, free: 123.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/5.977, allocations: 0.6834 MB / 2.313 GB, free: 123.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 5.821e-06/5.977, allocations: 0 / 2.313 GB, free: 123.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.002866/5.98, allocations: 1.336 MB / 2.314 GB, free: 122.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.637e-05/5.98, allocations: 153.9 kB / 2.314 GB, free: 122.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/5.983, allocations: 1.029 MB / 2.315 GB, free: 122.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/5.983, allocations: 49.55 kB / 2.315 GB, free: 122.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000745/5.984, allocations: 0.6868 MB / 2.316 GB, free: 121.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/5.984, allocations: 332.2 kB / 2.316 GB, free: 121.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/5.984, allocations: 23.12 kB / 2.316 GB, free: 121.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/5.984, allocations: 343.3 kB / 2.317 GB, free: 121 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/5.985, allocations: 417.5 kB / 2.317 GB, free: 120.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000902/5.986, allocations: 0.6866 MB / 2.318 GB, free: 120.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/5.987, allocations: 0.5456 MB / 2.318 GB, free: 120.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/5.987, allocations: 0 / 2.318 GB, free: 120.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00293/5.99, allocations: 1.471 MB / 2.32 GB, free: 119.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006136/5.99, allocations: 1.718 MB / 2.321 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/5.99, allocations: 3.938 kB / 2.321 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.888e-05/5.99, allocations: 7.031 kB / 2.321 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/5.992, allocations: 282.6 kB / 2.322 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-05/5.992, allocations: 15.48 kB / 2.322 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/5.994, allocations: 240.1 kB / 2.322 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/5.994, allocations: 60.06 kB / 2.322 GB, free: 117.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/5.994, allocations: 3.875 kB / 2.322 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002353/5.997, allocations: 1.377 MB / 2.323 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/5.997, allocations: 11.33 kB / 2.323 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/5.997, allocations: 11 kB / 2.323 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/5.998, allocations: 274.3 kB / 2.323 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/5.998, allocations: 13.28 kB / 2.323 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/6, allocations: 233.7 kB / 2.324 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/6, allocations: 63.12 kB / 2.324 GB, free: 117 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 () * 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.0004855/6.001, allocations: 267.9 kB / 2.324 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/6.001, allocations: 166.9 kB / 2.324 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/6.006, allocations: 2.033 MB / 2.326 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-05/6.006, allocations: 25.64 kB / 2.326 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/6.006, allocations: 0 / 2.326 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/6.006, allocations: 7.625 kB / 2.326 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/6.013, allocations: 3.402 MB / 2.33 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/6.013, allocations: 3.125 kB / 2.33 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/6.014, allocations: 239.5 kB / 2.33 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.069e-05/6.014, allocations: 3.531 kB / 2.33 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/6.014, allocations: 45.7 kB / 2.33 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/6.014, allocations: 3.812 kB / 2.33 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/6.014, allocations: 3.703 kB / 2.33 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/6.018, allocations: 2.73 MB / 2.332 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/6.019, allocations: 412.8 kB / 2.333 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005852/6.02, allocations: 34.48 kB / 2.333 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/6.022, allocations: 163.4 kB / 2.333 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/6.022, allocations: 83.39 kB / 2.333 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/6.022, allocations: 56.56 kB / 2.333 GB, free: 112.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001767/6.024, allocations: 0.7977 MB / 2.334 GB, free: 112.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/6.024, allocations: 0 / 2.334 GB, free: 112.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004301/6.028, allocations: 0.9146 MB / 2.335 GB, free: 112.3 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) * 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.003053/6.031, allocations: 0.9784 MB / 2.336 GB, free: 112 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004899/6.036, allocations: 2.302 MB / 2.338 GB, free: 110.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/6.036, allocations: 3.5 kB / 2.338 GB, free: 110.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/6.038, allocations: 0.9148 MB / 2.339 GB, free: 110.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/6.043, allocations: 0.6296 MB / 2.34 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007557/6.05, allocations: 2.482 MB / 2.342 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/6.052, allocations: 1.312 MB / 2.343 GB, free: 108.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003463/6.055, allocations: 0.4925 MB / 2.344 GB, free: 108.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/6.056, allocations: 120 kB / 2.344 GB, free: 108.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/6.056, allocations: 0 / 2.344 GB, free: 108.5 MB / 0.948 GB Notification: Performance of Templates: time 0.07156/6.127, allocations: 38.33 MB / 2.381 GB, free: 90.81 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)