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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.843/1.843, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.00156/0.00156, allocations: 173.1 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.001012/0.001013, allocations: 92.2 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2995, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.768/2.068, allocations: 459.9 MB / 1.438 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/2.068, allocations: 111.6 kB / 1.438 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.577/7.645, allocations: 1.269 GB / 2.707 GB, free: 77.92 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.732e-06/7.645, allocations: 3.062 kB / 2.707 GB, free: 77.92 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001062/7.646, allocations: 76.17 kB / 2.707 GB, free: 77.9 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.01622/7.662, allocations: 3.528 MB / 2.711 GB, free: 75.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/7.662, allocations: 10.34 kB / 2.711 GB, free: 75.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00162/7.664, allocations: 229.3 kB / 2.711 GB, free: 75.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004224/7.668, allocations: 0.5433 MB / 2.711 GB, free: 74.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/7.681, allocations: 3.396 MB / 2.715 GB, free: 72.51 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/7.682, allocations: 269.3 kB / 2.715 GB, free: 72.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/7.684, allocations: 180.1 kB / 2.715 GB, free: 72.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008357/7.692, allocations: 2.153 MB / 2.717 GB, free: 70.97 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/7.692, allocations: 11.53 kB / 2.717 GB, free: 70.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007691/7.693, allocations: 73.03 kB / 2.717 GB, free: 70.91 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.767e-05/7.693, allocations: 41.91 kB / 2.717 GB, free: 70.91 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005793/7.699, allocations: 1.899 MB / 2.719 GB, free: 69.94 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.02479/7.724, allocations: 11.19 MB / 2.73 GB, free: 60.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/7.727, allocations: 1.615 MB / 2.732 GB, free: 59.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/7.728, allocations: 1.228 MB / 2.733 GB, free: 57.86 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/7.73, allocations: 0.8172 MB / 2.734 GB, free: 57.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002241/7.733, allocations: 177.3 kB / 2.734 GB, free: 57.26 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 6.893e-06/7.733, allocations: 0 / 2.734 GB, free: 57.26 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.005952/7.738, allocations: 2.39 MB / 2.736 GB, free: 55.94 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/7.739, allocations: 297.4 kB / 2.736 GB, free: 55.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005325/7.744, allocations: 2.291 MB / 2.739 GB, free: 54.38 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004137/7.744, allocations: 53.14 kB / 2.739 GB, free: 54.33 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/7.746, allocations: 1.207 MB / 2.74 GB, free: 53.27 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/7.746, allocations: 364.9 kB / 2.74 GB, free: 52.95 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/7.746, allocations: 31.5 kB / 2.74 GB, free: 52.93 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001708/7.747, allocations: 357.2 kB / 2.741 GB, free: 52.58 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/7.748, allocations: 0.7801 MB / 2.741 GB, free: 52.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/7.75, allocations: 1.222 MB / 2.743 GB, free: 51.27 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/7.752, allocations: 0.9275 MB / 2.743 GB, free: 50.77 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/7.752, allocations: 3.219 kB / 2.743 GB, free: 50.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005426/7.757, allocations: 2.32 MB / 2.746 GB, free: 49.61 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001152/7.759, allocations: 2.895 MB / 2.749 GB, free: 46.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.365e-05/7.759, allocations: 10.98 kB / 2.749 GB, free: 46.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/7.759, allocations: 53.58 kB / 2.749 GB, free: 46.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/7.761, allocations: 381.6 kB / 2.749 GB, free: 46.39 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005627/7.761, allocations: 0.5953 MB / 2.75 GB, free: 45.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/7.765, allocations: 262.3 kB / 2.75 GB, free: 45.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/7.765, allocations: 80.83 kB / 2.75 GB, free: 45.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/7.765, allocations: 3.719 kB / 2.75 GB, free: 45.68 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004737/7.77, allocations: 2.081 MB / 2.752 GB, free: 44.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/7.77, allocations: 15.27 kB / 2.752 GB, free: 44.64 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/7.77, allocations: 58.05 kB / 2.752 GB, free: 44.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/7.772, allocations: 373.4 kB / 2.752 GB, free: 44.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/7.774, allocations: 1.596 MB / 2.754 GB, free: 42.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/7.778, allocations: 248.1 kB / 2.754 GB, free: 42.83 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/7.778, allocations: 70.03 kB / 2.754 GB, free: 42.81 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.003304/7.781, allocations: 0.7847 MB / 2.755 GB, free: 42.24 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/7.783, allocations: 266.1 kB / 2.755 GB, free: 42.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006145/7.789, allocations: 2.026 MB / 2.757 GB, free: 41 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/7.789, allocations: 15.5 kB / 2.757 GB, free: 41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/7.789, allocations: 3.688 kB / 2.757 GB, free: 41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003275/7.792, allocations: 1.704 MB / 2.759 GB, free: 40.01 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/7.806, allocations: 4.606 MB / 2.763 GB, free: 36.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/7.806, allocations: 4 kB / 2.763 GB, free: 36.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/7.807, allocations: 231.9 kB / 2.764 GB, free: 36.26 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/7.807, allocations: 43.97 kB / 2.764 GB, free: 36.21 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/7.808, allocations: 47.97 kB / 2.764 GB, free: 36.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00045/7.808, allocations: 0.5636 MB / 2.764 GB, free: 35.58 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/7.808, allocations: 3.938 kB / 2.764 GB, free: 35.58 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006864/7.815, allocations: 3.025 MB / 2.767 GB, free: 32.45 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/7.818, allocations: 0.6028 MB / 2.768 GB, free: 31.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/7.819, allocations: 28 kB / 2.768 GB, free: 31.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003313/7.823, allocations: 199.7 kB / 2.768 GB, free: 31.61 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/7.823, allocations: 80.88 kB / 2.768 GB, free: 31.53 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/7.823, allocations: 51.97 kB / 2.768 GB, free: 31.48 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.006586/7.83, allocations: 1.777 MB / 2.77 GB, free: 29.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.52e-07/7.83, allocations: 0 / 2.77 GB, free: 29.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008547/7.838, allocations: 1.353 MB / 2.771 GB, free: 28.34 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.01148/7.85, allocations: 5.026 MB / 2.776 GB, free: 23.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007517/7.857, allocations: 3.192 MB / 2.779 GB, free: 20.06 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/7.857, allocations: 0 / 2.779 GB, free: 20.06 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/7.859, allocations: 0.8648 MB / 2.78 GB, free: 19.18 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007833/7.867, allocations: 1.262 MB / 2.781 GB, free: 17.99 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/7.889, allocations: 11.63 MB / 2.793 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/7.89, allocations: 1.843 MB / 2.794 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003853/7.894, allocations: 0.6599 MB / 2.795 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/7.896, allocations: 1.107 MB / 2.796 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of SimCode: time 1.883e-06/7.896, allocations: 0 / 2.796 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9265/8.823, allocations: 82.6 MB / 2.877 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/8.823, allocations: 292.2 kB / 2.877 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.87/14.69, allocations: 2.938 kB / 2.877 GB, free: 109.3 MB / 0.9948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)