Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001345, allocations: 182.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 94.77 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.765e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2447, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.929/2.174, allocations: 451.3 MB / 1.333 GB, free: 247 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/2.174, allocations: 103.2 kB / 1.333 GB, free: 247 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.649/6.824, allocations: 1.231 GB / 2.564 GB, free: 38.95 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.513e-06/6.824, allocations: 0 / 2.564 GB, free: 38.95 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003699/6.824, allocations: 83.86 kB / 2.564 GB, free: 38.87 MB / 0.9011 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.007604/6.832, allocations: 2.925 MB / 2.567 GB, free: 35.88 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/6.832, allocations: 8.031 kB / 2.567 GB, free: 35.88 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000538/6.832, allocations: 232.1 kB / 2.567 GB, free: 35.64 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/6.835, allocations: 0.5388 MB / 2.567 GB, free: 35.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008222/6.843, allocations: 3.359 MB / 2.571 GB, free: 31.68 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007185/6.844, allocations: 268.9 kB / 2.571 GB, free: 31.41 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004963/6.844, allocations: 180 kB / 2.571 GB, free: 31.24 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/6.848, allocations: 2.01 MB / 2.573 GB, free: 29.13 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/6.848, allocations: 3.953 kB / 2.573 GB, free: 29.13 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/6.848, allocations: 75.94 kB / 2.573 GB, free: 29.05 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/6.848, allocations: 36 kB / 2.573 GB, free: 29.02 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/6.851, allocations: 1.648 MB / 2.575 GB, free: 27.37 MB / 0.9011 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.01625/6.868, allocations: 11.06 MB / 2.586 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/6.87, allocations: 1.695 MB / 2.587 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008817/6.871, allocations: 0.6674 MB / 2.588 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/6.872, allocations: 1.231 MB / 2.589 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/6.873, allocations: 0.7787 MB / 2.59 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001961/6.875, allocations: 182.7 kB / 2.59 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 4.578e-06/6.875, allocations: 0 / 2.59 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.002592/6.877, allocations: 1.477 MB / 2.591 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/6.877, allocations: 325.4 kB / 2.592 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/6.88, allocations: 2.221 MB / 2.594 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001938/6.881, allocations: 57.7 kB / 2.594 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/6.882, allocations: 1.199 MB / 2.595 GB, free: 5.207 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/6.882, allocations: 374.5 kB / 2.595 GB, free: 4.836 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/6.882, allocations: 24 kB / 2.595 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001175/6.882, allocations: 361.9 kB / 2.596 GB, free: 4.453 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00095/6.883, allocations: 0.6599 MB / 2.596 GB, free: 3.793 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/6.884, allocations: 1.078 MB / 2.598 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/6.885, allocations: 0.8136 MB / 2.598 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/6.885, allocations: 4 kB / 2.598 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003398/6.889, allocations: 2.069 MB / 2.6 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001143/6.89, allocations: 2.509 MB / 2.603 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/6.89, allocations: 15.92 kB / 2.603 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/6.89, allocations: 52.78 kB / 2.603 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/6.892, allocations: 371.4 kB / 2.603 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005776/6.893, allocations: 0.5991 MB / 2.604 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/6.896, allocations: 251.5 kB / 2.604 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/6.896, allocations: 75.95 kB / 2.604 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/6.896, allocations: 4 kB / 2.604 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003367/6.899, allocations: 1.814 MB / 2.606 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/6.899, allocations: 15.98 kB / 2.606 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/6.899, allocations: 60.77 kB / 2.606 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/6.901, allocations: 367.5 kB / 2.606 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/6.903, allocations: 1.566 MB / 2.608 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/6.906, allocations: 243.5 kB / 2.608 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/6.906, allocations: 67.97 kB / 2.608 GB, free: 7.301 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (171): * Single equations (assignments): 165 * 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.0005411/6.906, allocations: 236.7 kB / 2.608 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00058/6.907, allocations: 264.6 kB / 2.609 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/6.911, allocations: 1.822 MB / 2.61 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/6.911, allocations: 19.98 kB / 2.61 GB, free: 4.949 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/6.911, allocations: 4 kB / 2.61 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/6.913, allocations: 1.524 MB / 2.612 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.752/7.665, allocations: 4.718 MB / 2.617 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/7.665, allocations: 6.625 kB / 2.617 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/7.667, allocations: 242.7 kB / 2.617 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/7.667, allocations: 44.22 kB / 2.617 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/7.667, allocations: 40.16 kB / 2.617 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003092/7.667, allocations: 0.5765 MB / 2.617 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/7.667, allocations: 4.406 kB / 2.617 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005111/7.673, allocations: 2.95 MB / 2.62 GB, free: 99.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002718/7.675, allocations: 0.6024 MB / 2.621 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005484/7.676, allocations: 36.25 kB / 2.621 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/7.678, allocations: 199.8 kB / 2.621 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/7.678, allocations: 88.03 kB / 2.621 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/7.678, allocations: 56.62 kB / 2.621 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003317/7.682, allocations: 1.745 MB / 2.623 GB, free: 99.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.242e-06/7.682, allocations: 0 / 2.623 GB, free: 99.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005499/7.687, allocations: 1.349 MB / 2.624 GB, free: 99.62 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (121): * Single equations (assignments): 112 * 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.006885/7.694, allocations: 5.274 MB / 2.629 GB, free: 97.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004655/7.699, allocations: 2.937 MB / 2.632 GB, free: 97.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/7.699, allocations: 2.875 kB / 2.632 GB, free: 97.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/7.7, allocations: 0.7761 MB / 2.633 GB, free: 97.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007585/7.707, allocations: 1.315 MB / 2.634 GB, free: 97.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/7.721, allocations: 4.555 MB / 2.639 GB, free: 95.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/7.722, allocations: 1.847 MB / 2.641 GB, free: 95.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004875/7.727, allocations: 0.9106 MB / 2.641 GB, free: 95.14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/7.729, allocations: 1.062 MB / 2.643 GB, free: 95.13 MB / 0.9167 GB Notification: Performance of SimCode: time 1.332e-06/7.729, allocations: 4.938 kB / 2.643 GB, free: 95.13 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/7.886, allocations: 90.12 MB / 2.731 GB, free: 91.57 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/7.886, allocations: 270.4 kB / 2.731 GB, free: 91.24 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.886/13.77, allocations: 0 / 2.731 GB, free: 91.24 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)