Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 289.7 MB / 302.2 MB, free: 2.117 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.001167/0.001167, allocations: 181.6 kB / 371.6 MB, free: 3.383 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.736/1.736, allocations: 205.2 MB / 0.6309 GB, free: 11.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.001144/0.001144, allocations: 91.33 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.216e-05, allocations: 0 / 0.8663 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2773, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.783/2.06, allocations: 480.7 MB / 1.449 GB, free: 254.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/2.06, allocations: 125.4 kB / 1.449 GB, free: 254.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.653/11.71, allocations: 2.541 GB / 3.99 GB, free: 0.7422 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.184e-06/11.71, allocations: 0 / 3.99 GB, free: 0.7422 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001104/11.71, allocations: 167.8 kB / 3.99 GB, free: 0.5781 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.02006/11.73, allocations: 5.744 MB / 3.996 GB, free: 10.75 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/11.73, allocations: 8.031 kB / 3.996 GB, free: 10.74 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008676/11.74, allocations: 1.339 MB / 3.997 GB, free: 9.395 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03973/11.78, allocations: 14.34 MB / 4.011 GB, free: 10.95 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/11.78, allocations: 379.7 kB / 4.012 GB, free: 10.56 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/11.79, allocations: 411.9 kB / 4.012 GB, free: 10.16 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/11.8, allocations: 4.298 MB / 4.016 GB, free: 5.719 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-05/11.8, allocations: 7.938 kB / 4.016 GB, free: 5.711 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005538/11.8, allocations: 160 kB / 4.016 GB, free: 5.555 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/11.8, allocations: 95.95 kB / 4.016 GB, free: 5.461 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007248/11.81, allocations: 3.417 MB / 4.02 GB, free: 2.039 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 preOpt removeSimpleEquations (simulation): time 1.019/12.83, allocations: 23.95 MB / 4.043 GB, free: 53.87 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005175/12.83, allocations: 2.373 MB / 4.045 GB, free: 53.64 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/12.83, allocations: 1.361 MB / 4.047 GB, free: 53.63 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 preOpt evalFunc (simulation): time 0.01558/12.85, allocations: 8.315 MB / 4.055 GB, free: 49.74 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002548/12.85, allocations: 1.469 MB / 4.056 GB, free: 49.6 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005685/12.86, allocations: 0.6635 MB / 4.057 GB, free: 49.54 MB / 1.073 GB Notification: Performance of pre-optimization done (n=219): time 2.03e-05/12.86, allocations: 0 / 4.057 GB, free: 49.54 MB / 1.073 GB Notification: Performance of matching and sorting (n=219): time 0.007346/12.86, allocations: 2.878 MB / 4.06 GB, free: 49.09 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/12.86, allocations: 188.1 kB / 4.06 GB, free: 48.9 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009568/12.87, allocations: 4.463 MB / 4.064 GB, free: 48.51 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001059/12.88, allocations: 92.27 kB / 4.064 GB, free: 48.48 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003087/12.88, allocations: 2.788 MB / 4.067 GB, free: 47.94 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/12.88, allocations: 0.7442 MB / 4.068 GB, free: 47.56 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/12.88, allocations: 54.25 kB / 4.068 GB, free: 47.56 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001641/12.88, allocations: 415.3 kB / 4.068 GB, free: 47.26 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/12.88, allocations: 1.069 MB / 4.069 GB, free: 47.25 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/12.88, allocations: 2.133 MB / 4.071 GB, free: 46.05 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/12.89, allocations: 1.371 MB / 4.073 GB, free: 45.93 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/12.89, allocations: 7.156 kB / 4.073 GB, free: 45.93 MB / 1.073 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.007624/12.89, allocations: 3.8 MB / 4.077 GB, free: 45.45 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002187/12.9, allocations: 10.83 MB / 4.087 GB, free: 34.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/12.9, allocations: 22.62 kB / 4.087 GB, free: 34.5 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/12.9, allocations: 134.5 kB / 4.087 GB, free: 34.48 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/12.9, allocations: 0.6833 MB / 4.088 GB, free: 34.48 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007525/12.9, allocations: 1.223 MB / 4.089 GB, free: 33.45 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00655/12.91, allocations: 443.4 kB / 4.09 GB, free: 33.43 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005585/12.91, allocations: 166.1 kB / 4.09 GB, free: 33.43 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/12.91, allocations: 5.469 kB / 4.09 GB, free: 33.43 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005752/12.91, allocations: 3.25 MB / 4.093 GB, free: 33.27 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/12.91, allocations: 21.66 kB / 4.093 GB, free: 33.27 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/12.91, allocations: 121.5 kB / 4.093 GB, free: 33.25 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/12.92, allocations: 0.6653 MB / 4.094 GB, free: 33.25 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/12.92, allocations: 3.139 MB / 4.097 GB, free: 30.59 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006799/12.93, allocations: 425.3 kB / 4.097 GB, free: 30.58 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000473/12.93, allocations: 156.1 kB / 4.097 GB, free: 30.58 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.001186/12.93, allocations: 370.5 kB / 4.098 GB, free: 30.41 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002087/12.93, allocations: 0.5487 MB / 4.098 GB, free: 30.11 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007664/12.94, allocations: 3.731 MB / 4.102 GB, free: 29.82 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/12.94, allocations: 27.53 kB / 4.102 GB, free: 29.82 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/12.94, allocations: 2.969 kB / 4.102 GB, free: 29.82 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004106/12.94, allocations: 2.669 MB / 4.104 GB, free: 29.59 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.02095/12.96, allocations: 8.732 MB / 4.113 GB, free: 28.52 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/12.96, allocations: 6.047 kB / 4.113 GB, free: 28.52 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/12.97, allocations: 483 kB / 4.113 GB, free: 28.52 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002737/12.97, allocations: 104.8 kB / 4.114 GB, free: 28.5 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/12.97, allocations: 71.59 kB / 4.114 GB, free: 28.5 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/12.97, allocations: 1.184 MB / 4.115 GB, free: 43.46 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/12.97, allocations: 0.9062 kB / 4.115 GB, free: 43.46 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008811/12.98, allocations: 5.127 MB / 4.12 GB, free: 42.58 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0046/12.98, allocations: 1.324 MB / 4.121 GB, free: 41.89 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002136/12.98, allocations: 51.12 kB / 4.121 GB, free: 41.89 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005279/12.99, allocations: 379.9 kB / 4.121 GB, free: 41.88 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/12.99, allocations: 144.2 kB / 4.122 GB, free: 41.88 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003992/12.99, allocations: 123.5 kB / 4.122 GB, free: 41.88 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.009078/13, allocations: 3.404 MB / 4.125 GB, free: 41.63 MB / 1.089 GB Notification: Performance of sort global known variables: time 9.42e-07/13, allocations: 0.5938 kB / 4.125 GB, free: 41.63 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01852/13.02, allocations: 3.113 MB / 4.128 GB, free: 41.5 MB / 1.089 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.009547/13.03, allocations: 3.478 MB / 4.131 GB, free: 40.43 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01328/13.04, allocations: 5.139 MB / 4.136 GB, free: 39.86 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/13.04, allocations: 3.531 kB / 4.136 GB, free: 39.86 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003694/13.04, allocations: 1.501 MB / 4.138 GB, free: 39.73 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01935/13.06, allocations: 2.639 MB / 4.141 GB, free: 39.68 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04512/13.11, allocations: 9.943 MB / 4.15 GB, free: 37.72 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007702/13.12, allocations: 3.098 MB / 4.153 GB, free: 36.91 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01199/13.13, allocations: 1.684 MB / 4.155 GB, free: 36.86 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/13.13, allocations: 338.6 kB / 4.155 GB, free: 36.85 MB / 1.089 GB Notification: Performance of SimCode: time 8.62e-07/13.13, allocations: 0 / 4.155 GB, free: 36.85 MB / 1.089 GB Notification: Performance of Templates: time 0.2159/13.35, allocations: 132.4 MB / 4.285 GB, free: 28.32 MB / 1.089 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & ./Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)