Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.663/1.663, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.001166/0.001166, allocations: 176.9 kB / 361.4 MB, free: 6.809 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.75/1.75, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008419/0.0008423, allocations: 79.09 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.375e-05, allocations: 8 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8151, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/2.102, allocations: 495.4 MB / 1.448 GB, free: 68.63 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/2.103, allocations: 104.9 kB / 1.448 GB, free: 68.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 28.37/30.47, allocations: 6.456 GB / 7.904 GB, free: 4.949 MB / 1.276 GB Notification: Performance of FrontEnd: time 1.783e-06/30.47, allocations: 4 kB / 7.904 GB, free: 4.945 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.004085/30.47, allocations: 367.5 kB / 7.904 GB, free: 4.586 MB / 1.276 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1792 * Number of variables: 1792 Notification: Performance of Generate backend data structure: time 0.06217/30.54, allocations: 12.59 MB / 7.917 GB, free: 7.891 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/30.54, allocations: 8.031 kB / 7.917 GB, free: 7.883 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02448/30.56, allocations: 3.525 MB / 7.92 GB, free: 4.336 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06384/30.63, allocations: 18.88 MB / 7.938 GB, free: 1.367 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00242/30.63, allocations: 0.7075 MB / 7.939 GB, free: 0.6328 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004996/30.63, allocations: 492 kB / 7.94 GB, free: 156 kB / 1.307 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.463/33.1, allocations: 9.636 MB / 7.949 GB, free: 76.8 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02562/33.12, allocations: 9.252 MB / 7.958 GB, free: 75.89 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002175/33.12, allocations: 8.875 kB / 7.958 GB, free: 75.89 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001552/33.12, allocations: 9.219 kB / 7.958 GB, free: 75.89 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/33.12, allocations: 185 kB / 7.958 GB, free: 75.89 MB / 1.307 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.1116/33.23, allocations: 56.96 MB / 8.014 GB, free: 53.12 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01649/33.25, allocations: 7.415 MB / 8.021 GB, free: 51.86 MB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007749/33.26, allocations: 3.8 MB / 8.025 GB, free: 51.83 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002509/33.26, allocations: 3.121 MB / 8.028 GB, free: 48.45 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007557/33.27, allocations: 3.889 MB / 8.032 GB, free: 48.32 MB / 1.307 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01438/33.28, allocations: 2.157 MB / 8.034 GB, free: 48.21 MB / 1.307 GB Notification: Performance of pre-optimization done (n=429): time 3.817e-05/33.28, allocations: 2.781 kB / 8.034 GB, free: 48.21 MB / 1.307 GB Notification: Performance of matching and sorting (n=429): time 0.02102/33.3, allocations: 8.119 MB / 8.042 GB, free: 47.41 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000289/33.31, allocations: 0.9911 MB / 8.043 GB, free: 46.25 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03113/33.34, allocations: 10.73 MB / 8.053 GB, free: 45.59 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.002174/33.34, allocations: 43.17 kB / 8.053 GB, free: 45.56 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.009008/33.35, allocations: 6.3 MB / 8.059 GB, free: 44.48 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.002688/33.35, allocations: 1.426 MB / 8.061 GB, free: 43.73 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008108/33.35, allocations: 2.031 kB / 8.061 GB, free: 43.73 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0004076/33.35, allocations: 0.5452 MB / 8.061 GB, free: 43.41 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005791/33.36, allocations: 3.857 MB / 8.065 GB, free: 43.4 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008598/33.37, allocations: 6.151 MB / 8.071 GB, free: 40.9 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/33.38, allocations: 4.668 MB / 8.076 GB, free: 40.78 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/33.38, allocations: 9.781 kB / 8.076 GB, free: 40.78 MB / 1.307 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.0291/33.41, allocations: 10.97 MB / 8.086 GB, free: 39.92 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.007258/33.41, allocations: 22.52 MB / 8.108 GB, free: 32.63 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002569/33.41, allocations: 56.27 kB / 8.108 GB, free: 32.63 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009202/33.42, allocations: 410.4 kB / 8.109 GB, free: 32.62 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/33.43, allocations: 1.915 MB / 8.111 GB, free: 32.62 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/33.43, allocations: 4.562 MB / 8.115 GB, free: 29.22 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01645/33.45, allocations: 1.082 MB / 8.116 GB, free: 29.18 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002759/33.45, allocations: 352 kB / 8.117 GB, free: 29.18 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/33.45, allocations: 5.125 kB / 8.117 GB, free: 29.18 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02459/33.47, allocations: 9.516 MB / 8.126 GB, free: 28.98 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002711/33.47, allocations: 54.44 kB / 8.126 GB, free: 28.98 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/33.48, allocations: 419.7 kB / 8.126 GB, free: 28.96 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009686/33.48, allocations: 1.86 MB / 8.128 GB, free: 28.96 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009275/33.49, allocations: 5.622 MB / 8.134 GB, free: 42.24 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01575/33.51, allocations: 1.063 MB / 8.135 GB, free: 42.21 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00281/33.51, allocations: 342.8 kB / 8.135 GB, free: 42.21 MB / 1.339 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 157 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition3,intWSEPri2.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],intWSEPri1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 719 * Array equations: 10 * Algorithm blocks: 1 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 10,6 10} Notification: Performance of prepare postOptimizeDAE: time 0.004331/33.52, allocations: 315.1 kB / 8.135 GB, free: 42.07 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005222/33.52, allocations: 1.182 MB / 8.136 GB, free: 41.42 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02318/33.55, allocations: 8.989 MB / 8.145 GB, free: 41.01 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.223e-05/33.55, allocations: 53 kB / 8.145 GB, free: 41.01 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.332e-05/33.55, allocations: 3.953 kB / 8.145 GB, free: 41 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01745/33.56, allocations: 6.848 MB / 8.152 GB, free: 40.66 MB / 1.339 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.06706/33.63, allocations: 21.21 MB / 8.173 GB, free: 38.75 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/33.63, allocations: 3.344 kB / 8.173 GB, free: 38.75 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008239/33.64, allocations: 1.264 MB / 8.174 GB, free: 38.75 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007254/33.64, allocations: 292.1 kB / 8.174 GB, free: 38.73 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001324/33.64, allocations: 101 kB / 8.174 GB, free: 38.73 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/33.64, allocations: 4.141 MB / 8.178 GB, free: 35.35 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/33.64, allocations: 4.344 kB / 8.178 GB, free: 35.35 MB / 1.339 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0254/33.67, allocations: 13.68 MB / 8.192 GB, free: 33.45 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01166/33.68, allocations: 2.864 MB / 8.194 GB, free: 32.5 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004994/33.69, allocations: 35.53 kB / 8.194 GB, free: 32.5 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.013/33.7, allocations: 1.006 MB / 8.195 GB, free: 32.48 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001359/33.7, allocations: 303.1 kB / 8.196 GB, free: 32.47 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008494/33.7, allocations: 214.3 kB / 8.196 GB, free: 32.47 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.02016/33.72, allocations: 8.063 MB / 8.204 GB, free: 32.11 MB / 1.339 GB Notification: Performance of sort global known variables: time 2.6e-07/33.72, allocations: 0 / 8.204 GB, free: 32.11 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.03464/33.76, allocations: 6.352 MB / 8.21 GB, free: 31.82 MB / 1.339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 32 (TSup1.T,intWSEPri1.chiPar.chi[1].vol1.dynBal.U,intWSEPri1.chiPar.chi[1].vol2.dynBal.U,intWSEPri1.chiPar.filter[1].x[1],intWSEPri1.chiPar.filter[1].x[2],intWSEPri1.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri1.wse.heaExc.thrWayVal.filter.x[1],intWSEPri1.wse.heaExc.thrWayVal.filter.x[2],intWSEPri1.wse.heaExc.con.I.y,intWSEPri1.wse.filter[1].x[1],intWSEPri1.wse.filter[1].x[2],intWSEPri1.senTem.T,intWSEPri1.val5.filter.x[1],intWSEPri1.val5.filter.x[2],intWSEPri1.val6.filter.x[1],intWSEPri1.val6.filter.x[2],intWSEPri2.chiPar.chi[1].vol1.dynBal.U,intWSEPri2.chiPar.chi[1].vol2.dynBal.U,intWSEPri2.chiPar.filter[1].x[1],intWSEPri2.chiPar.filter[1].x[2],intWSEPri2.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri2.wse.heaExc.thrWayVal.filter.x[1],intWSEPri2.wse.heaExc.thrWayVal.filter.x[2],intWSEPri2.wse.heaExc.con.I.y,intWSEPri2.wse.filter[1].x[1],intWSEPri2.wse.filter[1].x[2],intWSEPri2.senTem.T,intWSEPri2.val5.filter.x[1],intWSEPri2.val5.filter.x[2],intWSEPri2.val6.filter.x[1],intWSEPri2.val6.filter.x[2],TSup2.T) * Number of discrete variables: 12 (intWSEPri2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],tri.pulseStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (474): * Single equations (assignments): 448 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01231/33.77, allocations: 7.425 MB / 8.217 GB, free: 28.11 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.03083/33.8, allocations: 15.08 MB / 8.232 GB, free: 26.94 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/33.8, allocations: 9.719 kB / 8.232 GB, free: 26.94 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.008886/33.81, allocations: 3.789 MB / 8.236 GB, free: 26.85 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03793/33.85, allocations: 6.286 MB / 8.242 GB, free: 26.7 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06474/33.91, allocations: 21.27 MB / 8.263 GB, free: 22.29 MB / 1.339 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01304/33.92, allocations: 7.278 MB / 8.27 GB, free: 21.23 MB / 1.339 GB Notification: Performance of simCode: alias equations: time 0.0304/33.95, allocations: 5.422 MB / 8.275 GB, free: 20.62 MB / 1.339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00355/33.96, allocations: 0.6866 MB / 8.276 GB, free: 20.61 MB / 1.339 GB Notification: Performance of SimCode: time 1.212e-06/33.96, allocations: 0 / 8.276 GB, free: 20.61 MB / 1.339 GB Notification: Performance of Templates: time 1.597/35.56, allocations: 251.6 MB / 8.521 GB, free: 128.3 MB / 1.37 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe 2>&1)