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.725/1.725, allocations: 288.3 MB / 303.2 MB, free: 8.27 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.001282/0.001282, allocations: 173.1 kB / 371.8 MB, free: 10.27 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.925/1.925, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001187/0.001187, allocations: 95.42 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 10.81 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2459, allocations: 115.3 MB / 0.9795 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.673/1.919, allocations: 479.8 MB / 1.448 GB, free: 335.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/1.92, allocations: 122.6 kB / 1.448 GB, free: 335.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.74/11.66, allocations: 2.548 GB / 3.996 GB, free: 55.61 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.555e-06/11.66, allocations: 4 kB / 3.996 GB, free: 55.6 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001678/11.66, allocations: 175.2 kB / 3.997 GB, free: 55.55 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.03056/11.69, allocations: 7.317 MB / 4.004 GB, free: 52.01 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/11.69, allocations: 11.78 kB / 4.004 GB, free: 52 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009018/11.7, allocations: 1.339 MB / 4.005 GB, free: 51.59 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04131/11.74, allocations: 14.47 MB / 4.019 GB, free: 42.63 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007226/11.74, allocations: 379.9 kB / 4.02 GB, free: 42.43 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/11.75, allocations: 412.5 kB / 4.02 GB, free: 42.29 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/11.76, allocations: 4.53 MB / 4.024 GB, free: 39.46 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003053/11.76, allocations: 7.875 kB / 4.024 GB, free: 39.46 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001802/11.76, allocations: 153.4 kB / 4.025 GB, free: 39.35 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/11.77, allocations: 104.1 kB / 4.025 GB, free: 39.34 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/11.78, allocations: 3.854 MB / 4.028 GB, free: 35.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 removeSimpleEquations (simulation): time 0.05152/11.83, allocations: 23.96 MB / 4.052 GB, free: 10.53 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0059/11.84, allocations: 2.677 MB / 4.054 GB, free: 7.809 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.0187/11.85, allocations: 8.261 MB / 4.063 GB, free: 14.84 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004272/11.86, allocations: 1.674 MB / 4.064 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004799/11.86, allocations: 0.6916 MB / 4.065 GB, free: 12.45 MB / 1.057 GB Notification: Performance of pre-optimization done (n=220): time 1.62e-05/11.86, allocations: 0 / 4.065 GB, free: 12.45 MB / 1.057 GB Notification: Performance of matching and sorting (n=220): time 0.0135/11.88, allocations: 4.806 MB / 4.07 GB, free: 7.547 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/11.88, allocations: 188.1 kB / 4.07 GB, free: 7.324 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/11.89, allocations: 4.534 MB / 4.074 GB, free: 2.797 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001154/11.89, allocations: 85.69 kB / 4.074 GB, free: 2.707 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.005718/11.9, allocations: 2.782 MB / 4.077 GB, free: 15.91 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001882/11.9, allocations: 0.7393 MB / 4.078 GB, free: 15.16 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007705/11.9, allocations: 56 kB / 4.078 GB, free: 15.1 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0004664/11.9, allocations: 415.9 kB / 4.078 GB, free: 14.69 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004068/11.91, allocations: 1.282 MB / 4.079 GB, free: 13.41 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005367/11.91, allocations: 2.34 MB / 4.082 GB, free: 10.61 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/11.92, allocations: 1.568 MB / 4.083 GB, free: 9.008 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.541e-05/11.92, allocations: 8 kB / 4.083 GB, free: 9 MB / 1.073 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01557/11.93, allocations: 4.206 MB / 4.087 GB, free: 4.734 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.9416/12.87, allocations: 10.83 MB / 4.098 GB, free: 80.75 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/12.87, allocations: 21.66 kB / 4.098 GB, free: 80.75 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007034/12.88, allocations: 138.9 kB / 4.098 GB, free: 80.74 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/12.88, allocations: 0.6858 MB / 4.099 GB, free: 80.74 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009791/12.88, allocations: 1.228 MB / 4.1 GB, free: 79.7 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006987/12.89, allocations: 445.2 kB / 4.1 GB, free: 79.7 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007476/12.89, allocations: 164.5 kB / 4.1 GB, free: 79.7 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/12.89, allocations: 3.531 kB / 4.1 GB, free: 79.7 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009606/12.9, allocations: 3.622 MB / 4.104 GB, free: 79.55 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-05/12.9, allocations: 20.88 kB / 4.104 GB, free: 79.55 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/12.9, allocations: 124.8 kB / 4.104 GB, free: 79.54 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/12.9, allocations: 0.6655 MB / 4.105 GB, free: 79.54 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/12.9, allocations: 3.177 MB / 4.108 GB, free: 76.9 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006436/12.91, allocations: 428 kB / 4.108 GB, free: 76.9 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005481/12.91, allocations: 157.3 kB / 4.108 GB, free: 76.9 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 (345): * Single equations (assignments): 339 * 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.005001/12.92, allocations: 1.399 MB / 4.11 GB, free: 76.65 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00205/12.92, allocations: 0.5493 MB / 4.11 GB, free: 76.65 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/12.93, allocations: 4.131 MB / 4.114 GB, free: 76.38 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.426e-05/12.93, allocations: 31.23 kB / 4.114 GB, free: 76.38 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/12.93, allocations: 4.016 kB / 4.114 GB, free: 76.38 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009152/12.94, allocations: 3.078 MB / 4.117 GB, free: 76.15 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.02957/12.97, allocations: 9.155 MB / 4.126 GB, free: 75.12 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/12.97, allocations: 0 / 4.126 GB, free: 75.12 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/12.97, allocations: 484.1 kB / 4.127 GB, free: 75.12 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/12.97, allocations: 105.5 kB / 4.127 GB, free: 75.1 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/12.97, allocations: 74.47 kB / 4.127 GB, free: 75.1 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007885/12.97, allocations: 1.191 MB / 4.128 GB, free: 74.07 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/12.97, allocations: 0 / 4.128 GB, free: 74.07 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/12.99, allocations: 5.735 MB / 4.134 GB, free: 73.45 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005144/12.99, allocations: 1.332 MB / 4.135 GB, free: 72.76 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002591/12.99, allocations: 49.34 kB / 4.135 GB, free: 72.76 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006285/13, allocations: 379 kB / 4.135 GB, free: 72.75 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004705/13, allocations: 146.4 kB / 4.136 GB, free: 72.75 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004584/13, allocations: 124.8 kB / 4.136 GB, free: 72.75 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01756/13.02, allocations: 3.471 MB / 4.139 GB, free: 72.54 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.615e-06/13.02, allocations: 0 / 4.139 GB, free: 72.54 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02413/13.04, allocations: 3.104 MB / 4.142 GB, free: 72.4 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 (230): * Single equations (assignments): 208 * 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.01008/13.05, allocations: 3.473 MB / 4.146 GB, free: 71.38 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01848/13.07, allocations: 5.535 MB / 4.151 GB, free: 70.85 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-05/13.07, allocations: 3.5 kB / 4.151 GB, free: 70.85 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005074/13.08, allocations: 1.694 MB / 4.153 GB, free: 70.71 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01594/13.09, allocations: 2.653 MB / 4.155 GB, free: 70.67 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04515/13.14, allocations: 13.87 MB / 4.169 GB, free: 65.74 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008204/13.15, allocations: 3.093 MB / 4.172 GB, free: 64.94 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01074/13.16, allocations: 1.204 MB / 4.173 GB, free: 64.82 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/13.16, allocations: 428.5 kB / 4.173 GB, free: 64.81 MB / 1.073 GB Notification: Performance of SimCode: time 1.693e-06/13.16, allocations: 3.875 kB / 4.173 GB, free: 64.81 MB / 1.073 GB Notification: Performance of Templates: time 0.2211/13.38, allocations: 122.9 MB / 4.293 GB, free: 56.02 MB / 1.073 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)