Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 175.8 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.5775 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 78.39 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 9.125 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2953, allocations: 106.3 MB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.368, allocations: 382.4 MB / 1.274 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.368, allocations: 88.14 kB / 1.274 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.576/4.944, allocations: 0.9092 GB / 2.183 GB, free: 144 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.865e-06/4.944, allocations: 0 / 2.183 GB, free: 144 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001861/4.945, allocations: 56.33 kB / 2.183 GB, free: 144 MB / 0.8855 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.005798/4.95, allocations: 2.202 MB / 2.185 GB, free: 143 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/4.95, allocations: 7.781 kB / 2.185 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003613/4.951, allocations: 160.8 kB / 2.185 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/4.954, allocations: 0.6089 MB / 2.186 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/4.959, allocations: 1.475 MB / 2.187 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.652e-05/4.959, allocations: 81.97 kB / 2.187 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/4.959, allocations: 110.4 kB / 2.187 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/4.962, allocations: 1.369 MB / 2.189 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/4.962, allocations: 2.734 kB / 2.189 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/4.962, allocations: 45.5 kB / 2.189 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/4.962, allocations: 22.28 kB / 2.189 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/4.965, allocations: 1.27 MB / 2.19 GB, free: 142.3 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008372/4.974, allocations: 6.437 MB / 2.196 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/4.976, allocations: 1.271 MB / 2.198 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/4.978, allocations: 2.261 MB / 2.2 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/4.979, allocations: 0.8512 MB / 2.201 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=100): time 3.857e-06/4.979, allocations: 0 / 2.201 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100): time 0.005173/4.985, allocations: 2.5 MB / 2.203 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/4.985, allocations: 149.4 kB / 2.203 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/4.986, allocations: 1.047 MB / 2.204 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/4.986, allocations: 45.8 kB / 2.204 GB, free: 135 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000494/4.987, allocations: 0.6978 MB / 2.205 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/4.987, allocations: 330.6 kB / 2.205 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/4.987, allocations: 22.41 kB / 2.205 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/4.987, allocations: 341.5 kB / 2.206 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/4.989, allocations: 0.5812 MB / 2.206 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/4.99, allocations: 0.8572 MB / 2.207 GB, free: 134 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/4.992, allocations: 0.7128 MB / 2.208 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/4.992, allocations: 3.531 kB / 2.208 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004428/4.996, allocations: 1.809 MB / 2.21 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005927/4.997, allocations: 1.721 MB / 2.211 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/4.997, allocations: 11.41 kB / 2.211 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.213e-05/4.997, allocations: 11.41 kB / 2.211 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/4.998, allocations: 275 kB / 2.211 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/4.998, allocations: 10.88 kB / 2.211 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/5, allocations: 248.1 kB / 2.212 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/5, allocations: 58.81 kB / 2.212 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/5, allocations: 10.41 kB / 2.212 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00349/5.004, allocations: 1.712 MB / 2.213 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/5.004, allocations: 3.219 kB / 2.213 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/5.004, allocations: 14.55 kB / 2.213 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/5.005, allocations: 279 kB / 2.214 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/5.005, allocations: 14.36 kB / 2.214 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/5.007, allocations: 233.4 kB / 2.214 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/5.007, allocations: 60.05 kB / 2.214 GB, free: 131.7 MB / 0.8855 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 () * Number of clocked 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.001036/5.008, allocations: 0.4984 MB / 2.215 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/5.008, allocations: 159.2 kB / 2.215 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0047/5.013, allocations: 2.374 MB / 2.217 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/5.013, allocations: 21.34 kB / 2.217 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/5.013, allocations: 0 / 2.217 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/5.013, allocations: 7.594 kB / 2.217 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006966/5.02, allocations: 3.749 MB / 2.221 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/5.02, allocations: 1.656 kB / 2.221 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/5.021, allocations: 231.2 kB / 2.221 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/5.021, allocations: 3.906 kB / 2.221 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.653e-05/5.021, allocations: 45.55 kB / 2.221 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/5.021, allocations: 6.219 kB / 2.221 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/5.021, allocations: 3.969 kB / 2.221 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00585/5.027, allocations: 3.241 MB / 2.224 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/5.028, allocations: 412.3 kB / 2.225 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/5.029, allocations: 31.16 kB / 2.225 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/5.03, allocations: 169.7 kB / 2.225 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/5.03, allocations: 75.06 kB / 2.225 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/5.03, allocations: 55.97 kB / 2.225 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001195/5.031, allocations: 0.8232 MB / 2.226 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.232e-06/5.031, allocations: 0 / 2.226 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002801/5.034, allocations: 0.9239 MB / 2.227 GB, free: 129.6 MB / 0.8855 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) * Number of clocked states: 0 () * 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.007404/5.042, allocations: 4.886 MB / 2.231 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00527/5.047, allocations: 2.761 MB / 2.234 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/5.047, allocations: 2.375 kB / 2.234 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/5.049, allocations: 1.089 MB / 2.235 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/5.052, allocations: 0.618 MB / 2.236 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/5.071, allocations: 12.91 MB / 2.248 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/5.071, allocations: 1.307 MB / 2.25 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001849/5.073, allocations: 425.6 kB / 2.25 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007856/5.074, allocations: 0.6609 MB / 2.251 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/5.074, allocations: 0 / 2.251 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08443/5.158, allocations: 50.77 MB / 2.3 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/5.159, allocations: 240.2 kB / 2.3 GB, free: 103 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.974/9.132, allocations: 0 / 2.3 GB, free: 103 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)