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.613/1.613, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001448/0.001448, allocations: 172.9 kB / 361.4 MB, free: 6.875 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.629/1.629, allocations: 205.3 MB / 0.62 GB, free: 11.69 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.0008357/0.0008354, allocations: 98.42 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.113e-05, allocations: 4 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8426/0.8427, allocations: 115.3 MB / 0.9645 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/2.081, allocations: 389.3 MB / 1.345 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003955/2.082, allocations: 83.45 kB / 1.345 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.645/5.727, allocations: 0.9296 GB / 2.274 GB, free: 38.81 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.984e-06/5.727, allocations: 0 / 2.274 GB, free: 38.81 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000317/5.727, allocations: 47.98 kB / 2.274 GB, free: 38.76 MB / 0.9323 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.005629/5.733, allocations: 1.88 MB / 2.276 GB, free: 36.81 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/5.733, allocations: 8.031 kB / 2.276 GB, free: 36.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/5.737, allocations: 0.6104 MB / 2.277 GB, free: 36.19 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/5.742, allocations: 1.465 MB / 2.278 GB, free: 34.67 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.064e-05/5.742, allocations: 35.98 kB / 2.278 GB, free: 34.63 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005059/5.743, allocations: 71.91 kB / 2.278 GB, free: 34.56 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002335/5.745, allocations: 0.8631 MB / 2.279 GB, free: 33.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/5.748, allocations: 1.052 MB / 2.28 GB, free: 32.58 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/5.748, allocations: 3.938 kB / 2.28 GB, free: 32.57 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/5.748, allocations: 4.344 kB / 2.28 GB, free: 32.57 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/5.748, allocations: 27.95 kB / 2.28 GB, free: 32.54 MB / 0.9323 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.0101/5.758, allocations: 6.221 MB / 2.286 GB, free: 25.83 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/5.76, allocations: 0.9199 MB / 2.287 GB, free: 24.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007623/5.761, allocations: 0.4998 MB / 2.288 GB, free: 24.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/5.763, allocations: 2.252 MB / 2.29 GB, free: 21.65 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009652/5.764, allocations: 0.66 MB / 2.291 GB, free: 20.96 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=100): time 5.882e-06/5.764, allocations: 0 / 2.291 GB, free: 20.96 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100): time 0.004461/5.768, allocations: 1.455 MB / 2.292 GB, free: 19.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/5.768, allocations: 153.3 kB / 2.292 GB, free: 19.32 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/5.771, allocations: 0.8945 MB / 2.293 GB, free: 18.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/5.771, allocations: 29.7 kB / 2.293 GB, free: 18.38 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008388/5.772, allocations: 0.7014 MB / 2.294 GB, free: 17.67 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/5.772, allocations: 319.2 kB / 2.294 GB, free: 17.35 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/5.772, allocations: 8 kB / 2.294 GB, free: 17.34 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001404/5.772, allocations: 341.9 kB / 2.294 GB, free: 17 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/5.773, allocations: 402.5 kB / 2.295 GB, free: 16.61 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/5.774, allocations: 0.662 MB / 2.295 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/5.776, allocations: 0.6945 MB / 2.296 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/5.776, allocations: 0 / 2.296 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004323/5.781, allocations: 1.573 MB / 2.298 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007466/5.781, allocations: 1.708 MB / 2.299 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/5.781, allocations: 4 kB / 2.299 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.776e-05/5.782, allocations: 8 kB / 2.299 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/5.783, allocations: 283.6 kB / 2.3 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-05/5.783, allocations: 8 kB / 2.3 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/5.785, allocations: 207 kB / 2.3 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/5.786, allocations: 67.95 kB / 2.3 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/5.786, allocations: 4.625 kB / 2.3 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004067/5.79, allocations: 1.437 MB / 2.301 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/5.79, allocations: 4 kB / 2.301 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/5.79, allocations: 16.03 kB / 2.301 GB, free: 9.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/5.791, allocations: 279.6 kB / 2.302 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/5.791, allocations: 11.94 kB / 2.302 GB, free: 9.375 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/5.793, allocations: 199.2 kB / 2.302 GB, free: 9.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/5.794, allocations: 63.92 kB / 2.302 GB, free: 9.117 MB / 0.9323 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.0005485/5.794, allocations: 243.1 kB / 2.302 GB, free: 8.859 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0041/5.798, allocations: 1.502 MB / 2.303 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/5.799, allocations: 158.1 kB / 2.304 GB, free: 7.188 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/5.804, allocations: 2.06 MB / 2.306 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/5.804, allocations: 19.98 kB / 2.306 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/5.804, allocations: 3.953 kB / 2.306 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/5.804, allocations: 3.984 kB / 2.306 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00723/5.811, allocations: 3.281 MB / 2.309 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/5.811, allocations: 4 kB / 2.309 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/5.812, allocations: 235.8 kB / 2.309 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.35e-05/5.812, allocations: 8 kB / 2.309 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/5.812, allocations: 35.91 kB / 2.309 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/5.812, allocations: 4 kB / 2.309 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/5.812, allocations: 4 kB / 2.309 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/5.818, allocations: 2.75 MB / 2.312 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/5.819, allocations: 402.5 kB / 2.312 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005405/5.82, allocations: 12 kB / 2.312 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/5.822, allocations: 155.8 kB / 2.312 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/5.822, allocations: 65.22 kB / 2.312 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/5.822, allocations: 63.94 kB / 2.312 GB, free: 13.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001709/5.824, allocations: 0.6761 MB / 2.313 GB, free: 13.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/5.824, allocations: 0 / 2.313 GB, free: 13.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004426/5.828, allocations: 0.8851 MB / 2.314 GB, free: 12.37 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.009807/5.838, allocations: 4.404 MB / 2.318 GB, free: 7.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003879/5.842, allocations: 2.201 MB / 2.32 GB, free: 5.629 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/5.842, allocations: 8.438 kB / 2.32 GB, free: 5.621 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/5.843, allocations: 0.8857 MB / 2.321 GB, free: 4.703 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/5.847, allocations: 0.5414 MB / 2.322 GB, free: 4.172 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00831/5.855, allocations: 2.764 MB / 2.325 GB, free: 1.348 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7191/6.574, allocations: 1.316 MB / 2.326 GB, free: 136.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003125/6.577, allocations: 473.8 kB / 2.326 GB, free: 136.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/6.579, allocations: 0.6475 MB / 2.327 GB, free: 136.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.673e-06/6.579, allocations: 0.8438 kB / 2.327 GB, free: 136.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/6.688, allocations: 45.69 MB / 2.372 GB, free: 135.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/6.688, allocations: 194.8 kB / 2.372 GB, free: 135.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.021/10.71, allocations: 0 / 2.372 GB, free: 135.4 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)