Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 289.7 MB / 302.3 MB, free: 2.164 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.001285/0.001284, allocations: 183.8 kB / 371.6 MB, free: 3.441 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.852/1.852, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001021/0.001022, allocations: 94.47 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.454e-05/4.457e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3307, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.13/2.461, allocations: 459.8 MB / 1.429 GB, free: 292.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/2.461, allocations: 104.9 kB / 1.429 GB, free: 292.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.229/7.69, allocations: 1.266 GB / 2.695 GB, free: 93.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.523e-06/7.69, allocations: 0 / 2.695 GB, free: 93.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006983/7.691, allocations: 85.17 kB / 2.695 GB, free: 93.49 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.0105/7.701, allocations: 2.93 MB / 2.697 GB, free: 92.07 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/7.701, allocations: 7.844 kB / 2.697 GB, free: 92.07 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/7.705, allocations: 0.5432 MB / 2.698 GB, free: 91.89 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009873/7.715, allocations: 3.358 MB / 2.701 GB, free: 91.32 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008254/7.715, allocations: 271.7 kB / 2.702 GB, free: 91.32 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/7.716, allocations: 177.3 kB / 2.702 GB, free: 91.32 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00612/7.723, allocations: 2.02 MB / 2.704 GB, free: 91.04 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-05/7.723, allocations: 7.625 kB / 2.704 GB, free: 91.03 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/7.723, allocations: 73.08 kB / 2.704 GB, free: 91.03 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.866e-05/7.723, allocations: 42.39 kB / 2.704 GB, free: 91.03 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/7.726, allocations: 1.653 MB / 2.705 GB, free: 91.01 MB / 0.9792 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.01954/7.746, allocations: 11.17 MB / 2.716 GB, free: 86.03 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/7.748, allocations: 1.41 MB / 2.718 GB, free: 85.61 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000868/7.749, allocations: 0.634 MB / 2.718 GB, free: 85.59 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/7.75, allocations: 1.231 MB / 2.72 GB, free: 84.28 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/7.751, allocations: 0.7302 MB / 2.72 GB, free: 84.18 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001931/7.753, allocations: 175.1 kB / 2.72 GB, free: 84.12 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=106): time 3.857e-06/7.753, allocations: 0 / 2.72 GB, free: 84.12 MB / 0.9792 GB Notification: Performance of matching and sorting (n=106): time 0.002551/7.755, allocations: 1.469 MB / 2.722 GB, free: 83.88 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/7.755, allocations: 298.2 kB / 2.722 GB, free: 83.53 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/7.759, allocations: 2.228 MB / 2.724 GB, free: 83.29 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/7.759, allocations: 58.27 kB / 2.724 GB, free: 83.26 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/7.76, allocations: 1.201 MB / 2.726 GB, free: 82.93 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/7.76, allocations: 368.8 kB / 2.726 GB, free: 82.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/7.761, allocations: 30.59 kB / 2.726 GB, free: 82.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001149/7.761, allocations: 364 kB / 2.726 GB, free: 82.39 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/7.762, allocations: 0.6521 MB / 2.727 GB, free: 82.39 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/7.763, allocations: 1.093 MB / 2.728 GB, free: 81.94 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/7.764, allocations: 0.8134 MB / 2.729 GB, free: 81.76 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/7.764, allocations: 0 / 2.729 GB, free: 81.76 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003479/7.768, allocations: 2.077 MB / 2.731 GB, free: 80.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006826/7.768, allocations: 2.891 MB / 2.734 GB, free: 77.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/7.768, allocations: 10.72 kB / 2.734 GB, free: 77.86 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/7.769, allocations: 54.17 kB / 2.734 GB, free: 77.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/7.77, allocations: 375.2 kB / 2.734 GB, free: 77.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003748/7.77, allocations: 0.599 MB / 2.735 GB, free: 77.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/7.773, allocations: 255.6 kB / 2.735 GB, free: 77.21 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/7.773, allocations: 80.75 kB / 2.735 GB, free: 77.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/7.773, allocations: 3.781 kB / 2.735 GB, free: 77.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003211/7.777, allocations: 1.832 MB / 2.737 GB, free: 76.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/7.777, allocations: 9.531 kB / 2.737 GB, free: 76.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002772/7.777, allocations: 66.19 kB / 2.737 GB, free: 76.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/7.779, allocations: 369.4 kB / 2.737 GB, free: 76.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/7.78, allocations: 1.587 MB / 2.739 GB, free: 74.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/7.783, allocations: 239.2 kB / 2.739 GB, free: 74.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/7.783, allocations: 72.86 kB / 2.739 GB, free: 74.89 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 164 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005041/7.783, allocations: 230.2 kB / 2.739 GB, free: 74.69 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/7.784, allocations: 265.8 kB / 2.739 GB, free: 74.54 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/7.787, allocations: 1.838 MB / 2.741 GB, free: 73.82 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/7.787, allocations: 14.47 kB / 2.741 GB, free: 73.81 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/7.787, allocations: 3.938 kB / 2.741 GB, free: 73.81 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001936/7.789, allocations: 1.524 MB / 2.743 GB, free: 73.05 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007399/7.797, allocations: 4.57 MB / 2.747 GB, free: 70.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/7.797, allocations: 3.594 kB / 2.747 GB, free: 70.76 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/7.798, allocations: 235.1 kB / 2.747 GB, free: 70.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/7.798, allocations: 47.38 kB / 2.747 GB, free: 70.73 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-05/7.798, allocations: 46.06 kB / 2.748 GB, free: 70.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002685/7.798, allocations: 0.5607 MB / 2.748 GB, free: 70.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/7.798, allocations: 5.219 kB / 2.748 GB, free: 70.16 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/7.802, allocations: 2.831 MB / 2.751 GB, free: 68.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/7.804, allocations: 0.6008 MB / 2.751 GB, free: 68.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/7.804, allocations: 37.59 kB / 2.751 GB, free: 68.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/7.806, allocations: 202.5 kB / 2.752 GB, free: 68.14 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/7.806, allocations: 76.11 kB / 2.752 GB, free: 68.13 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/7.806, allocations: 51.95 kB / 2.752 GB, free: 68.12 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002871/7.809, allocations: 1.748 MB / 2.753 GB, free: 67.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.51e-07/7.809, allocations: 0 / 2.753 GB, free: 67.41 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004659/7.814, allocations: 1.352 MB / 2.755 GB, free: 67.09 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.x[1],WSE.heaExc.thrWayVal.filter.x[2],WSE.heaExc.con.I.y,WSE.filter[1].x[1],WSE.filter[1].x[2],TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * 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 (117): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002557/7.816, allocations: 1.254 MB / 2.756 GB, free: 66.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004815/7.821, allocations: 2.935 MB / 2.759 GB, free: 65.33 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/7.821, allocations: 0 / 2.759 GB, free: 65.33 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/7.822, allocations: 0.7652 MB / 2.76 GB, free: 64.99 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007813/7.83, allocations: 1.315 MB / 2.761 GB, free: 64.71 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/7.841, allocations: 3.91 MB / 2.765 GB, free: 63.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/7.843, allocations: 1.849 MB / 2.767 GB, free: 62.21 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005995/7.849, allocations: 0.9052 MB / 2.767 GB, free: 62.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/7.85, allocations: 160.1 kB / 2.768 GB, free: 62.07 MB / 0.9792 GB Notification: Performance of SimCode: time 1.132e-06/7.85, allocations: 0 / 2.768 GB, free: 62.07 MB / 0.9792 GB Notification: Performance of Templates: time 0.1067/7.957, allocations: 63.59 MB / 2.83 GB, free: 22.75 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)