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.618/1.618, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.001022/0.001022, allocations: 175.2 kB / 372.9 MB, free: 10.14 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.533/1.533, allocations: 205.4 MB / 0.6317 GB, free: 9.871 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.0007369/0.0007369, allocations: 100.8 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004569, allocations: 11.5 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 115.3 MB / 0.9808 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.796/2.033, allocations: 480 MB / 1.449 GB, free: 335.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005636/2.033, allocations: 121.3 kB / 1.45 GB, free: 335.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.374/10.41, allocations: 2.534 GB / 3.983 GB, free: 55.82 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.275e-06/10.41, allocations: 1.641 kB / 3.983 GB, free: 55.82 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001191/10.41, allocations: 168.8 kB / 3.984 GB, free: 55.77 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.02527/10.43, allocations: 7.255 MB / 3.991 GB, free: 52.21 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/10.43, allocations: 11.12 kB / 3.991 GB, free: 52.21 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00799/10.44, allocations: 1.341 MB / 3.992 GB, free: 51.79 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0338/10.48, allocations: 13.65 MB / 4.005 GB, free: 48.95 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005899/10.48, allocations: 386.9 kB / 4.006 GB, free: 48.75 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001731/10.48, allocations: 411.2 kB / 4.006 GB, free: 48.61 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/10.49, allocations: 4.561 MB / 4.011 GB, free: 46.55 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.864e-05/10.49, allocations: 7.719 kB / 4.011 GB, free: 46.55 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004962/10.49, allocations: 153.1 kB / 4.011 GB, free: 46.43 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.199e-05/10.49, allocations: 100.4 kB / 4.011 GB, free: 46.43 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008992/10.5, allocations: 3.851 MB / 4.015 GB, free: 44.62 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.03878/10.54, allocations: 23.88 MB / 4.038 GB, free: 23.47 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005103/10.54, allocations: 2.685 MB / 4.041 GB, free: 20.74 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/10.55, allocations: 1.563 MB / 4.042 GB, free: 19.18 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.01382/10.56, allocations: 8.224 MB / 4.05 GB, free: 10.23 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003048/10.56, allocations: 1.677 MB / 4.052 GB, free: 8.531 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003973/10.57, allocations: 0.6495 MB / 4.052 GB, free: 7.879 MB / 1.042 GB Notification: Performance of pre-optimization done (n=219): time 9.869e-06/10.57, allocations: 0 / 4.052 GB, free: 7.879 MB / 1.042 GB Notification: Performance of matching and sorting (n=219): time 0.01087/10.58, allocations: 4.675 MB / 4.057 GB, free: 3.141 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/10.58, allocations: 184.2 kB / 4.057 GB, free: 2.926 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009196/10.59, allocations: 5.025 MB / 4.062 GB, free: 13.9 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0008947/10.59, allocations: 81.7 kB / 4.062 GB, free: 13.82 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003301/10.59, allocations: 2.785 MB / 4.065 GB, free: 11.01 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/10.59, allocations: 0.7277 MB / 4.066 GB, free: 10.27 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/10.59, allocations: 56 kB / 4.066 GB, free: 10.22 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002159/10.59, allocations: 415.9 kB / 4.066 GB, free: 9.809 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/10.6, allocations: 1.282 MB / 4.067 GB, free: 8.523 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003749/10.6, allocations: 2.347 MB / 4.07 GB, free: 5.715 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006269/10.61, allocations: 3.417 MB / 4.073 GB, free: 1.945 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/10.61, allocations: 7.938 kB / 4.073 GB, free: 1.938 MB / 1.057 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01137/10.62, allocations: 4.228 MB / 4.077 GB, free: 13.65 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007579/10.62, allocations: 0.8123 MB / 4.078 GB, free: 12.52 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/10.62, allocations: 24 kB / 4.078 GB, free: 12.5 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/10.62, allocations: 161.5 kB / 4.078 GB, free: 12.34 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/10.62, allocations: 0.6825 MB / 4.079 GB, free: 11.65 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009364/10.62, allocations: 1.229 MB / 4.08 GB, free: 10.38 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005825/10.63, allocations: 447.6 kB / 4.08 GB, free: 9.938 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/10.63, allocations: 167.9 kB / 4.08 GB, free: 9.773 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/10.63, allocations: 4 kB / 4.08 GB, free: 9.77 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00753/10.64, allocations: 3.613 MB / 4.084 GB, free: 6.102 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/10.64, allocations: 24 kB / 4.084 GB, free: 6.078 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/10.64, allocations: 114.5 kB / 4.084 GB, free: 5.961 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/10.64, allocations: 0.667 MB / 4.085 GB, free: 5.293 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/10.64, allocations: 3.144 MB / 4.088 GB, free: 1.883 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005439/10.65, allocations: 427.7 kB / 4.088 GB, free: 1.465 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004526/10.65, allocations: 159.9 kB / 4.088 GB, free: 1.309 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.8597/11.51, allocations: 1.388 MB / 4.09 GB, free: 90.29 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002201/11.51, allocations: 0.5497 MB / 4.09 GB, free: 90.29 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/11.52, allocations: 4.12 MB / 4.094 GB, free: 90.04 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.139e-05/11.52, allocations: 31 kB / 4.094 GB, free: 90.04 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/11.52, allocations: 2.375 kB / 4.094 GB, free: 90.04 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007539/11.53, allocations: 3.068 MB / 4.097 GB, free: 89.82 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.02526/11.56, allocations: 9.067 MB / 4.106 GB, free: 88.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/11.56, allocations: 2.969 kB / 4.106 GB, free: 88.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/11.56, allocations: 484.1 kB / 4.107 GB, free: 88.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/11.56, allocations: 102.3 kB / 4.107 GB, free: 88.79 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/11.56, allocations: 73.64 kB / 4.107 GB, free: 88.79 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000716/11.56, allocations: 1.184 MB / 4.108 GB, free: 87.75 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/11.56, allocations: 1.688 kB / 4.108 GB, free: 87.75 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/11.57, allocations: 5.583 MB / 4.113 GB, free: 87.35 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00413/11.58, allocations: 1.302 MB / 4.115 GB, free: 86.88 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001885/11.58, allocations: 50.67 kB / 4.115 GB, free: 86.88 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004729/11.58, allocations: 373.2 kB / 4.115 GB, free: 86.87 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/11.58, allocations: 156.6 kB / 4.115 GB, free: 86.86 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003491/11.58, allocations: 122.7 kB / 4.115 GB, free: 86.86 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.008184/11.59, allocations: 3.346 MB / 4.119 GB, free: 86.65 MB / 1.073 GB Notification: Performance of sort global known variables: time 5.81e-07/11.59, allocations: 1.469 kB / 4.119 GB, free: 86.65 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0175/11.61, allocations: 3.063 MB / 4.122 GB, free: 86.52 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.008207/11.62, allocations: 3.407 MB / 4.125 GB, free: 85.5 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01599/11.63, allocations: 5.514 MB / 4.13 GB, free: 84.96 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/11.63, allocations: 1.969 kB / 4.13 GB, free: 84.96 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004699/11.64, allocations: 1.698 MB / 4.132 GB, free: 84.83 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02325/11.66, allocations: 2.628 MB / 4.135 GB, free: 84.79 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04803/11.71, allocations: 13.87 MB / 4.148 GB, free: 79.85 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0063/11.72, allocations: 2.986 MB / 4.151 GB, free: 79.05 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.009808/11.73, allocations: 1.192 MB / 4.152 GB, free: 79 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/11.73, allocations: 421.2 kB / 4.153 GB, free: 78.99 MB / 1.073 GB Notification: Performance of SimCode: time 9.41e-07/11.73, allocations: 0 / 4.153 GB, free: 78.99 MB / 1.073 GB Notification: Performance of Templates: time 0.2042/11.93, allocations: 122.6 MB / 4.272 GB, free: 70.63 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)