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.783/1.783, allocations: 285.4 MB / 298 MB, free: 5.965 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.001457/0.001457, allocations: 180.9 kB / 366.4 MB, free: 2.086 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.883/1.883, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0009678/0.000968, allocations: 97.42 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.363e-05/4.366e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9144/0.9145, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/2.203, allocations: 389.9 MB / 1.352 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/2.204, allocations: 84.2 kB / 1.352 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.548/5.752, allocations: 0.9343 GB / 2.286 GB, free: 66.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.324e-06/5.752, allocations: 0 / 2.286 GB, free: 66.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000316/5.752, allocations: 51.97 kB / 2.286 GB, free: 66.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.005605/5.758, allocations: 1.873 MB / 2.288 GB, free: 64.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/5.758, allocations: 12.03 kB / 2.288 GB, free: 64.14 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005525/5.758, allocations: 156.5 kB / 2.288 GB, free: 63.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/5.762, allocations: 0.6104 MB / 2.289 GB, free: 63.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004808/5.767, allocations: 1.461 MB / 2.29 GB, free: 61.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.652e-05/5.767, allocations: 82 kB / 2.29 GB, free: 61.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/5.767, allocations: 111.9 kB / 2.29 GB, free: 61.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/5.77, allocations: 1.193 MB / 2.292 GB, free: 60.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/5.77, allocations: 8 kB / 2.292 GB, free: 60.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/5.77, allocations: 36 kB / 2.292 GB, free: 60.37 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/5.77, allocations: 32.28 kB / 2.292 GB, free: 60.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/5.772, allocations: 0.9331 MB / 2.293 GB, free: 59.4 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.009283/5.781, allocations: 6.429 MB / 2.299 GB, free: 52.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/5.783, allocations: 0.9493 MB / 2.3 GB, free: 51.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007736/5.784, allocations: 0.5251 MB / 2.3 GB, free: 50.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/5.785, allocations: 2.261 MB / 2.302 GB, free: 48.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009329/5.786, allocations: 0.687 MB / 2.303 GB, free: 47.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 4.99e-06/5.786, allocations: 0 / 2.303 GB, free: 47.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.002752/5.789, allocations: 1.337 MB / 2.304 GB, free: 46.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/5.789, allocations: 145.2 kB / 2.305 GB, free: 45.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/5.791, allocations: 1.034 MB / 2.306 GB, free: 44.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/5.791, allocations: 49.64 kB / 2.306 GB, free: 44.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/5.792, allocations: 0.6904 MB / 2.306 GB, free: 44.17 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/5.792, allocations: 327.3 kB / 2.307 GB, free: 43.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/5.792, allocations: 24 kB / 2.307 GB, free: 43.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001051/5.792, allocations: 345.9 kB / 2.307 GB, free: 43.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/5.793, allocations: 417.9 kB / 2.307 GB, free: 43.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/5.794, allocations: 0.6844 MB / 2.308 GB, free: 42.28 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/5.794, allocations: 0.5386 MB / 2.309 GB, free: 41.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/5.795, allocations: 4 kB / 2.309 GB, free: 41.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002473/5.797, allocations: 1.471 MB / 2.31 GB, free: 40.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004255/5.797, allocations: 1.716 MB / 2.312 GB, free: 38.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/5.797, allocations: 4 kB / 2.312 GB, free: 38.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/5.797, allocations: 8 kB / 2.312 GB, free: 38.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/5.799, allocations: 287.6 kB / 2.312 GB, free: 38.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-05/5.799, allocations: 11.98 kB / 2.312 GB, free: 38.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/5.801, allocations: 238.8 kB / 2.312 GB, free: 37.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/5.801, allocations: 63.95 kB / 2.312 GB, free: 37.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/5.801, allocations: 4 kB / 2.312 GB, free: 37.74 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002026/5.803, allocations: 1.374 MB / 2.314 GB, free: 36.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/5.803, allocations: 4 kB / 2.314 GB, free: 36.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/5.803, allocations: 8 kB / 2.314 GB, free: 36.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/5.804, allocations: 279.9 kB / 2.314 GB, free: 36.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/5.804, allocations: 11.98 kB / 2.314 GB, free: 36.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/5.806, allocations: 238.9 kB / 2.314 GB, free: 35.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/5.806, allocations: 59.97 kB / 2.314 GB, free: 35.76 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.0003279/5.806, allocations: 275.1 kB / 2.314 GB, free: 35.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004044/5.807, allocations: 162 kB / 2.315 GB, free: 35.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/5.81, allocations: 2.033 MB / 2.317 GB, free: 33.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/5.81, allocations: 19.98 kB / 2.317 GB, free: 33.22 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/5.81, allocations: 0 / 2.317 GB, free: 33.22 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/5.81, allocations: 7.938 kB / 2.317 GB, free: 33.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/5.816, allocations: 3.4 MB / 2.32 GB, free: 29.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/5.816, allocations: 0 / 2.32 GB, free: 29.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/5.817, allocations: 239.8 kB / 2.32 GB, free: 29.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.939e-05/5.817, allocations: 4 kB / 2.32 GB, free: 29.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/5.817, allocations: 43.97 kB / 2.32 GB, free: 29.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/5.817, allocations: 4 kB / 2.32 GB, free: 29.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/5.817, allocations: 7.938 kB / 2.32 GB, free: 29.43 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/5.821, allocations: 2.725 MB / 2.323 GB, free: 26.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/5.822, allocations: 410.6 kB / 2.323 GB, free: 26.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004929/5.823, allocations: 32 kB / 2.323 GB, free: 26.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/5.824, allocations: 171.7 kB / 2.323 GB, free: 25.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/5.824, allocations: 76.84 kB / 2.324 GB, free: 25.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/5.825, allocations: 55.97 kB / 2.324 GB, free: 25.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001396/5.826, allocations: 0.798 MB / 2.324 GB, free: 25.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/5.826, allocations: 4 kB / 2.324 GB, free: 25.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003382/5.829, allocations: 0.9206 MB / 2.325 GB, free: 24.14 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.005887/5.835, allocations: 4.377 MB / 2.33 GB, free: 19.69 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003158/5.838, allocations: 2.302 MB / 2.332 GB, free: 17.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/5.839, allocations: 0 / 2.332 GB, free: 17.31 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/5.84, allocations: 0.9146 MB / 2.333 GB, free: 16.36 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/5.843, allocations: 0.6175 MB / 2.333 GB, free: 15.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/5.85, allocations: 2.872 MB / 2.336 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009096/5.851, allocations: 1.316 MB / 2.337 GB, free: 11.46 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002555/5.853, allocations: 0.4995 MB / 2.338 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008062/5.854, allocations: 0.6437 MB / 2.339 GB, free: 10.32 MB / 0.948 GB Notification: Performance of SimCode: time 1.994e-06/5.854, allocations: 4 kB / 2.339 GB, free: 10.31 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8445/6.699, allocations: 54.14 MB / 2.391 GB, free: 128.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/6.699, allocations: 207 kB / 2.392 GB, free: 128 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.146/10.85, allocations: 0 / 2.392 GB, free: 128 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)