Running: ./testmodel.py --libraries=/home/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("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.489/2.489, allocations: 287.5 MB / 303.2 MB, free: 8.266 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.001325/0.001325, allocations: 174.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009088/0.0009088, allocations: 92.8 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 11.44 kB / 0.8668 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.987/2.203, allocations: 479.7 MB / 1.448 GB, free: 335.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004212/2.203, allocations: 126 kB / 1.448 GB, free: 335.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.79/15, allocations: 2.534 GB / 3.982 GB, free: 55.62 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.866e-06/15, allocations: 0 / 3.982 GB, free: 55.62 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001474/15, allocations: 175.2 kB / 3.982 GB, free: 55.57 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.03214/15.03, allocations: 7.246 MB / 3.989 GB, free: 52.01 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/15.03, allocations: 7.719 kB / 3.989 GB, free: 52.01 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/15.04, allocations: 1.344 MB / 3.99 GB, free: 51.59 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04675/15.09, allocations: 13.64 MB / 4.004 GB, free: 49.58 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007843/15.09, allocations: 388.9 kB / 4.004 GB, free: 49.5 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/15.09, allocations: 413.5 kB / 4.004 GB, free: 49.49 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/15.11, allocations: 4.56 MB / 4.009 GB, free: 47.9 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/15.11, allocations: 7.75 kB / 4.009 GB, free: 47.89 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000926/15.11, allocations: 158.7 kB / 4.009 GB, free: 47.78 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/15.11, allocations: 95.91 kB / 4.009 GB, free: 47.77 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01619/15.13, allocations: 3.848 MB / 4.013 GB, free: 46.3 MB / 1.042 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.05283/15.18, allocations: 23.88 MB / 4.036 GB, free: 26.29 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008478/15.19, allocations: 2.666 MB / 4.039 GB, free: 24.77 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005605/15.19, allocations: 1.568 MB / 4.04 GB, free: 23.99 MB / 1.042 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.02146/15.22, allocations: 8.228 MB / 4.048 GB, free: 15.43 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006196/15.22, allocations: 1.678 MB / 4.05 GB, free: 13.73 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005767/15.23, allocations: 0.6456 MB / 4.051 GB, free: 13.09 MB / 1.042 GB Notification: Performance of pre-optimization done (n=219): time 1.257e-05/15.23, allocations: 4 kB / 4.051 GB, free: 13.08 MB / 1.042 GB Notification: Performance of matching and sorting (n=219): time 0.02046/15.25, allocations: 4.675 MB / 4.055 GB, free: 8.34 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/15.25, allocations: 188.2 kB / 4.055 GB, free: 8.117 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01427/15.26, allocations: 5.025 MB / 4.06 GB, free: 3.094 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.000987/15.26, allocations: 81.7 kB / 4.06 GB, free: 3.008 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004577/15.27, allocations: 2.789 MB / 4.063 GB, free: 208 kB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00161/15.27, allocations: 0.7357 MB / 4.064 GB, free: 15.45 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/15.27, allocations: 56 kB / 4.064 GB, free: 15.4 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003432/15.27, allocations: 415.8 kB / 4.064 GB, free: 14.99 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005785/15.28, allocations: 1.282 MB / 4.065 GB, free: 13.7 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007152/15.28, allocations: 2.347 MB / 4.068 GB, free: 10.9 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01271/15.3, allocations: 3.417 MB / 4.071 GB, free: 7.125 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.433e-05/15.3, allocations: 7.938 kB / 4.071 GB, free: 7.117 MB / 1.057 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01951/15.32, allocations: 4.235 MB / 4.075 GB, free: 2.812 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008354/15.32, allocations: 0.8049 MB / 4.076 GB, free: 1.688 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/15.32, allocations: 24 kB / 4.076 GB, free: 1.664 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/15.32, allocations: 169.1 kB / 4.076 GB, free: 1.496 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006174/15.32, allocations: 0.6865 MB / 4.077 GB, free: 0.8047 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/15.33, allocations: 1.222 MB / 4.078 GB, free: 15.53 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009043/15.33, allocations: 443.6 kB / 4.079 GB, free: 15.1 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/15.34, allocations: 163.9 kB / 4.079 GB, free: 14.94 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/15.34, allocations: 4 kB / 4.079 GB, free: 14.93 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01526/15.35, allocations: 3.614 MB / 4.082 GB, free: 11.27 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.874e-05/15.35, allocations: 24.22 kB / 4.082 GB, free: 11.25 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/15.35, allocations: 121.6 kB / 4.082 GB, free: 11.12 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005846/15.36, allocations: 0.667 MB / 4.083 GB, free: 10.45 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004755/15.36, allocations: 3.144 MB / 4.086 GB, free: 7.051 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008433/15.37, allocations: 419.7 kB / 4.086 GB, free: 6.641 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/15.37, allocations: 163.5 kB / 4.087 GB, free: 6.484 MB / 1.073 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 (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.005822/15.38, allocations: 1.403 MB / 4.088 GB, free: 5.059 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002105/15.38, allocations: 0.5479 MB / 4.089 GB, free: 4.504 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01843/15.4, allocations: 4.115 MB / 4.093 GB, free: 356 kB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.411e-05/15.4, allocations: 31.92 kB / 4.093 GB, free: 324 kB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/15.4, allocations: 0 / 4.093 GB, free: 324 kB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.979/16.38, allocations: 3.067 MB / 4.096 GB, free: 90.2 MB / 1.073 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.03782/16.42, allocations: 9.063 MB / 4.104 GB, free: 89.2 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/16.42, allocations: 2.062 kB / 4.104 GB, free: 89.2 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004899/16.42, allocations: 479.1 kB / 4.105 GB, free: 89.2 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005754/16.42, allocations: 106 kB / 4.105 GB, free: 89.18 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007331/16.42, allocations: 75.27 kB / 4.105 GB, free: 89.18 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009527/16.42, allocations: 1.18 MB / 4.106 GB, free: 88.15 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/16.42, allocations: 2.906 kB / 4.106 GB, free: 88.15 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02251/16.45, allocations: 5.585 MB / 4.112 GB, free: 87.76 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004809/16.45, allocations: 1.308 MB / 4.113 GB, free: 87.37 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00227/16.45, allocations: 51.88 kB / 4.113 GB, free: 87.37 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007488/16.46, allocations: 374.4 kB / 4.113 GB, free: 87.37 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007366/16.46, allocations: 148.7 kB / 4.113 GB, free: 87.37 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005407/16.46, allocations: 120.4 kB / 4.114 GB, free: 87.37 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01175/16.47, allocations: 3.354 MB / 4.117 GB, free: 87.15 MB / 1.073 GB Notification: Performance of sort global known variables: time 8.01e-07/16.47, allocations: 0 / 4.117 GB, free: 87.15 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01962/16.49, allocations: 3.062 MB / 4.12 GB, free: 87.15 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) * Number of clocked states: 0 () * 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.008692/16.5, allocations: 3.398 MB / 4.123 GB, free: 86.13 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01911/16.52, allocations: 5.514 MB / 4.129 GB, free: 85.61 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/16.52, allocations: 1.812 kB / 4.129 GB, free: 85.61 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.006393/16.53, allocations: 1.698 MB / 4.13 GB, free: 85.46 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02645/16.55, allocations: 2.641 MB / 4.133 GB, free: 85.43 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05905/16.61, allocations: 13.87 MB / 4.146 GB, free: 80.5 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005762/16.62, allocations: 2.979 MB / 4.149 GB, free: 79.7 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01077/16.63, allocations: 1.193 MB / 4.15 GB, free: 79.65 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/16.63, allocations: 417.7 kB / 4.151 GB, free: 79.64 MB / 1.073 GB Notification: Performance of SimCode: time 1.623e-06/16.63, allocations: 0 / 4.151 GB, free: 79.64 MB / 1.073 GB Notification: Performance of Templates: time 0.3064/16.94, allocations: 121 MB / 4.269 GB, free: 71.41 MB / 1.073 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)