Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",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.228/2.228, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001091/0.001091, allocations: 184.8 kB / 492.3 MB, free: 0.5898 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.692/1.692, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.001018/0.001018, allocations: 87.91 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.574e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.59/1.918, allocations: 448.2 MB / 1.65 GB, free: 14.61 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/1.919, allocations: 116.2 kB / 1.65 GB, free: 14.54 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 7.918/9.836, allocations: 1.514 GB / 3.164 GB, free: 144.5 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.034e-06/9.836, allocations: 0 / 3.164 GB, free: 144.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0007589/9.837, allocations: 86.98 kB / 3.164 GB, free: 144.5 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.01199/9.849, allocations: 3.229 MB / 3.167 GB, free: 143.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/9.849, allocations: 7.75 kB / 3.167 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001631/9.851, allocations: 272.9 kB / 3.167 GB, free: 143.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/9.856, allocations: 0.7889 MB / 3.168 GB, free: 143.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/9.867, allocations: 3.348 MB / 3.171 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/9.869, allocations: 428.9 kB / 3.172 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/9.87, allocations: 209 kB / 3.172 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007577/9.877, allocations: 2.309 MB / 3.174 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/9.877, allocations: 0 / 3.174 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006988/9.878, allocations: 88.3 kB / 3.174 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.474e-05/9.878, allocations: 66.38 kB / 3.174 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00496/9.883, allocations: 1.935 MB / 3.176 GB, free: 142.3 MB / 1.198 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.02597/9.909, allocations: 12.7 MB / 3.189 GB, free: 136.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/9.912, allocations: 1.368 MB / 3.19 GB, free: 136.1 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/9.914, allocations: 0.7529 MB / 3.191 GB, free: 136.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/9.915, allocations: 1.648 MB / 3.192 GB, free: 134.3 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/9.917, allocations: 0.8946 MB / 3.193 GB, free: 134.2 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002356/9.919, allocations: 206.3 kB / 3.193 GB, free: 134.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=131): time 1.379e-05/9.919, allocations: 0 / 3.193 GB, free: 134.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=131): time 0.004479/9.924, allocations: 1.713 MB / 3.195 GB, free: 133.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/9.924, allocations: 226.6 kB / 3.195 GB, free: 133.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006145/9.93, allocations: 2.309 MB / 3.198 GB, free: 133.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005346/9.931, allocations: 57.67 kB / 3.198 GB, free: 133.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001676/9.933, allocations: 1.318 MB / 3.199 GB, free: 133 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006856/9.933, allocations: 448.7 kB / 3.199 GB, free: 132.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/9.933, allocations: 33.41 kB / 3.199 GB, free: 132.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001544/9.934, allocations: 362 kB / 3.2 GB, free: 132.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/9.935, allocations: 0.6137 MB / 3.2 GB, free: 132.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/9.937, allocations: 1.04 MB / 3.201 GB, free: 131.9 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/9.938, allocations: 0.74 MB / 3.202 GB, free: 131.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/9.938, allocations: 0 / 3.202 GB, free: 131.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004782/9.943, allocations: 2.095 MB / 3.204 GB, free: 131.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008028/9.944, allocations: 3.137 MB / 3.207 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/9.944, allocations: 7.531 kB / 3.207 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/9.944, allocations: 109.4 kB / 3.207 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/9.946, allocations: 449.9 kB / 3.208 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008073/9.947, allocations: 1.206 MB / 3.209 GB, free: 127.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/9.951, allocations: 326.7 kB / 3.209 GB, free: 127.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/9.951, allocations: 83.92 kB / 3.209 GB, free: 127.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/9.951, allocations: 2.938 kB / 3.209 GB, free: 127.2 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003742/9.955, allocations: 1.807 MB / 3.211 GB, free: 127.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/9.955, allocations: 6.844 kB / 3.211 GB, free: 127.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/9.955, allocations: 107.5 kB / 3.211 GB, free: 127.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/9.957, allocations: 446.5 kB / 3.212 GB, free: 127.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/9.96, allocations: 3.286 MB / 3.215 GB, free: 124.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/9.964, allocations: 313.2 kB / 3.215 GB, free: 124.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/9.964, allocations: 82.23 kB / 3.215 GB, free: 124.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * 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 prepare postOptimizeDAE: time 0.0008085/9.965, allocations: 237.6 kB / 3.215 GB, free: 124.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/9.966, allocations: 300.7 kB / 3.216 GB, free: 124 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005327/9.971, allocations: 2.256 MB / 3.218 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-05/9.971, allocations: 21.67 kB / 3.218 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/9.971, allocations: 0 / 3.218 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00278/9.974, allocations: 1.8 MB / 3.22 GB, free: 123.5 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/9.987, allocations: 5.435 MB / 3.225 GB, free: 122.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/9.987, allocations: 3.938 kB / 3.225 GB, free: 122.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/9.989, allocations: 336.1 kB / 3.225 GB, free: 122.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/9.989, allocations: 103.9 kB / 3.225 GB, free: 122.5 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/9.989, allocations: 49.55 kB / 3.225 GB, free: 122.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000675/9.99, allocations: 1.183 MB / 3.227 GB, free: 121.4 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/9.99, allocations: 5.75 kB / 3.227 GB, free: 121.4 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/9.995, allocations: 3.483 MB / 3.23 GB, free: 120.5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/9.998, allocations: 0.6916 MB / 3.231 GB, free: 120.2 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/9.999, allocations: 43.08 kB / 3.231 GB, free: 120.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/10, allocations: 272.5 kB / 3.231 GB, free: 120.2 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/10, allocations: 107.6 kB / 3.231 GB, free: 120.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/10, allocations: 71.67 kB / 3.231 GB, free: 120.2 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.004502/10.01, allocations: 1.795 MB / 3.233 GB, free: 120 MB / 1.198 GB Notification: Performance of sort global known variables: time 8.62e-07/10.01, allocations: 0 / 3.233 GB, free: 120 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00861/10.02, allocations: 1.549 MB / 3.234 GB, free: 119.8 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.s[1],hex1.thrWayVal.filter.s[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * 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.01006/10.03, allocations: 6.115 MB / 3.24 GB, free: 117.4 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.005967/10.03, allocations: 3.066 MB / 3.243 GB, free: 117 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/10.03, allocations: 1.875 kB / 3.243 GB, free: 117 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/10.03, allocations: 0.9385 MB / 3.244 GB, free: 116.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009144/10.04, allocations: 1.427 MB / 3.246 GB, free: 116.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/10.06, allocations: 4.805 MB / 3.25 GB, free: 115.6 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/10.06, allocations: 1.855 MB / 3.252 GB, free: 114.9 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.006115/10.07, allocations: 0.8436 MB / 3.253 GB, free: 114.8 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0026/10.07, allocations: 1.217 MB / 3.254 GB, free: 114.8 MB / 1.198 GB Notification: Performance of SimCode: time 2.495e-06/10.07, allocations: 5.5 kB / 3.254 GB, free: 114.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1831/10.26, allocations: 100.7 MB / 3.352 GB, free: 110.1 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/10.26, allocations: 260.9 kB / 3.353 GB, free: 109.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.294/16.55, allocations: 0 / 3.353 GB, free: 109.8 MB / 1.198 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_res.mat does not exist to compare? outputFormat=mat