Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.676/1.676, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 174.5 kB / 384.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.2 MB / 0.6626 GB, free: 4.293 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 91.45 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004533, allocations: 14 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9034/0.9039, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/2.106, allocations: 469.8 MB / 1.485 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/2.106, allocations: 125.4 kB / 1.485 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.565/11.67, allocations: 2.581 GB / 4.066 GB, free: 8.727 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.986e-06/11.67, allocations: 0 / 4.066 GB, free: 8.727 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.001359/11.67, allocations: 163.9 kB / 4.067 GB, free: 8.566 MB / 1.089 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.02815/11.7, allocations: 7.285 MB / 4.074 GB, free: 1.184 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/11.7, allocations: 8.031 kB / 4.074 GB, free: 1.176 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008387/11.71, allocations: 1.338 MB / 4.075 GB, free: 15.83 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03717/11.75, allocations: 13.76 MB / 4.088 GB, free: 1.949 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007292/11.75, allocations: 383.7 kB / 4.089 GB, free: 1.562 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/11.75, allocations: 415.9 kB / 4.089 GB, free: 1.156 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9977/12.75, allocations: 4.565 MB / 4.094 GB, free: 66.27 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/12.75, allocations: 6.844 kB / 4.094 GB, free: 66.27 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006127/12.75, allocations: 152 kB / 4.094 GB, free: 66.27 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/12.75, allocations: 103.4 kB / 4.094 GB, free: 66.27 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/12.76, allocations: 3.85 MB / 4.098 GB, free: 66.23 MB / 1.104 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.05081/12.81, allocations: 23.88 MB / 4.121 GB, free: 55.65 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00704/12.82, allocations: 2.673 MB / 4.124 GB, free: 55.42 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004121/12.82, allocations: 1.571 MB / 4.125 GB, free: 55.41 MB / 1.104 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.01987/12.84, allocations: 8.229 MB / 4.133 GB, free: 51.59 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005198/12.85, allocations: 1.68 MB / 4.135 GB, free: 51.45 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005656/12.85, allocations: 0.6478 MB / 4.135 GB, free: 51.45 MB / 1.104 GB Notification: Performance of pre-optimization done (n=219): time 3.269e-05/12.85, allocations: 0.5 kB / 4.135 GB, free: 51.45 MB / 1.104 GB Notification: Performance of matching and sorting (n=219): time 0.01419/12.87, allocations: 4.683 MB / 4.14 GB, free: 50.82 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/12.87, allocations: 183.3 kB / 4.14 GB, free: 50.63 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01633/12.88, allocations: 5.056 MB / 4.145 GB, free: 50.24 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/12.88, allocations: 82.95 kB / 4.145 GB, free: 50.21 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.004491/12.89, allocations: 2.778 MB / 4.148 GB, free: 49.67 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/12.89, allocations: 0.7324 MB / 4.149 GB, free: 49.29 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000678/12.89, allocations: 61.05 kB / 4.149 GB, free: 49.29 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000355/12.89, allocations: 411 kB / 4.149 GB, free: 48.99 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003675/12.9, allocations: 1.276 MB / 4.15 GB, free: 48.98 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004645/12.9, allocations: 2.355 MB / 4.153 GB, free: 47.78 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007455/12.91, allocations: 3.42 MB / 4.156 GB, free: 46.81 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-05/12.91, allocations: 9.156 kB / 4.156 GB, free: 46.81 MB / 1.104 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01293/12.92, allocations: 4.23 MB / 4.16 GB, free: 46.33 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007439/12.92, allocations: 0.8088 MB / 4.161 GB, free: 45.38 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.988e-05/12.92, allocations: 21.78 kB / 4.161 GB, free: 45.38 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006889/12.92, allocations: 156.4 kB / 4.161 GB, free: 45.36 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/12.93, allocations: 0.6872 MB / 4.162 GB, free: 45.36 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008776/12.93, allocations: 1.225 MB / 4.163 GB, free: 44.32 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006839/12.93, allocations: 453.3 kB / 4.163 GB, free: 44.31 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008525/12.93, allocations: 165.1 kB / 4.163 GB, free: 44.31 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/12.93, allocations: 7.078 kB / 4.163 GB, free: 44.31 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01016/12.94, allocations: 3.61 MB / 4.167 GB, free: 44.15 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/12.94, allocations: 19.38 kB / 4.167 GB, free: 44.15 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003881/12.94, allocations: 120.8 kB / 4.167 GB, free: 44.13 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/12.95, allocations: 0.6643 MB / 4.168 GB, free: 44.13 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/12.95, allocations: 3.147 MB / 4.171 GB, free: 41.47 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006742/12.96, allocations: 422.5 kB / 4.171 GB, free: 41.46 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008376/12.96, allocations: 160.3 kB / 4.171 GB, free: 41.46 MB / 1.104 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.005717/12.96, allocations: 1.401 MB / 4.173 GB, free: 41.21 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002523/12.97, allocations: 0.5527 MB / 4.173 GB, free: 40.91 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/12.98, allocations: 4.132 MB / 4.177 GB, free: 40.63 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-05/12.98, allocations: 26.16 kB / 4.177 GB, free: 40.63 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/12.98, allocations: 2.359 kB / 4.177 GB, free: 40.63 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007149/12.99, allocations: 3.072 MB / 4.18 GB, free: 40.4 MB / 1.104 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.02976/13.02, allocations: 9.084 MB / 4.189 GB, free: 39.33 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/13.02, allocations: 11.09 kB / 4.189 GB, free: 39.32 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/13.02, allocations: 478.6 kB / 4.19 GB, free: 39.32 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/13.02, allocations: 103.2 kB / 4.19 GB, free: 39.31 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004644/13.02, allocations: 74.47 kB / 4.19 GB, free: 39.31 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006942/13.02, allocations: 1.18 MB / 4.191 GB, free: 38.27 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/13.02, allocations: 8.406 kB / 4.191 GB, free: 38.27 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/13.04, allocations: 5.575 MB / 4.197 GB, free: 37.57 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005483/13.04, allocations: 1.322 MB / 4.198 GB, free: 36.86 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002871/13.04, allocations: 52.23 kB / 4.198 GB, free: 36.86 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006475/13.05, allocations: 371.6 kB / 4.198 GB, free: 36.86 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006821/13.05, allocations: 144.1 kB / 4.198 GB, free: 36.85 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008006/13.05, allocations: 125.9 kB / 4.198 GB, free: 36.85 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01361/13.07, allocations: 3.37 MB / 4.202 GB, free: 36.64 MB / 1.104 GB Notification: Performance of sort global known variables: time 6.21e-07/13.07, allocations: 0.7188 kB / 4.202 GB, free: 36.64 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02113/13.09, allocations: 3.066 MB / 4.205 GB, free: 36.5 MB / 1.104 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.00994/13.1, allocations: 3.4 MB / 4.208 GB, free: 35.48 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01864/13.12, allocations: 5.511 MB / 4.213 GB, free: 34.94 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.055e-05/13.12, allocations: 4.156 kB / 4.213 GB, free: 34.94 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.005682/13.12, allocations: 1.695 MB / 4.215 GB, free: 34.8 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02849/13.15, allocations: 2.63 MB / 4.218 GB, free: 34.77 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05163/13.2, allocations: 13.91 MB / 4.231 GB, free: 29.82 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004503/13.21, allocations: 2.985 MB / 4.234 GB, free: 28.98 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.009146/13.22, allocations: 1.2 MB / 4.235 GB, free: 28.77 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/13.22, allocations: 418.6 kB / 4.236 GB, free: 28.77 MB / 1.104 GB Notification: Performance of SimCode: time 1.483e-06/13.22, allocations: 0 / 4.236 GB, free: 28.77 MB / 1.104 GB Notification: Performance of Templates: time 0.2455/13.46, allocations: 122.4 MB / 4.355 GB, free: 20.5 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & ./Buildings_latest_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)