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: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.65/1.65, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001333/0.001333, allocations: 176.9 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.77/1.77, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008789/0.000879, allocations: 100.3 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.959e-06/9.989e-06, allocations: 0 / 0.8518 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6638/0.6638, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.738, allocations: 479 MB / 1.432 GB, free: 84.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003803/1.739, allocations: 120.2 kB / 1.432 GB, free: 84.83 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.764/11.5, allocations: 2.529 GB / 3.961 GB, free: 55.46 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.523e-06/11.5, allocations: 0.9062 kB / 3.961 GB, free: 55.46 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001529/11.5, allocations: 167.2 kB / 3.961 GB, free: 55.44 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.02114/11.53, allocations: 5.747 MB / 3.967 GB, free: 53.07 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/11.53, allocations: 9.031 kB / 3.967 GB, free: 53.07 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009121/11.53, allocations: 1.337 MB / 3.968 GB, free: 52.7 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03653/11.57, allocations: 14.31 MB / 3.982 GB, free: 51.43 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004949/11.57, allocations: 229.2 kB / 3.982 GB, free: 51.36 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/11.57, allocations: 245.2 kB / 3.982 GB, free: 51.36 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009505/11.58, allocations: 3.245 MB / 3.986 GB, free: 51.34 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/11.6, allocations: 3.772 MB / 3.989 GB, free: 50.87 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/11.6, allocations: 11.09 kB / 3.989 GB, free: 50.86 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001568/11.6, allocations: 8.719 kB / 3.989 GB, free: 50.86 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/11.6, allocations: 95.09 kB / 3.989 GB, free: 50.86 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.04005/11.64, allocations: 23.24 MB / 4.012 GB, free: 39.81 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/11.64, allocations: 2.357 MB / 4.014 GB, free: 39.58 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/11.64, allocations: 1.333 MB / 4.016 GB, free: 39.57 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.01482/11.66, allocations: 8.122 MB / 4.024 GB, free: 35.61 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002011/11.66, allocations: 1.398 MB / 4.025 GB, free: 35.47 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004152/11.66, allocations: 0.5771 MB / 4.026 GB, free: 35.38 MB / 1.042 GB Notification: Performance of pre-optimization done (n=219): time 8.215e-06/11.66, allocations: 0 / 4.026 GB, free: 35.38 MB / 1.042 GB Notification: Performance of matching and sorting (n=219): time 0.008367/11.67, allocations: 3.109 MB / 4.029 GB, free: 35 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/11.67, allocations: 180.9 kB / 4.029 GB, free: 34.81 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007554/11.68, allocations: 3.907 MB / 4.033 GB, free: 34.44 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0007853/11.68, allocations: 35.42 kB / 4.033 GB, free: 34.41 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00283/11.68, allocations: 2.799 MB / 4.035 GB, free: 33.6 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/11.69, allocations: 0.7088 MB / 4.036 GB, free: 33.12 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/11.69, allocations: 3.969 kB / 4.036 GB, free: 33.12 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001502/11.69, allocations: 416.8 kB / 4.036 GB, free: 32.82 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/11.69, allocations: 1.052 MB / 4.037 GB, free: 32.81 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/11.69, allocations: 2.081 MB / 4.039 GB, free: 31.61 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/11.69, allocations: 1.607 MB / 4.041 GB, free: 31.57 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/11.69, allocations: 9.828 kB / 4.041 GB, free: 31.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.008847/11.7, allocations: 3.858 MB / 4.045 GB, free: 31.16 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001986/11.7, allocations: 10.66 MB / 4.055 GB, free: 20.21 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/11.7, allocations: 26.69 kB / 4.055 GB, free: 20.21 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/11.71, allocations: 119.1 kB / 4.055 GB, free: 20.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/11.71, allocations: 0.6884 MB / 4.056 GB, free: 20.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/11.71, allocations: 1.248 MB / 4.057 GB, free: 35.16 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006185/11.72, allocations: 364.4 kB / 4.058 GB, free: 35.13 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005349/11.72, allocations: 164.5 kB / 4.058 GB, free: 35.13 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/11.72, allocations: 2.406 kB / 4.058 GB, free: 35.13 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007318/11.72, allocations: 3.19 MB / 4.061 GB, free: 35.03 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/11.72, allocations: 24.69 kB / 4.061 GB, free: 35.03 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/11.72, allocations: 119.2 kB / 4.061 GB, free: 35.02 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/11.73, allocations: 0.6634 MB / 4.062 GB, free: 35.02 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/11.73, allocations: 3.023 MB / 4.065 GB, free: 32.47 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005603/11.74, allocations: 347.8 kB / 4.065 GB, free: 32.45 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004809/11.74, allocations: 158.1 kB / 4.065 GB, free: 32.45 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.0009966/11.74, allocations: 257.8 kB / 4.065 GB, free: 32.27 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/11.74, allocations: 0.524 MB / 4.066 GB, free: 31.98 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/11.75, allocations: 3.696 MB / 4.069 GB, free: 31.74 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/11.75, allocations: 24.09 kB / 4.069 GB, free: 31.74 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/11.75, allocations: 6.312 kB / 4.069 GB, free: 31.74 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005194/11.75, allocations: 2.699 MB / 4.072 GB, free: 31.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.01895/11.77, allocations: 8.272 MB / 4.08 GB, free: 30.62 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/11.77, allocations: 3.219 kB / 4.08 GB, free: 30.62 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/11.77, allocations: 478.6 kB / 4.081 GB, free: 30.62 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/11.77, allocations: 81.95 kB / 4.081 GB, free: 30.6 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/11.77, allocations: 55.81 kB / 4.081 GB, free: 30.6 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008258/11.77, allocations: 1.181 MB / 4.082 GB, free: 29.56 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/11.77, allocations: 1.031 kB / 4.082 GB, free: 29.56 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009081/11.78, allocations: 5.082 MB / 4.087 GB, free: 28.76 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003596/11.79, allocations: 1.291 MB / 4.088 GB, free: 28.07 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001602/11.79, allocations: 18.77 kB / 4.088 GB, free: 28.07 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004663/11.79, allocations: 339.1 kB / 4.089 GB, free: 28.05 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/11.79, allocations: 147.8 kB / 4.089 GB, free: 28.05 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003727/11.79, allocations: 120 kB / 4.089 GB, free: 28.05 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.007448/11.8, allocations: 2.912 MB / 4.092 GB, free: 27.84 MB / 1.057 GB Notification: Performance of sort global known variables: time 9.52e-07/11.8, allocations: 0 / 4.092 GB, free: 27.84 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01648/11.82, allocations: 3.045 MB / 4.095 GB, free: 27.37 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.005883/11.82, allocations: 3.356 MB / 4.098 GB, free: 26.16 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.008879/11.83, allocations: 4.905 MB / 4.103 GB, free: 25.62 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/11.83, allocations: 3.562 kB / 4.103 GB, free: 25.62 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002297/11.84, allocations: 1.442 MB / 4.104 GB, free: 25.48 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01305/11.85, allocations: 2.369 MB / 4.106 GB, free: 25.44 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03089/11.88, allocations: 9.777 MB / 4.116 GB, free: 22.93 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/11.88, allocations: 3.102 MB / 4.119 GB, free: 22.06 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.00909/11.89, allocations: 1.619 MB / 4.121 GB, free: 21.8 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/11.89, allocations: 324.2 kB / 4.121 GB, free: 21.79 MB / 1.057 GB Notification: Performance of SimCode: time 1.042e-06/11.89, allocations: 4 kB / 4.121 GB, free: 21.79 MB / 1.057 GB Notification: Performance of Templates: time 0.1742/12.07, allocations: 112 MB / 4.23 GB, free: 8.086 MB / 1.057 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)