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.413/2.413, allocations: 390.3 MB / 405.3 MB, free: 13.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.00112/0.00112, allocations: 177.1 kB / 498.1 MB, free: 5.688 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.54/1.54, allocations: 223.2 MB / 0.7948 GB, free: 17.79 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.001128/0.001128, allocations: 92.33 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 11 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/1.499, allocations: 448.3 MB / 1.661 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/1.5, allocations: 110.7 kB / 1.661 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.612/7.111, allocations: 1.518 GB / 3.179 GB, free: 2.973 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/7.111, allocations: 0 / 3.179 GB, free: 2.973 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006712/7.112, allocations: 91.91 kB / 3.179 GB, free: 2.883 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.01633/7.128, allocations: 3.851 MB / 3.183 GB, free: 14.96 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 7.522e-05/7.129, allocations: 12.03 kB / 3.183 GB, free: 14.95 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001632/7.13, allocations: 278.5 kB / 3.183 GB, free: 14.67 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/7.135, allocations: 0.7918 MB / 3.184 GB, free: 13.87 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/7.148, allocations: 3.374 MB / 3.187 GB, free: 10.43 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001511/7.15, allocations: 424 kB / 3.187 GB, free: 10.02 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/7.151, allocations: 215.9 kB / 3.188 GB, free: 9.809 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008443/7.16, allocations: 2.544 MB / 3.19 GB, free: 7.184 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.843e-05/7.16, allocations: 0 / 3.19 GB, free: 7.184 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005614/7.16, allocations: 80 kB / 3.19 GB, free: 7.105 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-05/7.16, allocations: 71.64 kB / 3.19 GB, free: 7.035 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006534/7.167, allocations: 2.388 MB / 3.193 GB, free: 4.645 MB / 1.182 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.02418/7.191, allocations: 12.71 MB / 3.205 GB, free: 7.016 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/7.195, allocations: 1.722 MB / 3.207 GB, free: 5.25 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/7.197, allocations: 1.65 MB / 3.208 GB, free: 3.25 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002503/7.199, allocations: 1.083 MB / 3.209 GB, free: 2.137 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002318/7.202, allocations: 204.2 kB / 3.21 GB, free: 1.938 MB / 1.198 GB Notification: Performance of pre-optimization done (n=131): time 1.111e-05/7.202, allocations: 4 kB / 3.21 GB, free: 1.934 MB / 1.198 GB Notification: Performance of matching and sorting (n=131): time 0.9578/8.16, allocations: 3.117 MB / 3.213 GB, free: 134.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/8.16, allocations: 221.8 kB / 3.213 GB, free: 134.4 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006396/8.166, allocations: 2.373 MB / 3.215 GB, free: 134.2 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006638/8.167, allocations: 56.45 kB / 3.215 GB, free: 134.1 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001914/8.169, allocations: 1.321 MB / 3.217 GB, free: 134 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008486/8.17, allocations: 450.8 kB / 3.217 GB, free: 133.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/8.17, allocations: 37.06 kB / 3.217 GB, free: 133.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001422/8.17, allocations: 362 kB / 3.217 GB, free: 133.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/8.172, allocations: 0.8332 MB / 3.218 GB, free: 133.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/8.175, allocations: 1.254 MB / 3.219 GB, free: 133 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/8.178, allocations: 0.9599 MB / 3.22 GB, free: 133 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/8.178, allocations: 5.141 kB / 3.22 GB, free: 133 MB / 1.198 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007577/8.186, allocations: 2.527 MB / 3.223 GB, free: 132.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009135/8.187, allocations: 3.144 MB / 3.226 GB, free: 129.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/8.187, allocations: 7.266 kB / 3.226 GB, free: 129.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/8.187, allocations: 114.9 kB / 3.226 GB, free: 129.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/8.19, allocations: 442.1 kB / 3.226 GB, free: 129.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009584/8.191, allocations: 1.202 MB / 3.228 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/8.195, allocations: 328.7 kB / 3.228 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004923/8.196, allocations: 83.44 kB / 3.228 GB, free: 128.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/8.196, allocations: 4.625 kB / 3.228 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00661/8.202, allocations: 2.254 MB / 3.23 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/8.202, allocations: 6.875 kB / 3.23 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/8.203, allocations: 108 kB / 3.23 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/8.205, allocations: 443.9 kB / 3.231 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/8.209, allocations: 3.329 MB / 3.234 GB, free: 125.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005354/8.214, allocations: 306.3 kB / 3.234 GB, free: 125.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008996/8.215, allocations: 79.88 kB / 3.234 GB, free: 125.4 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 () * 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.004038/8.219, allocations: 0.7081 MB / 3.235 GB, free: 125.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/8.221, allocations: 300.5 kB / 3.235 GB, free: 125 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009957/8.231, allocations: 2.625 MB / 3.238 GB, free: 124.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-05/8.231, allocations: 20.3 kB / 3.238 GB, free: 124.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/8.231, allocations: 2.859 kB / 3.238 GB, free: 124.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005035/8.236, allocations: 2.173 MB / 3.24 GB, free: 124.5 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/8.256, allocations: 5.646 MB / 3.246 GB, free: 123.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-05/8.256, allocations: 6.266 kB / 3.246 GB, free: 123.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/8.258, allocations: 340.9 kB / 3.246 GB, free: 123.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003829/8.258, allocations: 101.6 kB / 3.246 GB, free: 123.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/8.258, allocations: 48.19 kB / 3.246 GB, free: 123.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009339/8.259, allocations: 1.187 MB / 3.247 GB, free: 122.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/8.259, allocations: 0 / 3.247 GB, free: 122.6 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009152/8.268, allocations: 3.938 MB / 3.251 GB, free: 121.8 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/8.271, allocations: 0.6921 MB / 3.252 GB, free: 121.5 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/8.272, allocations: 35.86 kB / 3.252 GB, free: 121.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/8.276, allocations: 270.2 kB / 3.252 GB, free: 121.5 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/8.276, allocations: 102.1 kB / 3.252 GB, free: 121.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/8.276, allocations: 70.14 kB / 3.252 GB, free: 121.5 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.005159/8.282, allocations: 1.839 MB / 3.254 GB, free: 121.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.9e-07/8.282, allocations: 0 / 3.254 GB, free: 121.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.009107/8.291, allocations: 1.564 MB / 3.255 GB, free: 121.3 MB / 1.198 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.01266/8.303, allocations: 6.433 MB / 3.262 GB, free: 119.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.009045/8.312, allocations: 3.595 MB / 3.265 GB, free: 118.8 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/8.313, allocations: 0 / 3.265 GB, free: 118.8 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/8.315, allocations: 1.136 MB / 3.266 GB, free: 118.8 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008373/8.324, allocations: 1.396 MB / 3.268 GB, free: 118.8 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/8.346, allocations: 12.84 MB / 3.28 GB, free: 110.2 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/8.349, allocations: 1.854 MB / 3.282 GB, free: 109.4 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005219/8.354, allocations: 0.6814 MB / 3.283 GB, free: 109.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002816/8.357, allocations: 1.267 MB / 3.284 GB, free: 109.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.693e-06/8.357, allocations: 2.625 kB / 3.284 GB, free: 109.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1821/8.539, allocations: 92.59 MB / 3.374 GB, free: 105.1 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/8.539, allocations: 288.7 kB / 3.375 GB, free: 104.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.3/14.84, allocations: 3.375 kB / 3.375 GB, free: 104.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