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.WatersideEconomizer.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.878/1.878, allocations: 288.2 MB / 303.2 MB, free: 8.227 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.001302/0.001302, allocations: 181 kB / 371.8 MB, free: 10.28 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.016/2.016, allocations: 205.4 MB / 0.6305 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 82.95 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004232, allocations: 14.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2545, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.377, allocations: 459 MB / 1.428 GB, free: 2.734 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003847/1.377, allocations: 111.2 kB / 1.428 GB, free: 2.668 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.506/6.883, allocations: 1.269 GB / 2.697 GB, free: 96.31 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.825e-06/6.883, allocations: 0 / 2.697 GB, free: 96.31 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007461/6.884, allocations: 82.78 kB / 2.697 GB, free: 96.29 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.01422/6.898, allocations: 3.515 MB / 2.701 GB, free: 94.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.702e-05/6.899, allocations: 11.03 kB / 2.701 GB, free: 94.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00175/6.9, allocations: 230.1 kB / 2.701 GB, free: 94.63 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/6.904, allocations: 0.5412 MB / 2.701 GB, free: 94.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/6.916, allocations: 3.399 MB / 2.705 GB, free: 93.89 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009075/6.917, allocations: 266.8 kB / 2.705 GB, free: 93.89 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/6.918, allocations: 181.5 kB / 2.705 GB, free: 93.89 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007075/6.925, allocations: 2.153 MB / 2.707 GB, free: 93.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.851e-05/6.925, allocations: 4.531 kB / 2.707 GB, free: 93.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005134/6.926, allocations: 74.64 kB / 2.707 GB, free: 93.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.507e-05/6.926, allocations: 44.5 kB / 2.707 GB, free: 93.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/6.931, allocations: 1.902 MB / 2.709 GB, free: 93.58 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.02222/6.953, allocations: 11.17 MB / 2.72 GB, free: 88.65 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/6.956, allocations: 1.618 MB / 2.722 GB, free: 88.24 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/6.958, allocations: 1.236 MB / 2.723 GB, free: 86.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001843/6.959, allocations: 0.8116 MB / 2.724 GB, free: 86.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002156/6.962, allocations: 181.5 kB / 2.724 GB, free: 86.78 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 1.026e-05/6.962, allocations: 1.594 kB / 2.724 GB, free: 86.78 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.006071/6.968, allocations: 2.378 MB / 2.726 GB, free: 86.35 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/6.968, allocations: 303.1 kB / 2.727 GB, free: 86.01 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007422/6.975, allocations: 2.293 MB / 2.729 GB, free: 85.78 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006073/6.976, allocations: 57.17 kB / 2.729 GB, free: 85.75 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001906/6.978, allocations: 1.212 MB / 2.73 GB, free: 85.41 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006715/6.979, allocations: 369.8 kB / 2.73 GB, free: 85.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/6.979, allocations: 28 kB / 2.73 GB, free: 85.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001741/6.979, allocations: 359.1 kB / 2.731 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/6.981, allocations: 0.7799 MB / 2.731 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/6.983, allocations: 1.219 MB / 2.733 GB, free: 84.42 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/6.986, allocations: 0.9271 MB / 2.734 GB, free: 84.37 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/6.986, allocations: 3.719 kB / 2.734 GB, free: 84.37 MB / 0.9636 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005898/6.992, allocations: 2.325 MB / 2.736 GB, free: 84.13 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009449/6.993, allocations: 2.892 MB / 2.739 GB, free: 81.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.085e-05/6.993, allocations: 17.62 kB / 2.739 GB, free: 81.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/6.993, allocations: 50.8 kB / 2.739 GB, free: 81.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/6.995, allocations: 376.9 kB / 2.739 GB, free: 81.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004756/6.995, allocations: 0.5984 MB / 2.74 GB, free: 80.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/6.998, allocations: 256.3 kB / 2.74 GB, free: 80.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/6.999, allocations: 71.45 kB / 2.74 GB, free: 80.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/6.999, allocations: 3.75 kB / 2.74 GB, free: 80.59 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004541/7.003, allocations: 2.08 MB / 2.742 GB, free: 80.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/7.003, allocations: 12.31 kB / 2.742 GB, free: 80.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/7.004, allocations: 56.98 kB / 2.742 GB, free: 80.51 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/7.005, allocations: 377.5 kB / 2.742 GB, free: 80.51 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/7.007, allocations: 1.606 MB / 2.744 GB, free: 79.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/7.01, allocations: 245.4 kB / 2.744 GB, free: 79.15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/7.01, allocations: 74.05 kB / 2.744 GB, free: 79.15 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.002373/7.013, allocations: 0.7885 MB / 2.745 GB, free: 78.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/7.014, allocations: 266.2 kB / 2.745 GB, free: 78.79 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/7.019, allocations: 2.022 MB / 2.747 GB, free: 78.62 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/7.019, allocations: 12.62 kB / 2.747 GB, free: 78.62 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/7.019, allocations: 1.812 kB / 2.747 GB, free: 78.62 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002885/7.022, allocations: 1.707 MB / 2.749 GB, free: 78.29 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/7.033, allocations: 4.615 MB / 2.754 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/7.033, allocations: 4.719 kB / 2.754 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/7.034, allocations: 240.6 kB / 2.754 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/7.034, allocations: 33.69 kB / 2.754 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/7.035, allocations: 42.73 kB / 2.754 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003396/7.035, allocations: 0.5646 MB / 2.754 GB, free: 77.14 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/7.035, allocations: 4.906 kB / 2.754 GB, free: 77.14 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/7.041, allocations: 3.023 MB / 2.757 GB, free: 76.54 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002158/7.043, allocations: 0.6032 MB / 2.758 GB, free: 76.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009797/7.044, allocations: 34.41 kB / 2.758 GB, free: 76.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/7.046, allocations: 192 kB / 2.758 GB, free: 76.29 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/7.047, allocations: 77.75 kB / 2.758 GB, free: 76.29 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/7.047, allocations: 54.5 kB / 2.758 GB, free: 76.29 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004531/7.051, allocations: 1.772 MB / 2.76 GB, free: 76.14 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.31e-07/7.051, allocations: 0 / 2.76 GB, free: 76.14 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007851/7.059, allocations: 1.358 MB / 2.761 GB, free: 75.96 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.01027/7.069, allocations: 5.021 MB / 2.766 GB, free: 74.19 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006599/7.076, allocations: 3.178 MB / 2.769 GB, free: 73.36 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/7.076, allocations: 3.625 kB / 2.769 GB, free: 73.36 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/7.078, allocations: 0.8674 MB / 2.77 GB, free: 73 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006816/7.084, allocations: 1.264 MB / 2.771 GB, free: 72.75 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/7.103, allocations: 11.64 MB / 2.783 GB, free: 64.12 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/7.104, allocations: 1.833 MB / 2.785 GB, free: 63.29 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003445/7.108, allocations: 0.6595 MB / 2.785 GB, free: 63.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/7.109, allocations: 1.106 MB / 2.786 GB, free: 62.35 MB / 0.9636 GB Notification: Performance of SimCode: time 1.132e-06/7.109, allocations: 0 / 2.786 GB, free: 62.35 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/7.246, allocations: 82.62 MB / 2.867 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/7.246, allocations: 307.4 kB / 2.867 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.422/12.67, allocations: 4 kB / 2.867 GB, free: 8.695 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)