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.601/2.601, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.0013/0.0013, allocations: 168.9 kB / 487.4 MB, free: 5.027 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.801/1.801, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009816, allocations: 86.84 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.681e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3418, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.455/1.797, allocations: 447.5 MB / 1.643 GB, free: 7.059 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.797, allocations: 108.3 kB / 1.643 GB, free: 6.996 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.778/8.574, allocations: 1.506 GB / 3.149 GB, free: 135.9 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.974e-06/8.574, allocations: 0 / 3.149 GB, free: 135.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0005204/8.575, allocations: 87.3 kB / 3.15 GB, free: 135.9 MB / 1.182 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.01022/8.585, allocations: 3.231 MB / 3.153 GB, free: 134.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/8.585, allocations: 13.53 kB / 3.153 GB, free: 134.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/8.59, allocations: 0.7879 MB / 3.154 GB, free: 134.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009142/8.599, allocations: 3.35 MB / 3.157 GB, free: 134 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001325/8.6, allocations: 339.9 kB / 3.157 GB, free: 134 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00084/8.601, allocations: 132.4 kB / 3.157 GB, free: 134 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003685/8.605, allocations: 1.827 MB / 3.159 GB, free: 134 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/8.608, allocations: 2.012 MB / 3.161 GB, free: 133.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/8.608, allocations: 3.188 kB / 3.161 GB, free: 133.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/8.609, allocations: 11.39 kB / 3.161 GB, free: 133.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.23e-05/8.609, allocations: 72.86 kB / 3.161 GB, free: 133.7 MB / 1.182 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.01888/8.628, allocations: 12.29 MB / 3.173 GB, free: 127.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/8.63, allocations: 1.32 MB / 3.174 GB, free: 127.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009645/8.631, allocations: 0.7268 MB / 3.175 GB, free: 127.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/8.632, allocations: 1.642 MB / 3.177 GB, free: 125.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/8.633, allocations: 0.8539 MB / 3.178 GB, free: 125.7 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002304/8.635, allocations: 155.3 kB / 3.178 GB, free: 125.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=131): time 5.901e-06/8.635, allocations: 0 / 3.178 GB, free: 125.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=131): time 0.004536/8.64, allocations: 1.749 MB / 3.179 GB, free: 125.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/8.64, allocations: 225.3 kB / 3.18 GB, free: 125.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/8.643, allocations: 1.914 MB / 3.181 GB, free: 124.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002803/8.644, allocations: 32.64 kB / 3.181 GB, free: 124.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/8.645, allocations: 1.336 MB / 3.183 GB, free: 124.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/8.645, allocations: 434.1 kB / 3.183 GB, free: 124.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/8.645, allocations: 0 / 3.183 GB, free: 124.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001112/8.645, allocations: 364.9 kB / 3.184 GB, free: 123.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009048/8.646, allocations: 0.5925 MB / 3.184 GB, free: 123.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/8.648, allocations: 0.9998 MB / 3.185 GB, free: 123.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/8.65, allocations: 0.85 MB / 3.186 GB, free: 123.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/8.65, allocations: 3.812 kB / 3.186 GB, free: 123.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004943/8.655, allocations: 2.103 MB / 3.188 GB, free: 123.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007326/8.656, allocations: 3.084 MB / 3.191 GB, free: 120 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/8.656, allocations: 7.844 kB / 3.191 GB, free: 120 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/8.656, allocations: 99.83 kB / 3.191 GB, free: 120 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/8.658, allocations: 448.5 kB / 3.192 GB, free: 120 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007581/8.659, allocations: 1.227 MB / 3.193 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00339/8.662, allocations: 283.6 kB / 3.193 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/8.662, allocations: 86.7 kB / 3.193 GB, free: 118.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/8.662, allocations: 3.688 kB / 3.193 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004131/8.666, allocations: 1.768 MB / 3.195 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/8.666, allocations: 9.656 kB / 3.195 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/8.667, allocations: 108.7 kB / 3.195 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/8.669, allocations: 441.5 kB / 3.195 GB, free: 118.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/8.671, allocations: 3.177 MB / 3.198 GB, free: 116.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/8.674, allocations: 258.7 kB / 3.199 GB, free: 116.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/8.675, allocations: 84.48 kB / 3.199 GB, free: 116.2 MB / 1.182 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.0005716/8.675, allocations: 169.5 kB / 3.199 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004452/8.68, allocations: 1.73 MB / 3.201 GB, free: 115.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007473/8.681, allocations: 284.1 kB / 3.201 GB, free: 115.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004826/8.685, allocations: 2.181 MB / 3.203 GB, free: 115.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/8.685, allocations: 25.7 kB / 3.203 GB, free: 115.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/8.685, allocations: 1.859 kB / 3.203 GB, free: 115.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003171/8.689, allocations: 1.775 MB / 3.205 GB, free: 115.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/8.698, allocations: 5.129 MB / 3.21 GB, free: 114.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/8.698, allocations: 3.938 kB / 3.21 GB, free: 114.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/8.7, allocations: 332.7 kB / 3.21 GB, free: 114.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/8.7, allocations: 81.17 kB / 3.21 GB, free: 114.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/8.7, allocations: 39.83 kB / 3.21 GB, free: 114.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005924/8.701, allocations: 1.18 MB / 3.211 GB, free: 113.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/8.701, allocations: 3.781 kB / 3.211 GB, free: 113.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/8.707, allocations: 3.35 MB / 3.215 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/8.709, allocations: 0.6552 MB / 3.215 GB, free: 112.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004375/8.709, allocations: 9.906 kB / 3.215 GB, free: 112.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/8.711, allocations: 245.2 kB / 3.216 GB, free: 112.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/8.711, allocations: 111.6 kB / 3.216 GB, free: 112.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/8.712, allocations: 73.83 kB / 3.216 GB, free: 112.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002307/8.714, allocations: 1.43 MB / 3.217 GB, free: 111.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.01e-07/8.714, allocations: 3.125 kB / 3.217 GB, free: 111.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005702/8.72, allocations: 1.526 MB / 3.219 GB, free: 111.7 MB / 1.182 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.007821/8.727, allocations: 6.032 MB / 3.224 GB, free: 109.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004519/8.732, allocations: 2.923 MB / 3.227 GB, free: 108.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/8.732, allocations: 3.25 kB / 3.227 GB, free: 108.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/8.733, allocations: 0.8951 MB / 3.228 GB, free: 108.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/8.74, allocations: 1.137 MB / 3.229 GB, free: 108.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/8.752, allocations: 4.627 MB / 3.234 GB, free: 107.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/8.754, allocations: 1.854 MB / 3.236 GB, free: 106.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004158/8.758, allocations: 0.7716 MB / 3.236 GB, free: 106.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/8.76, allocations: 1.2 MB / 3.238 GB, free: 106.8 MB / 1.182 GB Notification: Performance of SimCode: time 1.543e-06/8.76, allocations: 0 / 3.238 GB, free: 106.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1451/8.905, allocations: 80.79 MB / 3.316 GB, free: 102.5 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/8.905, allocations: 212.6 kB / 3.317 GB, free: 102.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.578/14.48, allocations: 0 / 3.317 GB, free: 102.2 MB / 1.182 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