Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.312/2.312, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.3 MB / 0.7915 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001145, allocations: 91.89 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.501e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3146, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/1.666, allocations: 402.5 MB / 1.612 GB, free: 15.76 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/1.666, allocations: 93.23 kB / 1.612 GB, free: 15.71 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 6.897/8.563, allocations: 1.534 GB / 3.146 GB, free: 249.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 9.62e-07/8.563, allocations: 3.656 kB / 3.146 GB, free: 249.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001442/8.563, allocations: 50.41 kB / 3.146 GB, free: 249.9 MB / 1.167 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.003929/8.567, allocations: 1.881 MB / 3.148 GB, free: 249 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/8.567, allocations: 7.812 kB / 3.148 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/8.567, allocations: 157.6 kB / 3.148 GB, free: 249 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0031/8.57, allocations: 0.6035 MB / 3.149 GB, free: 248.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003533/8.574, allocations: 1.438 MB / 3.15 GB, free: 248.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/8.574, allocations: 80.31 kB / 3.15 GB, free: 248.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/8.574, allocations: 115.2 kB / 3.15 GB, free: 248.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/8.576, allocations: 1.198 MB / 3.152 GB, free: 248.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/8.576, allocations: 0 / 3.152 GB, free: 248.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/8.576, allocations: 44.52 kB / 3.152 GB, free: 248.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/8.576, allocations: 25.81 kB / 3.152 GB, free: 248.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/8.578, allocations: 0.9052 MB / 3.152 GB, free: 248.3 MB / 1.167 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.007602/8.585, allocations: 6.642 MB / 3.159 GB, free: 244.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/8.587, allocations: 0.9311 MB / 3.16 GB, free: 244.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006597/8.588, allocations: 0.5173 MB / 3.16 GB, free: 244.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/8.589, allocations: 2.261 MB / 3.163 GB, free: 241.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008545/8.59, allocations: 0.6652 MB / 3.163 GB, free: 241.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.948e-06/8.59, allocations: 3.344 kB / 3.163 GB, free: 241.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.002378/8.592, allocations: 1.308 MB / 3.165 GB, free: 241.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/8.592, allocations: 146.8 kB / 3.165 GB, free: 241.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/8.594, allocations: 1.041 MB / 3.166 GB, free: 241.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.592e-05/8.594, allocations: 47.61 kB / 3.166 GB, free: 241.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/8.594, allocations: 0.6969 MB / 3.166 GB, free: 240.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/8.595, allocations: 314.8 kB / 3.167 GB, free: 240.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/8.595, allocations: 25.5 kB / 3.167 GB, free: 240.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001003/8.595, allocations: 348.2 kB / 3.167 GB, free: 240.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/8.595, allocations: 422.8 kB / 3.167 GB, free: 240.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/8.596, allocations: 0.7064 MB / 3.168 GB, free: 240.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/8.597, allocations: 0.5477 MB / 3.169 GB, free: 240 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/8.597, allocations: 3.125 kB / 3.169 GB, free: 240 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002374/8.599, allocations: 1.501 MB / 3.17 GB, free: 239.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008452/8.6, allocations: 2.254 MB / 3.172 GB, free: 237.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/8.6, allocations: 11.33 kB / 3.172 GB, free: 237.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.815e-05/8.6, allocations: 7.562 kB / 3.172 GB, free: 237.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/8.602, allocations: 295.4 kB / 3.173 GB, free: 237.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/8.602, allocations: 12.44 kB / 3.173 GB, free: 237.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/8.604, allocations: 250.5 kB / 3.173 GB, free: 237.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/8.604, allocations: 66.12 kB / 3.173 GB, free: 237.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/8.604, allocations: 3.906 kB / 3.173 GB, free: 237.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002182/8.606, allocations: 1.413 MB / 3.174 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/8.606, allocations: 3.938 kB / 3.174 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/8.606, allocations: 10.62 kB / 3.174 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/8.607, allocations: 285.1 kB / 3.175 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/8.607, allocations: 19.2 kB / 3.175 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/8.609, allocations: 241.5 kB / 3.175 GB, free: 237.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/8.609, allocations: 67.69 kB / 3.175 GB, free: 237.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (117): * Single equations (assignments): 114 * 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.0003416/8.609, allocations: 275 kB / 3.175 GB, free: 236.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/8.61, allocations: 165.2 kB / 3.175 GB, free: 236.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/8.613, allocations: 2 MB / 3.177 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/8.613, allocations: 17.88 kB / 3.177 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/8.613, allocations: 7.891 kB / 3.177 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/8.613, allocations: 3.609 kB / 3.177 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/8.618, allocations: 3.34 MB / 3.181 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/8.618, allocations: 0 / 3.181 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/8.619, allocations: 228.4 kB / 3.181 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/8.619, allocations: 6.594 kB / 3.181 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/8.619, allocations: 45.56 kB / 3.181 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/8.619, allocations: 4.781 kB / 3.181 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/8.619, allocations: 3.969 kB / 3.181 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005002/8.624, allocations: 2.701 MB / 3.184 GB, free: 235.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/8.626, allocations: 403.4 kB / 3.184 GB, free: 235.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/8.626, allocations: 31.25 kB / 3.184 GB, free: 235.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/8.628, allocations: 168.4 kB / 3.184 GB, free: 235.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/8.628, allocations: 66.69 kB / 3.184 GB, free: 235.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/8.628, allocations: 56.38 kB / 3.184 GB, free: 235.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00144/8.629, allocations: 0.7994 MB / 3.185 GB, free: 235.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.51e-07/8.629, allocations: 0 / 3.185 GB, free: 235.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003439/8.633, allocations: 0.9238 MB / 3.186 GB, free: 235.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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 (101): * Single equations (assignments): 79 * 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.005144/8.638, allocations: 4.337 MB / 3.19 GB, free: 233.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002923/8.641, allocations: 2.312 MB / 3.192 GB, free: 233.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/8.641, allocations: 2.5 kB / 3.192 GB, free: 233.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009872/8.642, allocations: 0.9049 MB / 3.193 GB, free: 233.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/8.645, allocations: 0.5937 MB / 3.194 GB, free: 233.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/8.65, allocations: 3.079 MB / 3.197 GB, free: 232.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/8.651, allocations: 1.313 MB / 3.198 GB, free: 231.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001919/8.653, allocations: 495 kB / 3.199 GB, free: 231.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007333/8.653, allocations: 0.6402 MB / 3.199 GB, free: 231.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.956e-06/8.653, allocations: 0 / 3.199 GB, free: 231.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09623/8.75, allocations: 53.64 MB / 3.252 GB, free: 216.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/8.75, allocations: 220.4 kB / 3.252 GB, free: 216.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.393/13.14, allocations: 0 / 3.252 GB, free: 216.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat does not exist to compare? outputFormat=mat