Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeaterCooler_u,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.357/2.357, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001187/0.001187, allocations: 171.2 kB / 492.3 MB, free: 0.625 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.854/1.854, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.001319/0.001319, allocations: 93.28 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.583e-05/4.585e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3367, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.166/6.503, allocations: 1.931 GB / 3.144 GB, free: 402.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/6.503, allocations: 89.92 kB / 3.144 GB, free: 402.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.769/10.27, allocations: 1.05 GB / 4.194 GB, free: 193.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.873e-06/10.27, allocations: 0 / 4.194 GB, free: 193.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003003/10.27, allocations: 42.73 kB / 4.194 GB, free: 193.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005671/10.28, allocations: 2.07 MB / 4.196 GB, free: 191.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/10.28, allocations: 8.031 kB / 4.196 GB, free: 191.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005614/10.28, allocations: 181.3 kB / 4.196 GB, free: 191 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004326/10.28, allocations: 0.6232 MB / 4.197 GB, free: 190.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004331/10.29, allocations: 1.429 MB / 4.198 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/10.29, allocations: 155.4 kB / 4.199 GB, free: 188.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/10.29, allocations: 127.9 kB / 4.199 GB, free: 188.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/10.29, allocations: 1.345 MB / 4.2 GB, free: 187.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/10.29, allocations: 0 / 4.2 GB, free: 187.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/10.29, allocations: 52.36 kB / 4.2 GB, free: 187.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/10.29, allocations: 46.22 kB / 4.2 GB, free: 187.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/10.29, allocations: 1.055 MB / 4.201 GB, free: 186.1 MB / 1.151 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.00968/10.3, allocations: 5.867 MB / 4.207 GB, free: 180 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/10.3, allocations: 0.9891 MB / 4.208 GB, free: 179 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/10.31, allocations: 489.5 kB / 4.208 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/10.31, allocations: 314.4 kB / 4.209 GB, free: 178.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008371/10.31, allocations: 0.5383 MB / 4.209 GB, free: 177.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=87): time 4.238e-06/10.31, allocations: 0 / 4.209 GB, free: 177.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.007288/10.31, allocations: 2.989 MB / 4.212 GB, free: 174.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/10.31, allocations: 196.7 kB / 4.212 GB, free: 174.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/10.32, allocations: 1.142 MB / 4.213 GB, free: 173.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/10.32, allocations: 49.64 kB / 4.213 GB, free: 173.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/10.32, allocations: 0.7243 MB / 4.214 GB, free: 172.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000302/10.32, allocations: 324.3 kB / 4.214 GB, free: 172.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/10.32, allocations: 16 kB / 4.214 GB, free: 172.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/10.32, allocations: 345.9 kB / 4.215 GB, free: 171.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/10.32, allocations: 373.9 kB / 4.215 GB, free: 171.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/10.32, allocations: 0.5982 MB / 4.216 GB, free: 170.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/10.33, allocations: 2.358 MB / 4.218 GB, free: 168.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/10.33, allocations: 0 / 4.218 GB, free: 168.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004158/10.33, allocations: 1.617 MB / 4.22 GB, free: 166.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003753/10.33, allocations: 1.303 MB / 4.221 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/10.33, allocations: 4 kB / 4.221 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/10.33, allocations: 398.4 kB / 4.221 GB, free: 165 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/10.34, allocations: 178.1 kB / 4.221 GB, free: 164.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006851/10.34, allocations: 6.699 MB / 4.228 GB, free: 157.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/10.34, allocations: 147.2 kB / 4.228 GB, free: 157.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/10.34, allocations: 39.98 kB / 4.228 GB, free: 157.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/10.34, allocations: 5.719 kB / 4.228 GB, free: 157.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003423/10.35, allocations: 1.467 MB / 4.23 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/10.35, allocations: 4.375 kB / 4.23 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000959/10.35, allocations: 398.6 kB / 4.23 GB, free: 155.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007604/10.35, allocations: 187.7 kB / 4.23 GB, free: 155.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007205/10.36, allocations: 7.681 MB / 4.238 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/10.36, allocations: 143.8 kB / 4.238 GB, free: 147.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/10.36, allocations: 39.39 kB / 4.238 GB, free: 147.1 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004329/10.36, allocations: 198.9 kB / 4.238 GB, free: 146.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/10.36, allocations: 177.9 kB / 4.238 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003357/10.36, allocations: 1.441 MB / 4.24 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/10.36, allocations: 12 kB / 4.24 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/10.36, allocations: 3.938 kB / 4.24 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002471/10.37, allocations: 1.293 MB / 4.241 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006631/10.37, allocations: 3.314 MB / 4.244 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/10.37, allocations: 4 kB / 4.244 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/10.37, allocations: 187.8 kB / 4.244 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/10.37, allocations: 204.6 kB / 4.244 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/10.37, allocations: 31.98 kB / 4.245 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/10.38, allocations: 2.489 MB / 4.247 GB, free: 137.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/10.38, allocations: 4 kB / 4.247 GB, free: 137.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/10.38, allocations: 2.394 MB / 4.249 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/10.38, allocations: 367 kB / 4.25 GB, free: 134.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/10.38, allocations: 31.94 kB / 4.25 GB, free: 134.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/10.38, allocations: 143.7 kB / 4.25 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/10.38, allocations: 64.66 kB / 4.25 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/10.38, allocations: 39.97 kB / 4.25 GB, free: 134.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002303/10.39, allocations: 0.8898 MB / 4.251 GB, free: 133.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.21e-07/10.39, allocations: 7.938 kB / 4.251 GB, free: 133.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00592/10.39, allocations: 1.019 MB / 4.252 GB, free: 132.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01018/10.4, allocations: 6.217 MB / 4.258 GB, free: 126.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004228/10.41, allocations: 2.671 MB / 4.26 GB, free: 123.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/10.41, allocations: 0 / 4.26 GB, free: 123.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/10.41, allocations: 0.7023 MB / 4.261 GB, free: 122.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006716/10.42, allocations: 0.8466 MB / 4.262 GB, free: 121.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/10.43, allocations: 2.993 MB / 4.265 GB, free: 118.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/10.43, allocations: 1.386 MB / 4.266 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003707/10.43, allocations: 494.8 kB / 4.267 GB, free: 116.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/10.43, allocations: 0.6125 MB / 4.267 GB, free: 116.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.462e-06/10.43, allocations: 0 / 4.267 GB, free: 116.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/10.57, allocations: 91.35 MB / 4.357 GB, free: 25.25 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/10.57, allocations: 224.6 kB / 4.357 GB, free: 25 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.331/15.9, allocations: 4 kB / 4.357 GB, free: 25 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat does not exist to compare? outputFormat=mat