Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.815/1.815, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001358/0.001358, allocations: 187.5 kB / 371.8 MB, free: 10.28 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.336/2.336, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 94.66 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003994, allocations: 15.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.302, allocations: 390 MB / 1.36 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.302, allocations: 88.2 kB / 1.36 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.692/4.994, allocations: 0.9372 GB / 2.298 GB, free: 163.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.543e-06/4.994, allocations: 3.188 kB / 2.298 GB, free: 163.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002669/4.994, allocations: 54.52 kB / 2.298 GB, free: 163.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.006463/5.001, allocations: 2.202 MB / 2.3 GB, free: 162.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/5.001, allocations: 12.5 kB / 2.3 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005205/5.001, allocations: 160.4 kB / 2.3 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/5.005, allocations: 0.6094 MB / 2.301 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/5.009, allocations: 1.482 MB / 2.302 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/5.009, allocations: 82.81 kB / 2.302 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/5.009, allocations: 108.6 kB / 2.302 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/5.011, allocations: 1.369 MB / 2.304 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/5.011, allocations: 0 / 2.304 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/5.012, allocations: 44.12 kB / 2.304 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/5.012, allocations: 26.69 kB / 2.304 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/5.015, allocations: 1.272 MB / 2.305 GB, free: 161.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.009622/5.025, allocations: 6.426 MB / 2.311 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/5.028, allocations: 1.28 MB / 2.312 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/5.029, allocations: 2.264 MB / 2.315 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/5.031, allocations: 0.8518 MB / 2.315 GB, free: 155.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 4.899e-06/5.031, allocations: 0 / 2.315 GB, free: 155.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.005367/5.036, allocations: 2.503 MB / 2.318 GB, free: 154.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/5.036, allocations: 150.6 kB / 2.318 GB, free: 154.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/5.038, allocations: 1.057 MB / 2.319 GB, free: 154.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/5.038, allocations: 48.39 kB / 2.319 GB, free: 154.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/5.039, allocations: 0.6961 MB / 2.32 GB, free: 154.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/5.039, allocations: 327.8 kB / 2.32 GB, free: 153.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/5.039, allocations: 19.81 kB / 2.32 GB, free: 153.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001104/5.039, allocations: 340.3 kB / 2.32 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/5.041, allocations: 0.585 MB / 2.321 GB, free: 153.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/5.042, allocations: 0.8542 MB / 2.322 GB, free: 153 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/5.044, allocations: 0.7077 MB / 2.323 GB, free: 152.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/5.044, allocations: 0 / 2.323 GB, free: 152.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003724/5.047, allocations: 1.813 MB / 2.324 GB, free: 152.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004478/5.048, allocations: 1.717 MB / 2.326 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/5.048, allocations: 3.875 kB / 2.326 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/5.048, allocations: 11.59 kB / 2.326 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/5.049, allocations: 283.6 kB / 2.326 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/5.049, allocations: 9.062 kB / 2.326 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/5.051, allocations: 239.2 kB / 2.326 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/5.051, allocations: 58.92 kB / 2.327 GB, free: 150.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/5.051, allocations: 12.2 kB / 2.327 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003424/5.054, allocations: 1.72 MB / 2.328 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/5.055, allocations: 3 kB / 2.328 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/5.055, allocations: 9.406 kB / 2.328 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/5.056, allocations: 275.4 kB / 2.329 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/5.056, allocations: 17.12 kB / 2.329 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/5.057, allocations: 228.8 kB / 2.329 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/5.058, allocations: 63.2 kB / 2.329 GB, free: 149.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.0009782/5.059, allocations: 0.4996 MB / 2.329 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/5.059, allocations: 164.4 kB / 2.329 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/5.063, allocations: 2.382 MB / 2.332 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/5.064, allocations: 18.77 kB / 2.332 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/5.064, allocations: 0 / 2.332 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/5.064, allocations: 3.891 kB / 2.332 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006623/5.07, allocations: 3.741 MB / 2.335 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/5.07, allocations: 0 / 2.335 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/5.071, allocations: 238.2 kB / 2.336 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/5.071, allocations: 6.344 kB / 2.336 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/5.071, allocations: 44.69 kB / 2.336 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/5.071, allocations: 3.75 kB / 2.336 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/5.071, allocations: 7.875 kB / 2.336 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005846/5.077, allocations: 3.234 MB / 2.339 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/5.079, allocations: 403.3 kB / 2.339 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/5.079, allocations: 45.22 kB / 2.339 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/5.08, allocations: 178.6 kB / 2.34 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/5.081, allocations: 72.34 kB / 2.34 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/5.081, allocations: 54.22 kB / 2.34 GB, free: 144.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001531/5.082, allocations: 0.8257 MB / 2.34 GB, free: 143.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/5.082, allocations: 0 / 2.34 GB, free: 143.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003093/5.085, allocations: 0.9136 MB / 2.341 GB, free: 143.4 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.007714/5.093, allocations: 4.887 MB / 2.346 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005271/5.098, allocations: 2.761 MB / 2.349 GB, free: 139.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/5.098, allocations: 0 / 2.349 GB, free: 139.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/5.1, allocations: 1.079 MB / 2.35 GB, free: 138.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/5.104, allocations: 0.6348 MB / 2.35 GB, free: 138.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/5.123, allocations: 12.9 MB / 2.363 GB, free: 129.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/5.124, allocations: 1.308 MB / 2.364 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001944/5.126, allocations: 425.3 kB / 2.365 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008193/5.127, allocations: 0.6596 MB / 2.365 GB, free: 127.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/5.127, allocations: 0 / 2.365 GB, free: 127.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08351/5.211, allocations: 50.79 MB / 2.415 GB, free: 79.23 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/5.211, allocations: 239.3 kB / 2.415 GB, free: 78.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.943/9.153, allocations: 4 kB / 2.415 GB, free: 78.98 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)