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.175/2.175, allocations: 390.5 MB / 398 MB, free: 10.93 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.001086/0.001086, allocations: 180.6 kB / 491.2 MB, free: 1.551 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.694/1.694, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001323/0.001323, allocations: 91.91 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.52e-05, allocations: 6.812 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3746, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.872, allocations: 448.3 MB / 1.65 GB, free: 14.66 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003951/1.872, allocations: 104.1 kB / 1.65 GB, free: 14.61 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 6.835/8.708, allocations: 1.506 GB / 3.157 GB, free: 145.3 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.693e-06/8.708, allocations: 0 / 3.157 GB, free: 145.3 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0005246/8.708, allocations: 88.75 kB / 3.157 GB, free: 145.3 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.01052/8.719, allocations: 3.226 MB / 3.16 GB, free: 144.1 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/8.719, allocations: 9.562 kB / 3.16 GB, free: 144.1 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/8.723, allocations: 0.7916 MB / 3.161 GB, free: 143.9 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00895/8.732, allocations: 3.349 MB / 3.164 GB, free: 143.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00138/8.734, allocations: 347.5 kB / 3.164 GB, free: 143.5 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008318/8.735, allocations: 125.3 kB / 3.164 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004061/8.739, allocations: 1.83 MB / 3.166 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003855/8.743, allocations: 2.014 MB / 3.168 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.845e-05/8.743, allocations: 16.12 kB / 3.168 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/8.743, allocations: 3.938 kB / 3.168 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-05/8.743, allocations: 67.53 kB / 3.168 GB, free: 143.2 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.02074/8.764, allocations: 12.28 MB / 3.18 GB, free: 137.3 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/8.766, allocations: 1.328 MB / 3.181 GB, free: 137.1 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009648/8.767, allocations: 0.7151 MB / 3.182 GB, free: 137.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/8.768, allocations: 1.645 MB / 3.184 GB, free: 135.3 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/8.769, allocations: 0.8707 MB / 3.185 GB, free: 135.2 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001957/8.771, allocations: 147 kB / 3.185 GB, free: 135.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=131): time 6.382e-06/8.771, allocations: 2 kB / 3.185 GB, free: 135.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=131): time 0.004663/8.776, allocations: 1.742 MB / 3.186 GB, free: 134.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/8.776, allocations: 228.3 kB / 3.187 GB, free: 134.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/8.78, allocations: 1.915 MB / 3.188 GB, free: 134.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003118/8.78, allocations: 29.64 kB / 3.188 GB, free: 134.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/8.781, allocations: 1.337 MB / 3.19 GB, free: 134 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000403/8.781, allocations: 436.5 kB / 3.19 GB, free: 133.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/8.782, allocations: 2.781 kB / 3.19 GB, free: 133.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001043/8.782, allocations: 363.9 kB / 3.191 GB, free: 133.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009018/8.783, allocations: 0.5903 MB / 3.191 GB, free: 133.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/8.784, allocations: 1.001 MB / 3.192 GB, free: 132.9 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/8.786, allocations: 0.8512 MB / 3.193 GB, free: 132.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/8.786, allocations: 3.562 kB / 3.193 GB, free: 132.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005581/8.792, allocations: 2.105 MB / 3.195 GB, free: 132.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001226/8.793, allocations: 3.082 MB / 3.198 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/8.793, allocations: 7.281 kB / 3.198 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/8.793, allocations: 105.9 kB / 3.198 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/8.795, allocations: 443.1 kB / 3.199 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/8.796, allocations: 1.225 MB / 3.2 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004442/8.801, allocations: 283.9 kB / 3.2 GB, free: 128.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/8.801, allocations: 86.19 kB / 3.2 GB, free: 128.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/8.801, allocations: 3.688 kB / 3.2 GB, free: 128.4 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005601/8.807, allocations: 1.777 MB / 3.202 GB, free: 128.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/8.807, allocations: 6.406 kB / 3.202 GB, free: 128.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/8.807, allocations: 106.6 kB / 3.202 GB, free: 128.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/8.81, allocations: 444 kB / 3.202 GB, free: 128.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/8.813, allocations: 3.163 MB / 3.205 GB, free: 125.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/8.817, allocations: 255.7 kB / 3.206 GB, free: 125.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003802/8.817, allocations: 88.91 kB / 3.206 GB, free: 125.7 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.0007741/8.818, allocations: 178.3 kB / 3.206 GB, free: 125.5 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005023/8.823, allocations: 1.713 MB / 3.208 GB, free: 125.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/8.824, allocations: 278.2 kB / 3.208 GB, free: 125.2 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005996/8.83, allocations: 2.2 MB / 3.21 GB, free: 125 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/8.83, allocations: 27.3 kB / 3.21 GB, free: 125 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/8.83, allocations: 0.5625 kB / 3.21 GB, free: 125 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003585/8.834, allocations: 1.79 MB / 3.212 GB, free: 124.7 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/8.848, allocations: 5.104 MB / 3.217 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/8.848, allocations: 6.406 kB / 3.217 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/8.849, allocations: 336.6 kB / 3.217 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/8.85, allocations: 83.61 kB / 3.217 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/8.85, allocations: 34.8 kB / 3.217 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008697/8.851, allocations: 1.185 MB / 3.218 GB, free: 122.7 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/8.851, allocations: 3.094 kB / 3.218 GB, free: 122.7 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008496/8.859, allocations: 3.349 MB / 3.222 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00317/8.863, allocations: 0.6549 MB / 3.222 GB, free: 121.6 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/8.864, allocations: 14.38 kB / 3.222 GB, free: 121.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003983/8.868, allocations: 243.8 kB / 3.223 GB, free: 121.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/8.869, allocations: 106.5 kB / 3.223 GB, free: 121.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002963/8.869, allocations: 77.55 kB / 3.223 GB, free: 121.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.004627/8.874, allocations: 1.433 MB / 3.224 GB, free: 121.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.7e-07/8.874, allocations: 0 / 3.224 GB, free: 121.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00905/8.883, allocations: 1.521 MB / 3.226 GB, free: 121.2 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.01054/8.893, allocations: 6.035 MB / 3.231 GB, free: 118.8 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.005457/8.899, allocations: 2.921 MB / 3.234 GB, free: 118.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/8.899, allocations: 1.094 kB / 3.234 GB, free: 118.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/8.9, allocations: 0.9054 MB / 3.235 GB, free: 118.3 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007317/8.907, allocations: 1.14 MB / 3.236 GB, free: 118.3 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/8.924, allocations: 4.607 MB / 3.241 GB, free: 117.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/8.926, allocations: 1.852 MB / 3.243 GB, free: 116.3 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.006805/8.933, allocations: 0.7855 MB / 3.243 GB, free: 116.3 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/8.936, allocations: 1.201 MB / 3.245 GB, free: 116.3 MB / 1.198 GB Notification: Performance of SimCode: time 1.643e-06/8.936, allocations: 0 / 3.245 GB, free: 116.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/9.097, allocations: 80.73 MB / 3.323 GB, free: 112.1 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/9.097, allocations: 216 kB / 3.324 GB, free: 111.9 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.419/14.52, allocations: 4 kB / 3.324 GB, free: 111.9 MB / 1.198 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