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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 293 MB / 309 MB, free: 4.797 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.001257/0.001258, allocations: 180.1 kB / 378.7 MB, free: 1.023 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.864/1.864, allocations: 205.4 MB / 0.6383 GB, free: 9.184 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.0009566/0.0009562, allocations: 94.77 kB / 0.7527 GB, free: 62.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2914, allocations: 116.4 MB / 0.9905 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.645/1.936, allocations: 460.1 MB / 1.44 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/1.936, allocations: 112.8 kB / 1.44 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.782/6.719, allocations: 1.262 GB / 2.702 GB, free: 80.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.604e-06/6.719, allocations: 3.219 kB / 2.702 GB, free: 80.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0008062/6.719, allocations: 77.53 kB / 2.702 GB, free: 80.07 MB / 0.9636 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.01396/6.733, allocations: 3.484 MB / 2.706 GB, free: 77.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/6.734, allocations: 12.19 kB / 2.706 GB, free: 77.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/6.737, allocations: 0.5407 MB / 2.706 GB, free: 77.79 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/6.748, allocations: 3.459 MB / 2.71 GB, free: 75.55 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008504/6.749, allocations: 270.9 kB / 2.71 GB, free: 75.46 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/6.75, allocations: 181.8 kB / 2.71 GB, free: 75.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006572/6.757, allocations: 2.172 MB / 2.712 GB, free: 74.04 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.875e-05/6.757, allocations: 0 / 2.712 GB, free: 74.04 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/6.757, allocations: 65.97 kB / 2.712 GB, free: 73.99 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/6.757, allocations: 42.89 kB / 2.712 GB, free: 73.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004079/6.761, allocations: 1.911 MB / 2.714 GB, free: 73.03 MB / 0.9636 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.0175/6.779, allocations: 11.11 MB / 2.725 GB, free: 63.46 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/6.781, allocations: 1.624 MB / 2.727 GB, free: 62.42 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/6.783, allocations: 0.7262 MB / 2.727 GB, free: 62.05 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/6.784, allocations: 1.235 MB / 2.729 GB, free: 60.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/6.785, allocations: 0.8094 MB / 2.729 GB, free: 60.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002197/6.787, allocations: 177.8 kB / 2.73 GB, free: 60.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 7.844e-06/6.787, allocations: 3.375 kB / 2.73 GB, free: 60.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.005494/6.793, allocations: 2.335 MB / 2.732 GB, free: 58.83 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/6.793, allocations: 296.2 kB / 2.732 GB, free: 58.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00452/6.797, allocations: 2.549 MB / 2.735 GB, free: 57.11 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004292/6.798, allocations: 54.66 kB / 2.735 GB, free: 57.06 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/6.799, allocations: 1.205 MB / 2.736 GB, free: 56 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/6.799, allocations: 369.6 kB / 2.736 GB, free: 55.68 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/6.799, allocations: 31.72 kB / 2.736 GB, free: 55.66 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001182/6.8, allocations: 361.5 kB / 2.737 GB, free: 55.31 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/6.801, allocations: 0.7738 MB / 2.737 GB, free: 54.93 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/6.803, allocations: 1.23 MB / 2.739 GB, free: 53.99 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/6.806, allocations: 1.76 MB / 2.74 GB, free: 52.89 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/6.806, allocations: 7.688 kB / 2.74 GB, free: 52.89 MB / 0.9636 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.004767/6.81, allocations: 2.345 MB / 2.743 GB, free: 51.71 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002225/6.811, allocations: 330.8 kB / 2.743 GB, free: 51.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/6.811, allocations: 13.56 kB / 2.743 GB, free: 51.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/6.811, allocations: 71.86 kB / 2.743 GB, free: 51.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/6.812, allocations: 373.2 kB / 2.743 GB, free: 51.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004101/6.813, allocations: 0.5941 MB / 2.744 GB, free: 50.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003221/6.816, allocations: 262.4 kB / 2.744 GB, free: 50.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/6.816, allocations: 75.08 kB / 2.744 GB, free: 50.46 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/6.816, allocations: 3.906 kB / 2.744 GB, free: 50.46 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003887/6.82, allocations: 2.079 MB / 2.746 GB, free: 49.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/6.82, allocations: 19.48 kB / 2.746 GB, free: 49.42 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/6.821, allocations: 60.27 kB / 2.746 GB, free: 49.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/6.822, allocations: 374.7 kB / 2.747 GB, free: 49.29 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/6.823, allocations: 1.597 MB / 2.748 GB, free: 47.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/6.826, allocations: 234.8 kB / 2.748 GB, free: 47.61 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/6.826, allocations: 81.17 kB / 2.749 GB, free: 47.59 MB / 0.9636 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 () * Number of clocked 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.002277/6.829, allocations: 0.7805 MB / 2.749 GB, free: 47.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008213/6.83, allocations: 262.1 kB / 2.75 GB, free: 46.88 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/6.834, allocations: 2.013 MB / 2.752 GB, free: 45.79 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/6.834, allocations: 15.42 kB / 2.752 GB, free: 45.79 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/6.834, allocations: 3.516 kB / 2.752 GB, free: 45.79 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002693/6.836, allocations: 1.713 MB / 2.753 GB, free: 44.78 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/6.847, allocations: 4.714 MB / 2.758 GB, free: 41.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/6.847, allocations: 0 / 2.758 GB, free: 41.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/6.848, allocations: 239.9 kB / 2.758 GB, free: 41.21 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/6.848, allocations: 40.84 kB / 2.758 GB, free: 41.17 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-05/6.848, allocations: 35.98 kB / 2.758 GB, free: 41.13 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00035/6.848, allocations: 0.5717 MB / 2.759 GB, free: 40.54 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/6.848, allocations: 7.812 kB / 2.759 GB, free: 40.53 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/6.854, allocations: 2.899 MB / 2.761 GB, free: 37.57 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/6.856, allocations: 0.591 MB / 2.762 GB, free: 36.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/6.856, allocations: 35.98 kB / 2.762 GB, free: 36.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/6.858, allocations: 191.7 kB / 2.762 GB, free: 36.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/6.858, allocations: 80.89 kB / 2.762 GB, free: 36.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/6.858, allocations: 51.97 kB / 2.762 GB, free: 36.61 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003556/6.862, allocations: 1.774 MB / 2.764 GB, free: 34.83 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.91e-07/6.862, allocations: 0 / 2.764 GB, free: 34.83 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005903/6.868, allocations: 1.341 MB / 2.765 GB, free: 33.49 MB / 0.9636 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) * Number of clocked states: 0 () * 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.002838/6.871, allocations: 1.225 MB / 2.767 GB, free: 32.33 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005979/6.877, allocations: 3.164 MB / 2.77 GB, free: 29.11 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/6.877, allocations: 7.938 kB / 2.77 GB, free: 29.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/6.878, allocations: 0.8572 MB / 2.771 GB, free: 28.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008495/6.887, allocations: 1.333 MB / 2.772 GB, free: 26.97 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/6.898, allocations: 5.781 MB / 2.778 GB, free: 21.14 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/6.899, allocations: 1.785 MB / 2.779 GB, free: 19.32 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003767/6.903, allocations: 0.6725 MB / 2.78 GB, free: 18.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006401/6.903, allocations: 207.4 kB / 2.78 GB, free: 18.49 MB / 0.9636 GB Notification: Performance of SimCode: time 1.723e-06/6.903, allocations: 0 / 2.78 GB, free: 18.49 MB / 0.9636 GB Notification: Performance of Templates: time 0.8502/7.754, allocations: 58.4 MB / 2.837 GB, free: 115.2 MB / 0.9948 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)