Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.411/2.411, allocations: 285 MB / 292.5 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001442, allocations: 172.9 kB / 360.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.2 MB / 0.6192 GB, free: 12.07 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001075, allocations: 91.88 kB / 0.7322 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.068e-05, allocations: 0 / 0.8509 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8147/0.8148, allocations: 115.2 MB / 0.9635 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/2.181, allocations: 478.8 MB / 1.431 GB, free: 86.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000389/2.182, allocations: 122.5 kB / 1.431 GB, free: 86.33 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 13.81/15.99, allocations: 2.529 GB / 3.96 GB, free: 55.72 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.144e-06/15.99, allocations: 0 / 3.96 GB, free: 55.72 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001529/15.99, allocations: 167.5 kB / 3.96 GB, free: 55.69 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.02559/16.02, allocations: 5.749 MB / 3.965 GB, free: 53.38 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/16.02, allocations: 8.969 kB / 3.965 GB, free: 53.38 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/16.03, allocations: 1.337 MB / 3.967 GB, free: 53 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05582/16.08, allocations: 14.31 MB / 3.981 GB, free: 51.74 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005483/16.08, allocations: 229.1 kB / 3.981 GB, free: 51.67 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/16.09, allocations: 245.2 kB / 3.981 GB, free: 51.67 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01205/16.1, allocations: 3.243 MB / 3.984 GB, free: 51.66 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/16.11, allocations: 3.763 MB / 3.988 GB, free: 51.19 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/16.11, allocations: 14.56 kB / 3.988 GB, free: 51.19 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/16.11, allocations: 7.781 kB / 3.988 GB, free: 51.19 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/16.12, allocations: 101.4 kB / 3.988 GB, free: 51.19 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.05266/16.17, allocations: 23.24 MB / 4.011 GB, free: 40.13 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005337/16.17, allocations: 2.362 MB / 4.013 GB, free: 39.89 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003504/16.18, allocations: 1.326 MB / 4.014 GB, free: 39.88 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.02784/16.2, allocations: 8.121 MB / 4.022 GB, free: 35.93 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003701/16.21, allocations: 1.403 MB / 4.024 GB, free: 35.79 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005339/16.21, allocations: 0.5741 MB / 4.024 GB, free: 35.69 MB / 1.042 GB Notification: Performance of pre-optimization done (n=219): time 2.098e-05/16.21, allocations: 0 / 4.024 GB, free: 35.69 MB / 1.042 GB Notification: Performance of matching and sorting (n=219): time 0.0129/16.23, allocations: 3.111 MB / 4.027 GB, free: 35.31 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/16.23, allocations: 178.9 kB / 4.028 GB, free: 35.12 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/16.24, allocations: 3.906 MB / 4.031 GB, free: 34.75 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0008812/16.24, allocations: 35.33 kB / 4.031 GB, free: 34.72 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004254/16.24, allocations: 2.793 MB / 4.034 GB, free: 33.93 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/16.24, allocations: 0.7123 MB / 4.035 GB, free: 33.45 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/16.24, allocations: 3.812 kB / 4.035 GB, free: 33.45 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.00022/16.25, allocations: 410.4 kB / 4.035 GB, free: 33.14 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/16.25, allocations: 1.051 MB / 4.036 GB, free: 33.14 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003935/16.25, allocations: 2.078 MB / 4.038 GB, free: 31.94 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006983/16.26, allocations: 1.62 MB / 4.04 GB, free: 31.89 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.521e-05/16.26, allocations: 10.12 kB / 4.04 GB, free: 31.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01458/16.27, allocations: 3.859 MB / 4.044 GB, free: 31.48 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002312/16.28, allocations: 10.66 MB / 4.054 GB, free: 20.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/16.28, allocations: 20.91 kB / 4.054 GB, free: 20.53 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/16.28, allocations: 127.1 kB / 4.054 GB, free: 20.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005714/16.28, allocations: 0.6849 MB / 4.055 GB, free: 20.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/16.28, allocations: 1.252 MB / 4.056 GB, free: 35.48 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008221/16.29, allocations: 359 kB / 4.056 GB, free: 35.45 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/16.29, allocations: 164.5 kB / 4.057 GB, free: 35.45 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/16.29, allocations: 6.875 kB / 4.057 GB, free: 35.45 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01215/16.31, allocations: 3.19 MB / 4.06 GB, free: 35.36 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.638e-05/16.31, allocations: 19.84 kB / 4.06 GB, free: 35.36 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/16.31, allocations: 121.3 kB / 4.06 GB, free: 35.34 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005557/16.31, allocations: 0.6638 MB / 4.06 GB, free: 35.34 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/16.32, allocations: 3.02 MB / 4.063 GB, free: 32.8 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008254/16.33, allocations: 345.9 kB / 4.064 GB, free: 32.77 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/16.33, allocations: 154.8 kB / 4.064 GB, free: 32.77 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.001178/16.33, allocations: 265.1 kB / 4.064 GB, free: 32.59 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/16.33, allocations: 0.5175 MB / 4.065 GB, free: 32.31 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/16.35, allocations: 3.698 MB / 4.068 GB, free: 32.07 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.186e-05/16.35, allocations: 31.47 kB / 4.068 GB, free: 32.07 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/16.35, allocations: 0 / 4.068 GB, free: 32.07 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01031/16.36, allocations: 2.702 MB / 4.071 GB, free: 31.9 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.02923/16.39, allocations: 8.264 MB / 4.079 GB, free: 30.95 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/16.39, allocations: 0 / 4.079 GB, free: 30.95 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004593/16.39, allocations: 483.7 kB / 4.079 GB, free: 30.95 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/16.39, allocations: 88.36 kB / 4.08 GB, free: 30.93 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005981/16.39, allocations: 51.78 kB / 4.08 GB, free: 30.93 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/16.39, allocations: 1.179 MB / 4.081 GB, free: 29.89 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/16.39, allocations: 3.375 kB / 4.081 GB, free: 29.89 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/16.41, allocations: 5.086 MB / 4.086 GB, free: 29.09 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00482/16.41, allocations: 1.296 MB / 4.087 GB, free: 28.4 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002213/16.41, allocations: 19.27 kB / 4.087 GB, free: 28.4 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007589/16.42, allocations: 335 kB / 4.087 GB, free: 28.39 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007041/16.42, allocations: 143.8 kB / 4.087 GB, free: 28.38 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005534/16.42, allocations: 121.7 kB / 4.088 GB, free: 28.38 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.008687/16.43, allocations: 2.916 MB / 4.09 GB, free: 28.17 MB / 1.057 GB Notification: Performance of sort global known variables: time 9.72e-07/16.43, allocations: 2.312 kB / 4.09 GB, free: 28.17 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02118/16.45, allocations: 3.037 MB / 4.093 GB, free: 27.7 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.008439/16.46, allocations: 3.359 MB / 4.097 GB, free: 26.5 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01253/16.47, allocations: 4.907 MB / 4.101 GB, free: 25.95 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/16.48, allocations: 3.5 kB / 4.101 GB, free: 25.95 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003532/16.48, allocations: 1.442 MB / 4.103 GB, free: 25.82 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01906/16.5, allocations: 2.371 MB / 4.105 GB, free: 25.78 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04993/16.55, allocations: 9.775 MB / 4.115 GB, free: 23.34 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/16.55, allocations: 3.102 MB / 4.118 GB, free: 22.46 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01479/16.57, allocations: 1.615 MB / 4.119 GB, free: 22.21 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/16.57, allocations: 324.9 kB / 4.12 GB, free: 22.2 MB / 1.057 GB Notification: Performance of SimCode: time 1.462e-06/16.57, allocations: 0 / 4.12 GB, free: 22.2 MB / 1.057 GB Notification: Performance of Templates: time 0.2796/16.85, allocations: 112 MB / 4.229 GB, free: 10.03 MB / 1.057 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)