Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.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.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller",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.377/2.377, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001311/0.001311, allocations: 179.2 kB / 498.1 MB, free: 5.668 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.656/1.656, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.0008623/0.0008628, allocations: 96.33 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003991, allocations: 10.88 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2944, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.353, allocations: 477.3 MB / 1.689 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.353, allocations: 114.7 kB / 1.689 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 10.6/11.96, allocations: 2.6 GB / 4.289 GB, free: 87.81 MB / 1.26 GB Notification: Performance of FrontEnd: time 4.309e-06/11.96, allocations: 0 / 4.289 GB, free: 87.81 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001687/11.96, allocations: 166.1 kB / 4.289 GB, free: 87.79 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.03174/11.99, allocations: 7.352 MB / 4.296 GB, free: 84.85 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/11.99, allocations: 16.89 kB / 4.296 GB, free: 84.85 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003046/11.99, allocations: 0.4887 MB / 4.297 GB, free: 84.79 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/12, allocations: 1.519 MB / 4.298 GB, free: 84.41 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0408/12.04, allocations: 14.71 MB / 4.313 GB, free: 83.14 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007701/12.05, allocations: 380.8 kB / 4.313 GB, free: 83.07 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/12.05, allocations: 411 kB / 4.314 GB, free: 83.07 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/12.06, allocations: 4.57 MB / 4.318 GB, free: 82.59 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002352/12.06, allocations: 11.22 kB / 4.318 GB, free: 82.59 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/12.07, allocations: 159.2 kB / 4.318 GB, free: 82.59 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/12.07, allocations: 97.61 kB / 4.318 GB, free: 82.58 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/12.08, allocations: 3.925 MB / 4.322 GB, free: 82.55 MB / 1.26 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.04499/12.12, allocations: 24.04 MB / 4.346 GB, free: 71.34 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005843/12.13, allocations: 2.739 MB / 4.348 GB, free: 71.1 MB / 1.26 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 evalFunc (simulation): time 0.01711/12.15, allocations: 8.306 MB / 4.356 GB, free: 67.17 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003823/12.15, allocations: 1.716 MB / 4.358 GB, free: 67.03 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004639/12.15, allocations: 0.6816 MB / 4.359 GB, free: 66.91 MB / 1.26 GB Notification: Performance of pre-optimization done (n=220): time 1.767e-05/12.15, allocations: 3.062 kB / 4.359 GB, free: 66.91 MB / 1.26 GB Notification: Performance of matching and sorting (n=220): time 0.01277/12.17, allocations: 4.923 MB / 4.364 GB, free: 66.06 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/12.17, allocations: 186 kB / 4.364 GB, free: 65.87 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/12.18, allocations: 4.564 MB / 4.368 GB, free: 65.5 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0009424/12.18, allocations: 83.61 kB / 4.368 GB, free: 65.47 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.004662/12.19, allocations: 2.798 MB / 4.371 GB, free: 64.73 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/12.19, allocations: 0.7361 MB / 4.372 GB, free: 64.26 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005975/12.19, allocations: 53.5 kB / 4.372 GB, free: 64.26 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0002979/12.19, allocations: 416.1 kB / 4.372 GB, free: 63.96 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003782/12.19, allocations: 1.32 MB / 4.373 GB, free: 63.95 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004407/12.2, allocations: 2.364 MB / 4.376 GB, free: 62.76 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/12.2, allocations: 1.598 MB / 4.377 GB, free: 62.64 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.69e-05/12.2, allocations: 6.719 kB / 4.377 GB, free: 62.64 MB / 1.26 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01335/12.21, allocations: 4.286 MB / 4.381 GB, free: 62.16 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.003184/12.22, allocations: 10.84 MB / 4.392 GB, free: 50.83 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.655e-05/12.22, allocations: 22.88 kB / 4.392 GB, free: 50.83 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/12.22, allocations: 141.6 kB / 4.392 GB, free: 50.81 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/12.22, allocations: 0.7078 MB / 4.393 GB, free: 50.81 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008229/12.22, allocations: 1.225 MB / 4.394 GB, free: 49.77 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006691/12.23, allocations: 469.7 kB / 4.395 GB, free: 49.75 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007925/12.23, allocations: 170.1 kB / 4.395 GB, free: 49.75 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/12.23, allocations: 3.188 kB / 4.395 GB, free: 49.75 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009313/12.24, allocations: 3.679 MB / 4.398 GB, free: 49.58 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.597e-05/12.24, allocations: 22.53 kB / 4.398 GB, free: 49.58 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/12.24, allocations: 128 kB / 4.398 GB, free: 49.56 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/12.24, allocations: 0.6857 MB / 4.399 GB, free: 49.56 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/12.25, allocations: 3.181 MB / 4.402 GB, free: 46.89 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006509/12.25, allocations: 444.6 kB / 4.403 GB, free: 46.87 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007439/12.25, allocations: 160.8 kB / 4.403 GB, free: 46.87 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,chi.booToRea.u,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,$PRE.THeaWatRet.nextEvent,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,$PRE.TChiWatRet.nextEvent,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 339 * Array equations: 2 * Algorithm blocks: 2 * 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.005013/12.26, allocations: 1.403 MB / 4.404 GB, free: 46.6 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002361/12.26, allocations: 0.5561 MB / 4.405 GB, free: 46.3 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/12.27, allocations: 4.21 MB / 4.409 GB, free: 46 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-05/12.27, allocations: 30.48 kB / 4.409 GB, free: 46 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/12.27, allocations: 2.875 kB / 4.409 GB, free: 46 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007527/12.28, allocations: 3.144 MB / 4.412 GB, free: 45.77 MB / 1.26 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 postOpt removeSimpleEquations (simulation): time 0.03205/12.31, allocations: 9.248 MB / 4.421 GB, free: 44.67 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/12.31, allocations: 2.531 kB / 4.421 GB, free: 44.67 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/12.31, allocations: 0.4888 MB / 4.421 GB, free: 44.66 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/12.31, allocations: 101.3 kB / 4.422 GB, free: 44.65 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003593/12.32, allocations: 80.72 kB / 4.422 GB, free: 44.64 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006591/12.32, allocations: 1.18 MB / 4.423 GB, free: 43.61 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/12.32, allocations: 0 / 4.423 GB, free: 43.61 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/12.33, allocations: 5.852 MB / 4.429 GB, free: 42.67 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004863/12.33, allocations: 1.343 MB / 4.43 GB, free: 41.96 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002367/12.34, allocations: 50.41 kB / 4.43 GB, free: 41.96 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00568/12.34, allocations: 391.7 kB / 4.43 GB, free: 41.92 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003642/12.34, allocations: 152.5 kB / 4.43 GB, free: 41.92 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000432/12.34, allocations: 119.6 kB / 4.431 GB, free: 41.92 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.009859/12.35, allocations: 3.505 MB / 4.434 GB, free: 41.7 MB / 1.26 GB Notification: Performance of sort global known variables: time 3.3e-07/12.35, allocations: 0 / 4.434 GB, free: 41.7 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01871/12.37, allocations: 3.104 MB / 4.437 GB, free: 41.29 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.con.conValEva.conPID.I.y,chi.con.conValCon.conPID.I.y,chi.senTConLvg.T,chi.senTConEnt.T,chi.senTEvaEnt.T,chi.senTEvaLvg.T,chi.valEva.vol.dynBal.U,chi.valCon.vol.dynBal.U,senTHeaWatSup.T,senTChiWatSup.T,senTHeaWatRet.T,senTChiWatRet.T) * Number of discrete variables: 16 (chi.booToRea.u,$whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 12 (THeaWatRet.nextEvent,THeaWatRet.last,THeaWatRet.nextEventScaled,THeaWatRet.b,THeaWatRet.a,$whenCondition2,TChiWatRet.nextEvent,TChiWatRet.last,TChiWatRet.nextEventScaled,TChiWatRet.b,TChiWatRet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 18 * 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.02756/12.4, allocations: 9.758 MB / 4.446 GB, free: 38.33 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01692/12.42, allocations: 5.636 MB / 4.452 GB, free: 37.72 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/12.42, allocations: 3.75 kB / 4.452 GB, free: 37.72 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.004371/12.42, allocations: 1.729 MB / 4.454 GB, free: 37.57 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0167/12.44, allocations: 2.632 MB / 4.456 GB, free: 37.45 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06628/12.5, allocations: 32.47 MB / 4.488 GB, free: 29.87 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006536/12.51, allocations: 3.104 MB / 4.491 GB, free: 29 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.009924/12.52, allocations: 1.223 MB / 4.492 GB, free: 28.79 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006617/12.53, allocations: 2.615 MB / 4.495 GB, free: 28.79 MB / 1.276 GB Notification: Performance of SimCode: time 1.703e-06/12.53, allocations: 4 kB / 4.495 GB, free: 28.78 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.403/13.93, allocations: 179 MB / 4.67 GB, free: 128.9 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/13.93, allocations: 295.6 kB / 4.67 GB, free: 128.6 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/25.73, allocations: 0 / 4.67 GB, free: 128.6 MB / 1.307 GB (rm -f Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller.fmu > Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller_res.mat does not exist to compare? outputFormat=mat