Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.413/2.413, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.00132/0.00132, allocations: 183.9 kB / 0.4902 GB, free: 2.238 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.687/1.687, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001199/0.001199, allocations: 90.34 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005602/0.0005601, allocations: 13.22 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3614, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.654, allocations: 449 MB / 1.668 GB, free: 9.645 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/1.654, allocations: 107.1 kB / 1.668 GB, free: 9.582 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.409/7.063, allocations: 1.518 GB / 3.186 GB, free: 15.71 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.683e-06/7.063, allocations: 0 / 3.186 GB, free: 15.71 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0003664/7.064, allocations: 83.97 kB / 3.186 GB, free: 15.62 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.0118/7.075, allocations: 3.863 MB / 3.19 GB, free: 11.69 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/7.075, allocations: 8.031 kB / 3.19 GB, free: 11.68 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008047/7.076, allocations: 278.5 kB / 3.19 GB, free: 11.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/7.08, allocations: 0.7841 MB / 3.191 GB, free: 10.61 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009045/7.089, allocations: 3.381 MB / 3.194 GB, free: 7.168 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001315/7.09, allocations: 427.9 kB / 3.194 GB, free: 6.75 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/7.091, allocations: 211.9 kB / 3.195 GB, free: 6.543 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005514/7.096, allocations: 2.54 MB / 3.197 GB, free: 3.922 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/7.097, allocations: 7.938 kB / 3.197 GB, free: 3.914 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/7.097, allocations: 76 kB / 3.197 GB, free: 3.84 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.281e-05/7.097, allocations: 67.66 kB / 3.197 GB, free: 3.773 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005393/7.102, allocations: 2.388 MB / 3.2 GB, free: 1.383 MB / 1.198 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.02124/7.124, allocations: 12.7 MB / 3.212 GB, free: 3.77 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/7.127, allocations: 1.728 MB / 3.214 GB, free: 2 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/7.129, allocations: 1.642 MB / 3.215 GB, free: 8 kB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.971/8.1, allocations: 1.08 MB / 3.216 GB, free: 141.3 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002418/8.102, allocations: 202.4 kB / 3.217 GB, free: 141.3 MB / 1.214 GB Notification: Performance of pre-optimization done (n=131): time 5.61e-06/8.102, allocations: 2.297 kB / 3.217 GB, free: 141.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=131): time 0.009435/8.112, allocations: 3.124 MB / 3.22 GB, free: 140.9 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/8.112, allocations: 228.5 kB / 3.22 GB, free: 140.6 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006345/8.118, allocations: 2.377 MB / 3.222 GB, free: 140.4 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0006188/8.119, allocations: 56.98 kB / 3.222 GB, free: 140.4 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001816/8.121, allocations: 1.32 MB / 3.224 GB, free: 140.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.000706/8.122, allocations: 452.8 kB / 3.224 GB, free: 140 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/8.122, allocations: 27.47 kB / 3.224 GB, free: 140 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001456/8.122, allocations: 365.2 kB / 3.224 GB, free: 139.7 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/8.124, allocations: 0.8329 MB / 3.225 GB, free: 139.7 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/8.127, allocations: 1.254 MB / 3.226 GB, free: 139.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/8.129, allocations: 0.9586 MB / 3.227 GB, free: 139.2 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/8.129, allocations: 1.312 kB / 3.227 GB, free: 139.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007775/8.137, allocations: 2.541 MB / 3.23 GB, free: 138.9 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001231/8.139, allocations: 3.133 MB / 3.233 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/8.139, allocations: 10.72 kB / 3.233 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004524/8.139, allocations: 112.8 kB / 3.233 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/8.142, allocations: 444.6 kB / 3.233 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009559/8.143, allocations: 1.198 MB / 3.235 GB, free: 134.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/8.147, allocations: 328.2 kB / 3.235 GB, free: 134.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004609/8.148, allocations: 84.45 kB / 3.235 GB, free: 134.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/8.148, allocations: 6.406 kB / 3.235 GB, free: 134.5 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006554/8.154, allocations: 2.249 MB / 3.237 GB, free: 134.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/8.154, allocations: 10.78 kB / 3.237 GB, free: 134.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/8.155, allocations: 110.3 kB / 3.237 GB, free: 134.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/8.157, allocations: 440.2 kB / 3.238 GB, free: 134.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/8.161, allocations: 3.323 MB / 3.241 GB, free: 131.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/8.165, allocations: 307.1 kB / 3.241 GB, free: 131.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/8.166, allocations: 85.62 kB / 3.241 GB, free: 131.6 MB / 1.214 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 () * Number of clocked 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.002817/8.169, allocations: 0.7025 MB / 3.242 GB, free: 131.4 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/8.17, allocations: 302.4 kB / 3.242 GB, free: 131.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007596/8.177, allocations: 2.629 MB / 3.245 GB, free: 131.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.677e-05/8.178, allocations: 19.38 kB / 3.245 GB, free: 131.1 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/8.178, allocations: 1.25 kB / 3.245 GB, free: 131.1 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004769/8.182, allocations: 2.174 MB / 3.247 GB, free: 130.7 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/8.195, allocations: 5.649 MB / 3.253 GB, free: 129.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/8.195, allocations: 3.844 kB / 3.253 GB, free: 129.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/8.196, allocations: 332.5 kB / 3.253 GB, free: 129.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/8.196, allocations: 101.8 kB / 3.253 GB, free: 129.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/8.197, allocations: 53.03 kB / 3.253 GB, free: 129.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006536/8.197, allocations: 1.179 MB / 3.254 GB, free: 128.8 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/8.197, allocations: 4.625 kB / 3.254 GB, free: 128.8 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007789/8.205, allocations: 3.942 MB / 3.258 GB, free: 128 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002463/8.208, allocations: 0.6875 MB / 3.259 GB, free: 127.7 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005171/8.208, allocations: 34.41 kB / 3.259 GB, free: 127.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/8.21, allocations: 272.2 kB / 3.259 GB, free: 127.7 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/8.211, allocations: 102.8 kB / 3.259 GB, free: 127.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/8.211, allocations: 80.14 kB / 3.259 GB, free: 127.7 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.003392/8.214, allocations: 1.836 MB / 3.261 GB, free: 127.6 MB / 1.214 GB Notification: Performance of sort global known variables: time 3.1e-07/8.214, allocations: 2.375 kB / 3.261 GB, free: 127.6 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.007099/8.221, allocations: 1.556 MB / 3.262 GB, free: 127.5 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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) * Number of clocked states: 0 () * 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.01064/8.232, allocations: 6.42 MB / 3.269 GB, free: 125.4 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.00817/8.24, allocations: 3.592 MB / 3.272 GB, free: 125.1 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/8.24, allocations: 2.844 kB / 3.272 GB, free: 125.1 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002526/8.243, allocations: 1.139 MB / 3.273 GB, free: 125 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008307/8.251, allocations: 1.398 MB / 3.275 GB, free: 125 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/8.273, allocations: 12.84 MB / 3.287 GB, free: 116.4 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/8.275, allocations: 1.851 MB / 3.289 GB, free: 115.6 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004844/8.28, allocations: 0.6822 MB / 3.29 GB, free: 115.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002482/8.283, allocations: 1.271 MB / 3.291 GB, free: 115.6 MB / 1.214 GB Notification: Performance of SimCode: time 1.072e-06/8.283, allocations: 0 / 3.291 GB, free: 115.6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/8.465, allocations: 92.53 MB / 3.381 GB, free: 111.3 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/8.466, allocations: 301.8 kB / 3.382 GB, free: 110.9 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.208/14.67, allocations: 0 / 3.382 GB, free: 110.9 MB / 1.214 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_res.mat does not exist to compare? outputFormat=mat