Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001104/0.001104, allocations: 171.4 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.0009123/0.0009124, allocations: 95.95 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003779, allocations: 9.719 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3062, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.444, allocations: 401.7 MB / 1.615 GB, free: 14.63 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.444, allocations: 90.92 kB / 1.615 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.311/6.755, allocations: 1.539 GB / 3.154 GB, free: 37.29 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.436e-06/6.756, allocations: 0 / 3.154 GB, free: 37.29 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000301/6.756, allocations: 55.97 kB / 3.154 GB, free: 37.23 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.007127/6.763, allocations: 2.191 MB / 3.156 GB, free: 34.96 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/6.763, allocations: 12.03 kB / 3.156 GB, free: 34.95 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005562/6.764, allocations: 160.4 kB / 3.157 GB, free: 34.79 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/6.767, allocations: 0.5988 MB / 3.157 GB, free: 34.19 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/6.772, allocations: 1.45 MB / 3.159 GB, free: 32.68 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.584e-05/6.772, allocations: 87.12 kB / 3.159 GB, free: 32.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000423/6.772, allocations: 112 kB / 3.159 GB, free: 32.49 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/6.776, allocations: 1.373 MB / 3.16 GB, free: 31.04 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/6.776, allocations: 4.281 kB / 3.16 GB, free: 31.04 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/6.776, allocations: 51.95 kB / 3.16 GB, free: 30.99 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/6.776, allocations: 24 kB / 3.16 GB, free: 30.96 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/6.779, allocations: 1.241 MB / 3.161 GB, free: 29.72 MB / 1.167 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.009258/6.788, allocations: 6.66 MB / 3.168 GB, free: 22.55 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/6.791, allocations: 1.266 MB / 3.169 GB, free: 21.27 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/6.793, allocations: 2.256 MB / 3.171 GB, free: 18.52 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/6.795, allocations: 0.8305 MB / 3.172 GB, free: 17.66 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.036e-06/6.795, allocations: 4 kB / 3.172 GB, free: 17.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.005863/6.801, allocations: 2.462 MB / 3.175 GB, free: 15.11 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/6.801, allocations: 153.2 kB / 3.175 GB, free: 14.93 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/6.802, allocations: 1.054 MB / 3.176 GB, free: 13.88 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/6.803, allocations: 49.69 kB / 3.176 GB, free: 13.82 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/6.803, allocations: 0.6976 MB / 3.177 GB, free: 13.11 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/6.804, allocations: 331.3 kB / 3.177 GB, free: 12.79 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/6.804, allocations: 16 kB / 3.177 GB, free: 12.77 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001009/6.804, allocations: 349.9 kB / 3.177 GB, free: 12.42 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/6.805, allocations: 0.5761 MB / 3.178 GB, free: 11.84 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/6.806, allocations: 0.879 MB / 3.179 GB, free: 10.85 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/6.808, allocations: 0.7184 MB / 3.179 GB, free: 10.12 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/6.808, allocations: 0 / 3.179 GB, free: 10.12 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003691/6.811, allocations: 1.848 MB / 3.181 GB, free: 8.238 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005664/6.812, allocations: 2.24 MB / 3.183 GB, free: 5.785 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/6.812, allocations: 8 kB / 3.183 GB, free: 5.777 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/6.812, allocations: 12 kB / 3.183 GB, free: 5.766 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/6.813, allocations: 291.5 kB / 3.184 GB, free: 5.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/6.813, allocations: 15.98 kB / 3.184 GB, free: 5.465 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/6.815, allocations: 246.8 kB / 3.184 GB, free: 5.223 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/6.815, allocations: 59.97 kB / 3.184 GB, free: 5.164 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/6.815, allocations: 5.25 kB / 3.184 GB, free: 5.16 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003294/6.819, allocations: 1.75 MB / 3.186 GB, free: 3.391 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/6.819, allocations: 4 kB / 3.186 GB, free: 3.387 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/6.819, allocations: 15.95 kB / 3.186 GB, free: 3.371 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/6.82, allocations: 287.8 kB / 3.186 GB, free: 3.09 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/6.82, allocations: 15.92 kB / 3.186 GB, free: 3.074 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/6.822, allocations: 246.9 kB / 3.186 GB, free: 2.832 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/6.822, allocations: 59.97 kB / 3.186 GB, free: 2.773 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 () * Number of clocked 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.0009119/6.823, allocations: 0.4919 MB / 3.187 GB, free: 2.254 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/6.823, allocations: 162.1 kB / 3.187 GB, free: 2.094 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8758/7.699, allocations: 2.351 MB / 3.189 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.858e-05/7.699, allocations: 19.16 kB / 3.189 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/7.699, allocations: 0.5938 kB / 3.189 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/7.699, allocations: 5.484 kB / 3.189 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00867/7.708, allocations: 3.678 MB / 3.193 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/7.708, allocations: 0.9688 kB / 3.193 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/7.709, allocations: 229.3 kB / 3.193 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/7.709, allocations: 5.594 kB / 3.193 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/7.709, allocations: 44.45 kB / 3.193 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/7.709, allocations: 5.25 kB / 3.193 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/7.709, allocations: 2.969 kB / 3.193 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/7.716, allocations: 3.211 MB / 3.196 GB, free: 174.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/7.717, allocations: 403.8 kB / 3.197 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/7.718, allocations: 29.67 kB / 3.197 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/7.719, allocations: 173.7 kB / 3.197 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/7.719, allocations: 71.02 kB / 3.197 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/7.719, allocations: 57.45 kB / 3.197 GB, free: 173.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001609/7.721, allocations: 0.8233 MB / 3.198 GB, free: 173.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.042e-06/7.721, allocations: 1.594 kB / 3.198 GB, free: 173.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003389/7.724, allocations: 0.9209 MB / 3.199 GB, free: 173.8 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) * Number of clocked states: 0 () * 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.009031/7.733, allocations: 4.859 MB / 3.203 GB, free: 172.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006124/7.739, allocations: 2.768 MB / 3.206 GB, free: 172 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/7.739, allocations: 0.9062 kB / 3.206 GB, free: 172 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/7.742, allocations: 1.077 MB / 3.207 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/7.745, allocations: 0.594 MB / 3.208 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/7.767, allocations: 14.04 MB / 3.221 GB, free: 164.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009757/7.768, allocations: 1.312 MB / 3.223 GB, free: 164.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002026/7.77, allocations: 418.2 kB / 3.223 GB, free: 164.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/7.771, allocations: 0.653 MB / 3.224 GB, free: 164.2 MB / 1.167 GB Notification: Performance of SimCode: time 3.186e-06/7.771, allocations: 0 / 3.224 GB, free: 164.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09583/7.867, allocations: 50.31 MB / 3.273 GB, free: 163.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/7.867, allocations: 233 kB / 3.273 GB, free: 163 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.882/11.75, allocations: 0 / 3.273 GB, free: 163 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat does not exist to compare? outputFormat=mat