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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.825/1.825, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.0012/0.0012, allocations: 192 kB / 377.1 MB, free: 1.531 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.991/1.991, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.001015/0.001015, allocations: 88.11 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003802, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3004, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.691/1.991, allocations: 391 MB / 1.37 GB, free: 278.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/1.992, allocations: 87.22 kB / 1.37 GB, free: 278.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.307/5.298, allocations: 0.9372 GB / 2.308 GB, free: 124.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.335e-06/5.298, allocations: 0 / 2.308 GB, free: 124.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002897/5.299, allocations: 52.83 kB / 2.308 GB, free: 124.9 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.00688/5.306, allocations: 2.199 MB / 2.31 GB, free: 123.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/5.306, allocations: 10.12 kB / 2.31 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006242/5.306, allocations: 158.8 kB / 2.31 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/5.31, allocations: 0.6095 MB / 2.31 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/5.315, allocations: 1.482 MB / 2.312 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/5.315, allocations: 89.84 kB / 2.312 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004876/5.315, allocations: 107.3 kB / 2.312 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/5.319, allocations: 1.364 MB / 2.313 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/5.319, allocations: 3.938 kB / 2.313 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/5.319, allocations: 41.47 kB / 2.313 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/5.319, allocations: 23.47 kB / 2.314 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/5.323, allocations: 1.273 MB / 2.315 GB, free: 120.4 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.008464/5.331, allocations: 6.43 MB / 2.321 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/5.334, allocations: 1.274 MB / 2.322 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/5.336, allocations: 2.265 MB / 2.324 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/5.337, allocations: 0.8513 MB / 2.325 GB, free: 111.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 4.789e-06/5.337, allocations: 3.062 kB / 2.325 GB, free: 111.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.005283/5.343, allocations: 2.497 MB / 2.328 GB, free: 109.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/5.343, allocations: 152.4 kB / 2.328 GB, free: 109.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/5.344, allocations: 1.051 MB / 2.329 GB, free: 109.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/5.344, allocations: 49.08 kB / 2.329 GB, free: 109 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/5.345, allocations: 0.6865 MB / 2.33 GB, free: 108.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/5.345, allocations: 335.4 kB / 2.33 GB, free: 108.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/5.345, allocations: 22.5 kB / 2.33 GB, free: 108.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/5.345, allocations: 345.4 kB / 2.33 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/5.347, allocations: 0.5816 MB / 2.331 GB, free: 107.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/5.348, allocations: 0.8485 MB / 2.332 GB, free: 107 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/5.35, allocations: 0.7155 MB / 2.332 GB, free: 106.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/5.35, allocations: 0 / 2.332 GB, free: 106.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004047/5.354, allocations: 1.818 MB / 2.334 GB, free: 105.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004854/5.354, allocations: 1.716 MB / 2.336 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/5.354, allocations: 11.86 kB / 2.336 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/5.354, allocations: 10.5 kB / 2.336 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/5.355, allocations: 279.8 kB / 2.336 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/5.356, allocations: 11.75 kB / 2.336 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/5.358, allocations: 240.6 kB / 2.336 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/5.358, allocations: 61.58 kB / 2.336 GB, free: 103.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/5.358, allocations: 4.719 kB / 2.336 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003581/5.361, allocations: 1.717 MB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/5.361, allocations: 2.719 kB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/5.361, allocations: 15.16 kB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/5.362, allocations: 278.3 kB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/5.363, allocations: 11.22 kB / 2.338 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/5.365, allocations: 239.4 kB / 2.339 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/5.365, allocations: 59.12 kB / 2.339 GB, free: 102.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.001019/5.366, allocations: 0.4932 MB / 2.339 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/5.366, allocations: 162.9 kB / 2.339 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/5.371, allocations: 2.372 MB / 2.342 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/5.371, allocations: 23.39 kB / 2.342 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/5.371, allocations: 0 / 2.342 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/5.371, allocations: 11.92 kB / 2.342 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007754/5.379, allocations: 3.733 MB / 2.345 GB, free: 97.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/5.379, allocations: 4 kB / 2.345 GB, free: 97.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/5.38, allocations: 227.8 kB / 2.346 GB, free: 97.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/5.38, allocations: 4 kB / 2.346 GB, free: 97.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/5.38, allocations: 43.97 kB / 2.346 GB, free: 97.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/5.38, allocations: 11.94 kB / 2.346 GB, free: 97.23 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/5.38, allocations: 4 kB / 2.346 GB, free: 97.22 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005924/5.386, allocations: 3.241 MB / 2.349 GB, free: 93.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/5.387, allocations: 417.9 kB / 2.349 GB, free: 93.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/5.387, allocations: 31.94 kB / 2.349 GB, free: 93.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/5.389, allocations: 171.8 kB / 2.349 GB, free: 93.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/5.389, allocations: 72.91 kB / 2.349 GB, free: 93.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/5.389, allocations: 55.95 kB / 2.35 GB, free: 93.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001174/5.39, allocations: 0.8187 MB / 2.35 GB, free: 92.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/5.39, allocations: 4 kB / 2.35 GB, free: 92.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002825/5.393, allocations: 0.9188 MB / 2.351 GB, free: 91.41 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.008563/5.402, allocations: 4.891 MB / 2.356 GB, free: 86.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006139/5.408, allocations: 2.755 MB / 2.359 GB, free: 83.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/5.408, allocations: 0 / 2.359 GB, free: 83.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/5.41, allocations: 1.096 MB / 2.36 GB, free: 82.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/5.414, allocations: 0.6091 MB / 2.36 GB, free: 82.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/5.434, allocations: 12.9 MB / 2.373 GB, free: 68.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/5.435, allocations: 1.306 MB / 2.374 GB, free: 67.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00193/5.437, allocations: 428.3 kB / 2.375 GB, free: 67.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007557/5.438, allocations: 0.6594 MB / 2.375 GB, free: 66.36 MB / 0.948 GB Notification: Performance of SimCode: time 3.287e-06/5.438, allocations: 0 / 2.375 GB, free: 66.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07828/5.516, allocations: 50.78 MB / 2.425 GB, free: 16.54 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/5.516, allocations: 230.7 kB / 2.425 GB, free: 16.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.389/9.905, allocations: 0 / 2.425 GB, free: 16.3 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)