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.727/1.727, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.001046/0.001046, allocations: 177.6 kB / 371.6 MB, free: 3.402 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.798/1.798, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.001129/0.001129, allocations: 97.61 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.306e-05/4.31e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3727, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.37/1.743, allocations: 390.9 MB / 1.362 GB, free: 5.73 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003648/1.743, allocations: 87.28 kB / 1.362 GB, free: 5.688 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.566/6.309, allocations: 0.9343 GB / 2.296 GB, free: 133.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/6.309, allocations: 0 / 2.296 GB, free: 133.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003331/6.31, allocations: 53.11 kB / 2.296 GB, free: 133.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.005957/6.316, allocations: 1.887 MB / 2.298 GB, free: 132.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/6.316, allocations: 6.5 kB / 2.298 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006488/6.316, allocations: 154.8 kB / 2.298 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/6.32, allocations: 0.6128 MB / 2.299 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/6.325, allocations: 1.462 MB / 2.3 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/6.325, allocations: 85.09 kB / 2.3 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005137/6.326, allocations: 115.7 kB / 2.3 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/6.328, allocations: 1.183 MB / 2.301 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/6.328, allocations: 8.719 kB / 2.301 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/6.328, allocations: 45.09 kB / 2.301 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/6.328, allocations: 23.28 kB / 2.301 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/6.33, allocations: 0.9308 MB / 2.302 GB, free: 131.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.008307/6.338, allocations: 6.419 MB / 2.309 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/6.34, allocations: 0.9495 MB / 2.31 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/6.34, allocations: 0.5274 MB / 2.31 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/6.342, allocations: 2.259 MB / 2.312 GB, free: 123.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008665/6.343, allocations: 0.6831 MB / 2.313 GB, free: 123.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 3.838e-06/6.343, allocations: 2.844 kB / 2.313 GB, free: 123.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.002445/6.345, allocations: 1.335 MB / 2.314 GB, free: 122.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/6.345, allocations: 148.7 kB / 2.314 GB, free: 122.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/6.347, allocations: 1.033 MB / 2.315 GB, free: 122.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/6.347, allocations: 49.36 kB / 2.315 GB, free: 122.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/6.347, allocations: 0.6944 MB / 2.316 GB, free: 121.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/6.348, allocations: 326.4 kB / 2.316 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/6.348, allocations: 19.94 kB / 2.316 GB, free: 121.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/6.348, allocations: 343.7 kB / 2.317 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/6.349, allocations: 423 kB / 2.317 GB, free: 121 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/6.349, allocations: 0.6789 MB / 2.318 GB, free: 120.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/6.35, allocations: 0.543 MB / 2.318 GB, free: 120.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/6.35, allocations: 0 / 2.318 GB, free: 120.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002202/6.352, allocations: 1.479 MB / 2.32 GB, free: 119.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004363/6.353, allocations: 1.71 MB / 2.322 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/6.353, allocations: 10.11 kB / 2.322 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/6.353, allocations: 10.5 kB / 2.322 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/6.354, allocations: 277.2 kB / 2.322 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/6.354, allocations: 9.344 kB / 2.322 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/6.356, allocations: 249.6 kB / 2.322 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/6.356, allocations: 62.42 kB / 2.322 GB, free: 117.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/6.356, allocations: 3.688 kB / 2.322 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002088/6.358, allocations: 1.372 MB / 2.323 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/6.358, allocations: 3.875 kB / 2.323 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/6.358, allocations: 17.06 kB / 2.323 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/6.359, allocations: 279.1 kB / 2.324 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/6.359, allocations: 13.7 kB / 2.324 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/6.361, allocations: 225.1 kB / 2.324 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/6.361, allocations: 69.23 kB / 2.324 GB, free: 117.2 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.0003457/6.361, allocations: 266.5 kB / 2.324 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/6.362, allocations: 162 kB / 2.324 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/6.365, allocations: 2.034 MB / 2.326 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/6.365, allocations: 17.94 kB / 2.326 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/6.365, allocations: 0 / 2.326 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/6.365, allocations: 16.91 kB / 2.326 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005927/6.371, allocations: 3.407 MB / 2.33 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/6.371, allocations: 3.219 kB / 2.33 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/6.372, allocations: 229.1 kB / 2.33 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/6.372, allocations: 7.094 kB / 2.33 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/6.372, allocations: 49.36 kB / 2.33 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/6.372, allocations: 7.25 kB / 2.33 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/6.372, allocations: 3.25 kB / 2.33 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/6.377, allocations: 2.729 MB / 2.333 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/6.378, allocations: 409.2 kB / 2.333 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/6.378, allocations: 30.8 kB / 2.333 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/6.379, allocations: 167.4 kB / 2.333 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/6.379, allocations: 79.17 kB / 2.333 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/6.379, allocations: 56.98 kB / 2.333 GB, free: 113 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001346/6.381, allocations: 0.8006 MB / 2.334 GB, free: 112.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/6.381, allocations: 0 / 2.334 GB, free: 112.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003401/6.384, allocations: 0.9189 MB / 2.335 GB, free: 112.5 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.005937/6.39, allocations: 4.38 MB / 2.339 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00327/6.394, allocations: 2.297 MB / 2.342 GB, free: 109.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/6.394, allocations: 2.281 kB / 2.342 GB, free: 109.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/6.395, allocations: 0.9191 MB / 2.343 GB, free: 108.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/6.398, allocations: 0.6282 MB / 2.343 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/6.404, allocations: 2.871 MB / 2.346 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/6.405, allocations: 1.314 MB / 2.347 GB, free: 106.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002183/6.407, allocations: 0.4984 MB / 2.348 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/6.408, allocations: 0.6427 MB / 2.348 GB, free: 106 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/6.408, allocations: 0 / 2.348 GB, free: 106 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/6.511, allocations: 54.13 MB / 2.401 GB, free: 70.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/6.511, allocations: 201.9 kB / 2.401 GB, free: 70.37 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.655/11.17, allocations: 4.062 kB / 2.401 GB, free: 70.36 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)