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.609/1.609, allocations: 285.4 MB / 298 MB, free: 6.012 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.001411/0.001411, allocations: 184.2 kB / 366.4 MB, free: 2.102 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.683/1.683, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0008514/0.0008515, allocations: 90.47 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.131e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6653/0.6653, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.743, allocations: 479.7 MB / 1.439 GB, free: 76.92 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.743, allocations: 121.6 kB / 1.44 GB, free: 76.85 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 10.26/12.01, allocations: 2.541 GB / 3.98 GB, free: 61.38 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.094e-06/12.01, allocations: 1.688 kB / 3.98 GB, free: 61.38 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001359/12.01, allocations: 169.2 kB / 3.98 GB, free: 61.35 MB / 1.057 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.01867/12.03, allocations: 5.749 MB / 3.986 GB, free: 58.95 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/12.03, allocations: 11.03 kB / 3.986 GB, free: 58.95 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008288/12.03, allocations: 1.331 MB / 3.987 GB, free: 58.58 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03358/12.07, allocations: 14.34 MB / 4.001 GB, free: 57.31 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005045/12.07, allocations: 384.7 kB / 4.002 GB, free: 57.24 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/12.07, allocations: 407.1 kB / 4.002 GB, free: 57.23 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009227/12.08, allocations: 4.285 MB / 4.006 GB, free: 56.75 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.582e-05/12.08, allocations: 9.656 kB / 4.006 GB, free: 56.75 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000507/12.08, allocations: 158.9 kB / 4.006 GB, free: 56.75 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.685e-05/12.08, allocations: 95.91 kB / 4.007 GB, free: 56.75 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007101/12.09, allocations: 3.407 MB / 4.01 GB, free: 56.72 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 preOpt removeSimpleEquations (simulation): time 0.0385/12.13, allocations: 23.98 MB / 4.033 GB, free: 45.52 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/12.13, allocations: 2.369 MB / 4.036 GB, free: 45.28 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/12.13, allocations: 1.363 MB / 4.037 GB, free: 45.27 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 preOpt evalFunc (simulation): time 0.01491/12.15, allocations: 8.321 MB / 4.045 GB, free: 41.29 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002723/12.15, allocations: 1.471 MB / 4.047 GB, free: 41.16 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004625/12.15, allocations: 0.6594 MB / 4.047 GB, free: 41.04 MB / 1.057 GB Notification: Performance of pre-optimization done (n=219): time 1.689e-05/12.15, allocations: 0 / 4.047 GB, free: 41.04 MB / 1.057 GB Notification: Performance of matching and sorting (n=219): time 0.007103/12.16, allocations: 2.881 MB / 4.05 GB, free: 40.58 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/12.16, allocations: 188.7 kB / 4.05 GB, free: 40.38 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/12.17, allocations: 4.456 MB / 4.054 GB, free: 39.98 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001221/12.17, allocations: 91.5 kB / 4.055 GB, free: 39.95 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.004477/12.18, allocations: 2.797 MB / 4.057 GB, free: 39.22 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001545/12.18, allocations: 0.733 MB / 4.058 GB, free: 38.75 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/12.18, allocations: 52.92 kB / 4.058 GB, free: 38.75 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003043/12.18, allocations: 421 kB / 4.058 GB, free: 38.45 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/12.18, allocations: 1.068 MB / 4.06 GB, free: 38.44 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/12.19, allocations: 2.126 MB / 4.062 GB, free: 37.24 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/12.19, allocations: 1.372 MB / 4.063 GB, free: 37.11 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.491e-05/12.19, allocations: 8.75 kB / 4.063 GB, free: 37.11 MB / 1.057 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01095/12.2, allocations: 3.794 MB / 4.067 GB, free: 36.63 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002302/12.2, allocations: 10.83 MB / 4.077 GB, free: 25.68 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-05/12.2, allocations: 23.44 kB / 4.077 GB, free: 25.68 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004758/12.2, allocations: 138.3 kB / 4.077 GB, free: 25.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/12.21, allocations: 0.683 MB / 4.078 GB, free: 25.66 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/12.21, allocations: 1.223 MB / 4.079 GB, free: 40.62 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007162/12.22, allocations: 452.5 kB / 4.08 GB, free: 40.6 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009841/12.22, allocations: 160.5 kB / 4.08 GB, free: 40.6 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/12.22, allocations: 7.875 kB / 4.08 GB, free: 40.6 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008371/12.23, allocations: 3.25 MB / 4.083 GB, free: 40.43 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-05/12.23, allocations: 22.16 kB / 4.083 GB, free: 40.43 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/12.23, allocations: 117.8 kB / 4.083 GB, free: 40.42 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/12.23, allocations: 0.6665 MB / 4.084 GB, free: 40.42 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003568/12.23, allocations: 3.137 MB / 4.087 GB, free: 37.75 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006226/12.24, allocations: 426.9 kB / 4.087 GB, free: 37.73 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008544/12.24, allocations: 157.5 kB / 4.087 GB, free: 37.73 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 () * 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.001648/12.24, allocations: 362 kB / 4.088 GB, free: 37.55 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002159/12.24, allocations: 0.5515 MB / 4.088 GB, free: 37.25 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009868/12.25, allocations: 3.722 MB / 4.092 GB, free: 36.95 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/12.25, allocations: 32.02 kB / 4.092 GB, free: 36.95 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/12.25, allocations: 0 / 4.092 GB, free: 36.95 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005051/12.26, allocations: 2.67 MB / 4.095 GB, free: 36.72 MB / 1.073 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.02435/12.28, allocations: 8.738 MB / 4.103 GB, free: 35.63 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/12.28, allocations: 2.844 kB / 4.103 GB, free: 35.63 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/12.29, allocations: 478.6 kB / 4.104 GB, free: 35.63 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/12.29, allocations: 102.4 kB / 4.104 GB, free: 35.61 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000452/12.29, allocations: 76.27 kB / 4.104 GB, free: 35.61 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008841/12.29, allocations: 1.182 MB / 4.105 GB, free: 34.57 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/12.29, allocations: 4.953 kB / 4.105 GB, free: 34.57 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009712/12.3, allocations: 5.13 MB / 4.11 GB, free: 33.69 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004482/12.3, allocations: 1.331 MB / 4.111 GB, free: 32.99 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00231/12.3, allocations: 47 kB / 4.111 GB, free: 32.99 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005202/12.31, allocations: 375.8 kB / 4.112 GB, free: 32.97 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004167/12.31, allocations: 152.9 kB / 4.112 GB, free: 32.97 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004914/12.31, allocations: 116.1 kB / 4.112 GB, free: 32.97 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.008516/12.32, allocations: 3.41 MB / 4.115 GB, free: 32.72 MB / 1.073 GB Notification: Performance of sort global known variables: time 4.31e-07/12.32, allocations: 0 / 4.115 GB, free: 32.72 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01682/12.34, allocations: 3.11 MB / 4.118 GB, free: 32.31 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) * 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.007279/12.34, allocations: 3.474 MB / 4.122 GB, free: 31.05 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0116/12.36, allocations: 5.147 MB / 4.127 GB, free: 30.46 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/12.36, allocations: 0.5625 kB / 4.127 GB, free: 30.46 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002932/12.36, allocations: 1.487 MB / 4.128 GB, free: 30.33 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01505/12.37, allocations: 2.644 MB / 4.131 GB, free: 30.19 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03617/12.41, allocations: 9.949 MB / 4.14 GB, free: 27.68 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004452/12.41, allocations: 3.1 MB / 4.143 GB, free: 26.8 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01014/12.42, allocations: 1.686 MB / 4.145 GB, free: 26.53 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/12.43, allocations: 330.4 kB / 4.145 GB, free: 26.52 MB / 1.073 GB Notification: Performance of SimCode: time 1.172e-06/12.43, allocations: 0 / 4.145 GB, free: 26.52 MB / 1.073 GB Notification: Performance of Templates: time 0.1967/12.62, allocations: 132.4 MB / 4.275 GB, free: 15.11 MB / 1.089 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)