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.616/2.616, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001485/0.001485, allocations: 180.8 kB / 360.6 MB, free: 7.27 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.279/2.279, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001078/0.001077, allocations: 96.42 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.657e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8605/0.8606, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/2.157, allocations: 389.1 MB / 1.343 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/2.158, allocations: 86.58 kB / 1.343 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.46/6.618, allocations: 0.9296 GB / 2.273 GB, free: 40.61 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.334e-06/6.618, allocations: 0 / 2.273 GB, free: 40.61 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000224/6.618, allocations: 59.97 kB / 2.273 GB, free: 40.55 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.00511/6.623, allocations: 1.877 MB / 2.275 GB, free: 38.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/6.623, allocations: 12.02 kB / 2.275 GB, free: 38.59 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005595/6.629, allocations: 0.5987 MB / 2.276 GB, free: 37.99 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005849/6.634, allocations: 1.469 MB / 2.277 GB, free: 36.46 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/6.635, allocations: 35.94 kB / 2.277 GB, free: 36.43 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004417/6.635, allocations: 71.91 kB / 2.277 GB, free: 36.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003099/6.638, allocations: 0.8637 MB / 2.278 GB, free: 35.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/6.641, allocations: 1.044 MB / 2.279 GB, free: 34.39 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/6.641, allocations: 3.938 kB / 2.279 GB, free: 34.38 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/6.641, allocations: 4.344 kB / 2.279 GB, free: 34.38 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/6.641, allocations: 27.95 kB / 2.279 GB, free: 34.35 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.01111/6.652, allocations: 6.222 MB / 2.285 GB, free: 27.64 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/6.655, allocations: 0.9127 MB / 2.286 GB, free: 26.71 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009971/6.656, allocations: 0.5029 MB / 2.287 GB, free: 26.21 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/6.657, allocations: 2.256 MB / 2.289 GB, free: 23.46 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/6.659, allocations: 0.6522 MB / 2.289 GB, free: 22.77 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=100): time 3.536e-06/6.659, allocations: 0 / 2.289 GB, free: 22.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100): time 0.005291/6.664, allocations: 1.463 MB / 2.291 GB, free: 21.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/6.664, allocations: 149.3 kB / 2.291 GB, free: 21.12 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/6.666, allocations: 0.8946 MB / 2.292 GB, free: 20.22 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/6.666, allocations: 29.7 kB / 2.292 GB, free: 20.19 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/6.666, allocations: 0.7052 MB / 2.293 GB, free: 19.47 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/6.667, allocations: 311.4 kB / 2.293 GB, free: 19.16 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/6.667, allocations: 4 kB / 2.293 GB, free: 19.16 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/6.667, allocations: 341.9 kB / 2.293 GB, free: 18.82 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009153/6.668, allocations: 402.5 kB / 2.294 GB, free: 18.43 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/6.669, allocations: 0.6653 MB / 2.294 GB, free: 17.65 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/6.672, allocations: 0.7023 MB / 2.295 GB, free: 16.96 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/6.672, allocations: 0 / 2.295 GB, free: 16.96 MB / 0.9323 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005241/6.677, allocations: 1.57 MB / 2.296 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004485/6.678, allocations: 1.708 MB / 2.298 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/6.678, allocations: 8 kB / 2.298 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.939e-05/6.678, allocations: 8 kB / 2.298 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/6.68, allocations: 287.6 kB / 2.298 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/6.68, allocations: 11.94 kB / 2.298 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/6.683, allocations: 207 kB / 2.299 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/6.683, allocations: 67.95 kB / 2.299 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/6.683, allocations: 0 / 2.299 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005007/6.688, allocations: 1.441 MB / 2.3 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/6.688, allocations: 4 kB / 2.3 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/6.688, allocations: 8 kB / 2.3 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/6.69, allocations: 280 kB / 2.3 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/6.69, allocations: 15.92 kB / 2.3 GB, free: 11.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/6.693, allocations: 199.2 kB / 2.301 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/6.693, allocations: 63.97 kB / 2.301 GB, free: 10.91 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.0004042/6.694, allocations: 250.1 kB / 2.301 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005197/6.699, allocations: 1.498 MB / 2.302 GB, free: 9.141 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/6.699, allocations: 154.1 kB / 2.302 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006668/6.706, allocations: 2.064 MB / 2.304 GB, free: 6.906 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/6.706, allocations: 15.98 kB / 2.304 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/6.706, allocations: 7.953 kB / 2.304 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/6.706, allocations: 3.984 kB / 2.304 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009019/6.715, allocations: 3.273 MB / 2.308 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/6.715, allocations: 4 kB / 2.308 GB, free: 3.543 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/6.717, allocations: 231.8 kB / 2.308 GB, free: 3.316 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/6.717, allocations: 8 kB / 2.308 GB, free: 3.309 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/6.717, allocations: 27.97 kB / 2.308 GB, free: 3.281 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/6.717, allocations: 15.94 kB / 2.308 GB, free: 3.266 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/6.717, allocations: 3.938 kB / 2.308 GB, free: 3.262 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/6.725, allocations: 2.754 MB / 2.311 GB, free: 444 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/6.726, allocations: 398.6 kB / 2.311 GB, free: 24 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/6.726, allocations: 16 kB / 2.311 GB, free: 8 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002256/6.728, allocations: 155.8 kB / 2.311 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/6.728, allocations: 69.09 kB / 2.311 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/6.729, allocations: 63.95 kB / 2.311 GB, free: 15.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001412/6.73, allocations: 0.6761 MB / 2.312 GB, free: 15.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/6.73, allocations: 0 / 2.312 GB, free: 15.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003548/6.734, allocations: 0.889 MB / 2.313 GB, free: 14.16 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.01056/6.744, allocations: 4.385 MB / 2.317 GB, free: 9.723 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004822/6.749, allocations: 2.204 MB / 2.319 GB, free: 7.441 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/6.749, allocations: 4 kB / 2.319 GB, free: 7.438 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/6.751, allocations: 0.8878 MB / 2.32 GB, free: 6.516 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00587/6.757, allocations: 0.5369 MB / 2.321 GB, free: 5.984 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/6.765, allocations: 2.768 MB / 2.323 GB, free: 3.156 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/6.766, allocations: 1.316 MB / 2.325 GB, free: 1.809 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003363/6.77, allocations: 486.7 kB / 2.325 GB, free: 1.328 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/6.771, allocations: 0.6476 MB / 2.326 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of SimCode: time 1.233e-06/6.771, allocations: 3.938 kB / 2.326 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8591/7.63, allocations: 45.68 MB / 2.37 GB, free: 135.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/7.63, allocations: 181.8 kB / 2.371 GB, free: 135.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.72/12.35, allocations: 2.156 kB / 2.371 GB, free: 135.3 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)