Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.59/1.59, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 188.8 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008369/0.0008368, allocations: 93.59 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.241e-05/2.239e-05, allocations: 4 kB / 0.8519 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6345/0.6345, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.642, allocations: 479 MB / 1.432 GB, free: 84.81 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.642, allocations: 121.6 kB / 1.432 GB, free: 84.74 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 10.01/11.65, allocations: 2.529 GB / 3.961 GB, free: 55.28 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.317e-06/11.65, allocations: 1.625 kB / 3.961 GB, free: 55.28 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.00149/11.66, allocations: 158.4 kB / 3.961 GB, free: 55.25 MB / 1.042 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.02371/11.68, allocations: 5.758 MB / 3.967 GB, free: 52.86 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/11.68, allocations: 11.44 kB / 3.967 GB, free: 52.86 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009884/11.69, allocations: 1.336 MB / 3.968 GB, free: 52.48 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04104/11.73, allocations: 14.31 MB / 3.982 GB, free: 51.22 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004664/11.73, allocations: 228.7 kB / 3.982 GB, free: 51.15 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/11.73, allocations: 243.9 kB / 3.983 GB, free: 51.15 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01042/11.74, allocations: 3.244 MB / 3.986 GB, free: 51.13 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009991/11.75, allocations: 3.766 MB / 3.989 GB, free: 50.66 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-05/11.75, allocations: 11.56 kB / 3.989 GB, free: 50.66 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004378/11.75, allocations: 8.156 kB / 3.989 GB, free: 50.66 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/11.75, allocations: 101.3 kB / 3.99 GB, free: 50.66 MB / 1.042 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.04367/11.8, allocations: 23.23 MB / 4.012 GB, free: 39.6 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/11.8, allocations: 2.367 MB / 4.015 GB, free: 39.37 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002674/11.81, allocations: 1.33 MB / 4.016 GB, free: 39.36 MB / 1.042 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 evalFunc (simulation): time 0.01865/11.82, allocations: 8.122 MB / 4.024 GB, free: 35.4 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002958/11.83, allocations: 1.397 MB / 4.025 GB, free: 35.26 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00471/11.83, allocations: 0.5781 MB / 4.026 GB, free: 35.16 MB / 1.042 GB Notification: Performance of pre-optimization done (n=219): time 1.17e-05/11.83, allocations: 0 / 4.026 GB, free: 35.16 MB / 1.042 GB Notification: Performance of matching and sorting (n=219): time 0.009939/11.84, allocations: 3.106 MB / 4.029 GB, free: 34.79 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/11.84, allocations: 185.4 kB / 4.029 GB, free: 34.6 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/11.85, allocations: 3.901 MB / 4.033 GB, free: 34.23 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009221/11.85, allocations: 33.48 kB / 4.033 GB, free: 34.2 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004185/11.86, allocations: 2.802 MB / 4.035 GB, free: 33.39 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001371/11.86, allocations: 0.709 MB / 4.036 GB, free: 32.92 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006355/11.86, allocations: 6.484 kB / 4.036 GB, free: 32.92 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003192/11.86, allocations: 417.6 kB / 4.037 GB, free: 32.61 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/11.86, allocations: 1.048 MB / 4.038 GB, free: 32.61 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/11.87, allocations: 2.078 MB / 4.04 GB, free: 31.41 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/11.87, allocations: 1.614 MB / 4.041 GB, free: 31.36 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-05/11.87, allocations: 7.156 kB / 4.041 GB, free: 31.36 MB / 1.042 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01294/11.89, allocations: 3.858 MB / 4.045 GB, free: 30.95 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002581/11.89, allocations: 10.66 MB / 4.055 GB, free: 20 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.013e-05/11.89, allocations: 21.97 kB / 4.055 GB, free: 20 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/11.89, allocations: 126.1 kB / 4.056 GB, free: 19.99 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/11.89, allocations: 0.6794 MB / 4.056 GB, free: 19.99 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/11.89, allocations: 1.249 MB / 4.057 GB, free: 34.95 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006617/11.9, allocations: 365.2 kB / 4.058 GB, free: 34.92 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009907/11.9, allocations: 164.2 kB / 4.058 GB, free: 34.92 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/11.9, allocations: 6.156 kB / 4.058 GB, free: 34.92 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01037/11.91, allocations: 3.193 MB / 4.061 GB, free: 34.82 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.98e-05/11.91, allocations: 26.66 kB / 4.061 GB, free: 34.82 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/11.91, allocations: 112.6 kB / 4.061 GB, free: 34.8 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/11.92, allocations: 0.6646 MB / 4.062 GB, free: 34.8 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/11.92, allocations: 3.019 MB / 4.065 GB, free: 32.26 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00626/11.93, allocations: 344.5 kB / 4.065 GB, free: 32.24 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/11.93, allocations: 168.8 kB / 4.065 GB, free: 32.24 MB / 1.057 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (344): * Single equations (assignments): 338 * 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.002393/11.93, allocations: 265.7 kB / 4.065 GB, free: 32.05 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01126/11.94, allocations: 3.022 MB / 4.068 GB, free: 31.68 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/11.94, allocations: 0.5204 MB / 4.069 GB, free: 31.4 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/11.95, allocations: 3.69 MB / 4.073 GB, free: 31.16 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.196e-05/11.95, allocations: 31.45 kB / 4.073 GB, free: 31.16 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/11.95, allocations: 1.781 kB / 4.073 GB, free: 31.16 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006099/11.96, allocations: 2.702 MB / 4.075 GB, free: 30.99 MB / 1.057 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 postOpt removeSimpleEquations (simulation): time 0.02446/11.98, allocations: 8.268 MB / 4.083 GB, free: 30.03 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/11.98, allocations: 0 / 4.083 GB, free: 30.03 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/11.99, allocations: 479.9 kB / 4.084 GB, free: 30.03 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/11.99, allocations: 88.44 kB / 4.084 GB, free: 30.01 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/11.99, allocations: 52.3 kB / 4.084 GB, free: 30.01 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008201/11.99, allocations: 1.184 MB / 4.085 GB, free: 28.97 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/11.99, allocations: 3.75 kB / 4.085 GB, free: 28.97 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/12, allocations: 5.078 MB / 4.09 GB, free: 28.17 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004229/12, allocations: 1.301 MB / 4.091 GB, free: 27.48 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00233/12.01, allocations: 8.969 kB / 4.091 GB, free: 27.48 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005361/12.01, allocations: 340.5 kB / 4.092 GB, free: 27.46 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003816/12.01, allocations: 142.4 kB / 4.092 GB, free: 27.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000478/12.01, allocations: 127.6 kB / 4.092 GB, free: 27.46 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.008041/12.02, allocations: 2.913 MB / 4.095 GB, free: 27.25 MB / 1.057 GB Notification: Performance of sort global known variables: time 9.32e-07/12.02, allocations: 0 / 4.095 GB, free: 27.25 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02106/12.04, allocations: 3.051 MB / 4.098 GB, free: 26.77 MB / 1.057 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 207 * 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.01929/12.06, allocations: 8.874 MB / 4.106 GB, free: 24.2 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009833/12.07, allocations: 4.904 MB / 4.111 GB, free: 23.66 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/12.07, allocations: 2.875 kB / 4.111 GB, free: 23.66 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002676/12.07, allocations: 1.443 MB / 4.113 GB, free: 23.52 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/12.09, allocations: 2.377 MB / 4.115 GB, free: 23.45 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04456/12.13, allocations: 10.97 MB / 4.126 GB, free: 20.69 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005713/12.14, allocations: 3.1 MB / 4.129 GB, free: 19.82 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01001/12.15, allocations: 1.612 MB / 4.13 GB, free: 19.56 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003918/12.15, allocations: 2.518 MB / 4.133 GB, free: 19.55 MB / 1.057 GB Notification: Performance of SimCode: time 8.31e-07/12.15, allocations: 0 / 4.133 GB, free: 19.55 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.278/12.43, allocations: 162.3 MB / 4.291 GB, free: 9.422 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/12.43, allocations: 237.2 kB / 4.291 GB, free: 9.137 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.623/22.05, allocations: 0 / 4.291 GB, free: 9.137 MB / 1.104 GB (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Generation5_Subsystems_Validation_Chiller.fmu > Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)