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.818/1.818, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001183/0.001183, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.831/1.831, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008196/0.0008197, allocations: 86.84 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.337e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9204/0.9204, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/2.306, allocations: 390.2 MB / 1.354 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/2.306, allocations: 86.2 kB / 1.355 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.46/5.766, allocations: 0.9297 GB / 2.284 GB, free: 65.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.543e-06/5.766, allocations: 4 kB / 2.284 GB, free: 65.28 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001381/5.766, allocations: 51.97 kB / 2.284 GB, free: 65.23 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.003158/5.77, allocations: 1.875 MB / 2.286 GB, free: 63.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/5.77, allocations: 12.03 kB / 2.286 GB, free: 63.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/5.772, allocations: 0.6142 MB / 2.287 GB, free: 62.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/5.775, allocations: 1.457 MB / 2.288 GB, free: 61.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/5.775, allocations: 36 kB / 2.288 GB, free: 61.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/5.776, allocations: 67.91 kB / 2.288 GB, free: 61.04 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001355/5.777, allocations: 0.8592 MB / 2.289 GB, free: 60.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/5.779, allocations: 1.048 MB / 2.29 GB, free: 59.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/5.779, allocations: 3.938 kB / 2.29 GB, free: 59.06 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/5.779, allocations: 4 kB / 2.29 GB, free: 59.06 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/5.779, allocations: 24.34 kB / 2.29 GB, free: 59.04 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.007486/5.786, allocations: 6.228 MB / 2.296 GB, free: 52.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/5.788, allocations: 0.9116 MB / 2.297 GB, free: 51.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/5.788, allocations: 0.4991 MB / 2.298 GB, free: 50.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002266/5.791, allocations: 2.261 MB / 2.3 GB, free: 48.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/5.792, allocations: 0.6522 MB / 2.3 GB, free: 47.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 6.141e-06/5.792, allocations: 0 / 2.3 GB, free: 47.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.004066/5.796, allocations: 1.467 MB / 2.302 GB, free: 45.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/5.796, allocations: 157.2 kB / 2.302 GB, free: 45.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/5.797, allocations: 0.8946 MB / 2.303 GB, free: 44.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/5.798, allocations: 29.7 kB / 2.303 GB, free: 44.85 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/5.798, allocations: 0.6975 MB / 2.304 GB, free: 44.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/5.798, allocations: 315.3 kB / 2.304 GB, free: 43.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/5.798, allocations: 0 / 2.304 GB, free: 43.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001221/5.799, allocations: 349.9 kB / 2.304 GB, free: 43.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/5.799, allocations: 406.5 kB / 2.305 GB, free: 43.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/5.8, allocations: 0.6536 MB / 2.305 GB, free: 42.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/5.802, allocations: 0.6992 MB / 2.306 GB, free: 41.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/5.802, allocations: 4 kB / 2.306 GB, free: 41.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003137/5.805, allocations: 1.57 MB / 2.307 GB, free: 40.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003842/5.805, allocations: 1.713 MB / 2.309 GB, free: 38.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/5.805, allocations: 4 kB / 2.309 GB, free: 38.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/5.805, allocations: 12 kB / 2.309 GB, free: 38.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/5.807, allocations: 279.6 kB / 2.309 GB, free: 37.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/5.807, allocations: 8 kB / 2.309 GB, free: 37.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/5.808, allocations: 211 kB / 2.31 GB, free: 37.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/5.808, allocations: 59.97 kB / 2.31 GB, free: 37.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/5.808, allocations: 4 kB / 2.31 GB, free: 37.59 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002748/5.811, allocations: 1.441 MB / 2.311 GB, free: 36.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/5.811, allocations: 4 kB / 2.311 GB, free: 36.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/5.811, allocations: 11.98 kB / 2.311 GB, free: 36.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/5.812, allocations: 276.1 kB / 2.311 GB, free: 35.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/5.812, allocations: 19.88 kB / 2.311 GB, free: 35.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/5.814, allocations: 199.2 kB / 2.312 GB, free: 35.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/5.814, allocations: 63.97 kB / 2.312 GB, free: 35.59 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.0003228/5.814, allocations: 242.3 kB / 2.312 GB, free: 35.33 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002987/5.817, allocations: 1.494 MB / 2.313 GB, free: 33.83 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/5.817, allocations: 162.1 kB / 2.313 GB, free: 33.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/5.821, allocations: 2.05 MB / 2.315 GB, free: 31.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/5.821, allocations: 19.98 kB / 2.315 GB, free: 31.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/5.821, allocations: 3.938 kB / 2.315 GB, free: 31.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/5.821, allocations: 7.938 kB / 2.315 GB, free: 31.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/5.827, allocations: 3.285 MB / 2.319 GB, free: 28.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/5.827, allocations: 3.875 kB / 2.319 GB, free: 28.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/5.828, allocations: 235.8 kB / 2.319 GB, free: 28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/5.828, allocations: 7.938 kB / 2.319 GB, free: 27.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/5.828, allocations: 39.97 kB / 2.319 GB, free: 27.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/5.828, allocations: 4 kB / 2.319 GB, free: 27.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/5.828, allocations: 0 / 2.319 GB, free: 27.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/5.832, allocations: 2.742 MB / 2.322 GB, free: 25.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007321/5.833, allocations: 406.5 kB / 2.322 GB, free: 24.72 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/5.833, allocations: 12 kB / 2.322 GB, free: 24.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/5.834, allocations: 151.8 kB / 2.322 GB, free: 24.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/5.834, allocations: 73.22 kB / 2.322 GB, free: 24.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/5.835, allocations: 55.97 kB / 2.322 GB, free: 24.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008778/5.835, allocations: 0.6839 MB / 2.323 GB, free: 23.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.835, allocations: 0 / 2.323 GB, free: 23.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002466/5.838, allocations: 0.8813 MB / 2.324 GB, free: 22.86 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.005822/5.844, allocations: 4.398 MB / 2.328 GB, free: 18.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002556/5.846, allocations: 2.208 MB / 2.33 GB, free: 16.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/5.846, allocations: 2.125 kB / 2.33 GB, free: 16.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008261/5.847, allocations: 0.8857 MB / 2.331 GB, free: 15.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/5.85, allocations: 0.539 MB / 2.332 GB, free: 14.68 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005212/5.855, allocations: 2.768 MB / 2.334 GB, free: 11.85 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/5.856, allocations: 1.316 MB / 2.336 GB, free: 10.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001889/5.858, allocations: 490.6 kB / 2.336 GB, free: 10.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/5.858, allocations: 0.6437 MB / 2.337 GB, free: 9.379 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/5.858, allocations: 0 / 2.337 GB, free: 9.379 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8472/6.706, allocations: 45.7 MB / 2.381 GB, free: 129.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/6.706, allocations: 175.1 kB / 2.382 GB, free: 128.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/10.8, allocations: 0 / 2.382 GB, free: 128.9 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)