Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.866/2.866, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001744/0.001744, allocations: 181.8 kB / 370.8 MB, free: 10.86 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.09/2.09, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001191/0.001191, allocations: 112 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005076, allocations: 12.22 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2343, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.504, allocations: 389.8 MB / 1.359 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.504, allocations: 95.08 kB / 1.359 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.122/6.626, allocations: 0.9372 GB / 2.296 GB, free: 166.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.006e-06/6.626, allocations: 0 / 2.296 GB, free: 166.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002386/6.627, allocations: 59.14 kB / 2.296 GB, free: 166.1 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.007325/6.634, allocations: 2.2 MB / 2.298 GB, free: 165 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/6.634, allocations: 11.59 kB / 2.298 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006202/6.635, allocations: 161.2 kB / 2.299 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/6.64, allocations: 0.6093 MB / 2.299 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006088/6.646, allocations: 1.478 MB / 2.301 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/6.646, allocations: 79.22 kB / 2.301 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/6.647, allocations: 112.9 kB / 2.301 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004678/6.652, allocations: 1.368 MB / 2.302 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.847e-05/6.652, allocations: 2.875 kB / 2.302 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/6.652, allocations: 39.44 kB / 2.302 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/6.652, allocations: 25.28 kB / 2.302 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005999/6.658, allocations: 1.272 MB / 2.304 GB, free: 164.2 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.01336/6.671, allocations: 6.42 MB / 2.31 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/6.677, allocations: 1.276 MB / 2.311 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002088/6.679, allocations: 2.26 MB / 2.313 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0034/6.682, allocations: 0.8627 MB / 2.314 GB, free: 157.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 5.61e-06/6.683, allocations: 0 / 2.314 GB, free: 157.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.01034/6.693, allocations: 2.499 MB / 2.317 GB, free: 157.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/6.693, allocations: 150 kB / 2.317 GB, free: 157.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/6.695, allocations: 1.052 MB / 2.318 GB, free: 157 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003652/6.696, allocations: 44.95 kB / 2.318 GB, free: 157 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007114/6.697, allocations: 0.7041 MB / 2.318 GB, free: 156.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005037/6.697, allocations: 325.2 kB / 2.319 GB, free: 156.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/6.697, allocations: 18.5 kB / 2.319 GB, free: 156.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001265/6.697, allocations: 343.2 kB / 2.319 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/6.7, allocations: 0.5838 MB / 2.32 GB, free: 156.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/6.703, allocations: 0.8541 MB / 2.32 GB, free: 155.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/6.706, allocations: 0.713 MB / 2.321 GB, free: 155.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/6.706, allocations: 2.375 kB / 2.321 GB, free: 155.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.007389/6.714, allocations: 1.813 MB / 2.323 GB, free: 154.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005084/6.714, allocations: 1.722 MB / 2.325 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/6.714, allocations: 10.25 kB / 2.325 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/6.714, allocations: 7.281 kB / 2.325 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/6.717, allocations: 275.1 kB / 2.325 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/6.717, allocations: 13.41 kB / 2.325 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/6.72, allocations: 231.9 kB / 2.325 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003254/6.72, allocations: 67.47 kB / 2.325 GB, free: 152.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/6.72, allocations: 10.27 kB / 2.325 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006775/6.727, allocations: 1.714 MB / 2.327 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/6.727, allocations: 3.719 kB / 2.327 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/6.727, allocations: 6.5 kB / 2.327 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/6.729, allocations: 285.2 kB / 2.327 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/6.729, allocations: 11.38 kB / 2.327 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/6.732, allocations: 237.3 kB / 2.327 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/6.733, allocations: 64.67 kB / 2.327 GB, free: 152.3 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.001188/6.734, allocations: 0.49 MB / 2.328 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005619/6.734, allocations: 164.5 kB / 2.328 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008792/6.743, allocations: 2.381 MB / 2.33 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.996e-05/6.743, allocations: 15.61 kB / 2.33 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/6.743, allocations: 6.625 kB / 2.33 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/6.743, allocations: 7.75 kB / 2.33 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/6.756, allocations: 3.735 MB / 2.334 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/6.756, allocations: 0 / 2.334 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/6.758, allocations: 235.8 kB / 2.334 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/6.758, allocations: 3.5 kB / 2.334 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/6.758, allocations: 44.78 kB / 2.334 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/6.758, allocations: 6.5 kB / 2.334 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/6.758, allocations: 0 / 2.334 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/6.77, allocations: 3.244 MB / 2.338 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/6.771, allocations: 422.9 kB / 2.338 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/6.772, allocations: 23.53 kB / 2.338 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/6.774, allocations: 175.3 kB / 2.338 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/6.775, allocations: 67.41 kB / 2.338 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/6.775, allocations: 58.78 kB / 2.338 GB, free: 146.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001877/6.777, allocations: 0.8196 MB / 2.339 GB, free: 146.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.21e-07/6.777, allocations: 3.656 kB / 2.339 GB, free: 146.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004088/6.781, allocations: 0.9201 MB / 2.34 GB, free: 146.1 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.0132/6.794, allocations: 4.895 MB / 2.345 GB, free: 143.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009664/6.804, allocations: 2.762 MB / 2.347 GB, free: 141.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/6.804, allocations: 3.609 kB / 2.347 GB, free: 141.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003399/6.807, allocations: 1.086 MB / 2.349 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/6.813, allocations: 0.6194 MB / 2.349 GB, free: 141 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03065/6.843, allocations: 12.9 MB / 2.362 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009299/6.844, allocations: 1.315 MB / 2.363 GB, free: 131 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002876/6.847, allocations: 419.5 kB / 2.363 GB, free: 130.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/6.849, allocations: 0.6565 MB / 2.364 GB, free: 130.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/6.849, allocations: 7.281 kB / 2.364 GB, free: 130.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/6.969, allocations: 50.76 MB / 2.414 GB, free: 82.31 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/6.969, allocations: 222.6 kB / 2.414 GB, free: 82.08 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.789/11.76, allocations: 0 / 2.414 GB, free: 82.08 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)