Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_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_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001088/0.001089, allocations: 176.8 kB / 366.7 MB, free: 1.641 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.549/1.549, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008874/0.0008876, allocations: 85.09 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.749e-05, allocations: 4 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6497, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.729, allocations: 480 MB / 1.442 GB, free: 73.36 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.729, allocations: 123.7 kB / 1.442 GB, free: 73.29 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.57/11.3, allocations: 2.529 GB / 3.971 GB, free: 61.43 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.146e-06/11.3, allocations: 0 / 3.971 GB, free: 61.43 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.00163/11.3, allocations: 164.8 kB / 3.971 GB, free: 61.4 MB / 1.057 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.02243/11.32, allocations: 5.755 MB / 3.977 GB, free: 59.07 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/11.32, allocations: 8.75 kB / 3.977 GB, free: 59.07 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008746/11.33, allocations: 1.333 MB / 3.978 GB, free: 58.7 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0398/11.37, allocations: 14.32 MB / 3.992 GB, free: 57.43 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004798/11.37, allocations: 232.2 kB / 3.992 GB, free: 57.36 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/11.37, allocations: 247.5 kB / 3.992 GB, free: 57.36 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009294/11.38, allocations: 3.242 MB / 3.995 GB, free: 57.34 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/11.4, allocations: 3.761 MB / 3.999 GB, free: 56.88 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/11.4, allocations: 11 kB / 3.999 GB, free: 56.88 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/11.4, allocations: 7.344 kB / 3.999 GB, free: 56.88 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/11.4, allocations: 98.97 kB / 3.999 GB, free: 56.88 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 preOpt removeSimpleEquations (simulation): time 0.04498/11.44, allocations: 23.23 MB / 4.022 GB, free: 45.83 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/11.45, allocations: 2.36 MB / 4.024 GB, free: 45.59 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/11.45, allocations: 1.336 MB / 4.026 GB, free: 45.58 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 preOpt evalFunc (simulation): time 0.01491/11.46, allocations: 8.133 MB / 4.033 GB, free: 41.6 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/11.47, allocations: 1.401 MB / 4.035 GB, free: 41.47 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004059/11.47, allocations: 0.5732 MB / 4.035 GB, free: 41.37 MB / 1.057 GB Notification: Performance of pre-optimization done (n=219): time 9.167e-06/11.47, allocations: 0.875 kB / 4.035 GB, free: 41.37 MB / 1.057 GB Notification: Performance of matching and sorting (n=219): time 0.009189/11.48, allocations: 3.104 MB / 4.038 GB, free: 40.99 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/11.48, allocations: 184.6 kB / 4.039 GB, free: 40.8 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/11.49, allocations: 3.906 MB / 4.042 GB, free: 40.43 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0007909/11.49, allocations: 33.55 kB / 4.042 GB, free: 40.4 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003363/11.49, allocations: 2.798 MB / 4.045 GB, free: 39.61 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001129/11.49, allocations: 0.7083 MB / 4.046 GB, free: 39.13 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004339/11.5, allocations: 0 / 4.046 GB, free: 39.13 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002432/11.5, allocations: 413.8 kB / 4.046 GB, free: 38.82 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/11.5, allocations: 1.055 MB / 4.047 GB, free: 38.82 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/11.5, allocations: 2.073 MB / 4.049 GB, free: 37.62 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/11.5, allocations: 1.619 MB / 4.051 GB, free: 37.57 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/11.5, allocations: 6.656 kB / 4.051 GB, free: 37.57 MB / 1.057 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.008424/11.51, allocations: 3.865 MB / 4.055 GB, free: 37.17 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001894/11.51, allocations: 10.66 MB / 4.065 GB, free: 26.22 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/11.51, allocations: 23 kB / 4.065 GB, free: 26.22 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/11.51, allocations: 124.8 kB / 4.065 GB, free: 26.2 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/11.52, allocations: 0.6797 MB / 4.066 GB, free: 26.2 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006877/11.52, allocations: 1.251 MB / 4.067 GB, free: 25.16 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005514/11.52, allocations: 361.7 kB / 4.067 GB, free: 25.14 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/11.52, allocations: 162.7 kB / 4.068 GB, free: 25.14 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/11.52, allocations: 6.281 kB / 4.068 GB, free: 25.14 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007094/11.53, allocations: 3.194 MB / 4.071 GB, free: 25.03 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/11.53, allocations: 26.33 kB / 4.071 GB, free: 25.03 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002744/11.53, allocations: 116.3 kB / 4.071 GB, free: 25.02 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/11.53, allocations: 0.6657 MB / 4.072 GB, free: 25.02 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/11.54, allocations: 3.014 MB / 4.074 GB, free: 22.48 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/11.54, allocations: 343.9 kB / 4.075 GB, free: 22.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003598/11.54, allocations: 156.3 kB / 4.075 GB, free: 22.46 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.0008574/11.54, allocations: 258.6 kB / 4.075 GB, free: 22.27 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/11.54, allocations: 0.5215 MB / 4.076 GB, free: 21.99 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007802/11.55, allocations: 3.698 MB / 4.079 GB, free: 21.75 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/11.55, allocations: 32.31 kB / 4.079 GB, free: 21.75 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/11.55, allocations: 3.188 kB / 4.079 GB, free: 21.75 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004811/11.56, allocations: 2.699 MB / 4.082 GB, free: 21.58 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.01724/11.57, allocations: 8.263 MB / 4.09 GB, free: 20.63 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/11.57, allocations: 3.312 kB / 4.09 GB, free: 20.63 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/11.58, allocations: 483.3 kB / 4.091 GB, free: 20.63 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/11.58, allocations: 79.77 kB / 4.091 GB, free: 20.62 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/11.58, allocations: 55.53 kB / 4.091 GB, free: 20.62 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/11.58, allocations: 1.184 MB / 4.092 GB, free: 35.58 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/11.58, allocations: 2.531 kB / 4.092 GB, free: 35.58 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008896/11.59, allocations: 5.085 MB / 4.097 GB, free: 34.77 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003877/11.59, allocations: 1.289 MB / 4.098 GB, free: 34.09 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002399/11.59, allocations: 20.39 kB / 4.098 GB, free: 34.08 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005325/11.6, allocations: 333.9 kB / 4.098 GB, free: 34.07 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/11.6, allocations: 151.4 kB / 4.099 GB, free: 34.07 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003993/11.6, allocations: 123.4 kB / 4.099 GB, free: 34.07 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.008125/11.61, allocations: 2.914 MB / 4.101 GB, free: 33.85 MB / 1.073 GB Notification: Performance of sort global known variables: time 5.91e-07/11.61, allocations: 0 / 4.101 GB, free: 33.85 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01623/11.62, allocations: 3.043 MB / 4.104 GB, free: 33.38 MB / 1.073 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.0054/11.63, allocations: 3.361 MB / 4.108 GB, free: 32.16 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.007251/11.64, allocations: 4.902 MB / 4.113 GB, free: 31.61 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/11.64, allocations: 3.375 kB / 4.113 GB, free: 31.61 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/11.64, allocations: 1.441 MB / 4.114 GB, free: 31.48 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01214/11.65, allocations: 2.375 MB / 4.116 GB, free: 31.43 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/11.68, allocations: 9.769 MB / 4.126 GB, free: 29.05 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/11.68, allocations: 3.108 MB / 4.129 GB, free: 28.17 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.008774/11.69, allocations: 1.614 MB / 4.13 GB, free: 27.91 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/11.69, allocations: 323.7 kB / 4.131 GB, free: 27.9 MB / 1.073 GB Notification: Performance of SimCode: time 8.61e-07/11.69, allocations: 0 / 4.131 GB, free: 27.9 MB / 1.073 GB Notification: Performance of Templates: time 0.1665/11.86, allocations: 112 MB / 4.24 GB, free: 19.45 MB / 1.073 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & ./Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)