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.72/1.72, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001528/0.001528, allocations: 175.3 kB / 371.6 MB, free: 3.352 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.862/1.862, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001031/0.001031, allocations: 91.55 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.983e-05, allocations: 0 / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2849, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.976/2.261, allocations: 459.8 MB / 1.429 GB, free: 292.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/2.261, allocations: 103.8 kB / 1.429 GB, free: 292.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.232/7.493, allocations: 1.266 GB / 2.695 GB, free: 93.24 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.004e-06/7.493, allocations: 0 / 2.695 GB, free: 93.24 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000425/7.493, allocations: 78.55 kB / 2.695 GB, free: 93.23 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.009167/7.502, allocations: 2.931 MB / 2.698 GB, free: 91.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/7.502, allocations: 15.11 kB / 2.698 GB, free: 91.8 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005892/7.503, allocations: 227.1 kB / 2.698 GB, free: 91.76 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/7.506, allocations: 0.5439 MB / 2.698 GB, free: 91.59 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008255/7.514, allocations: 3.357 MB / 2.702 GB, free: 91.02 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007244/7.515, allocations: 270.3 kB / 2.702 GB, free: 91.01 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004524/7.515, allocations: 189.7 kB / 2.702 GB, free: 91.01 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/7.519, allocations: 2.014 MB / 2.704 GB, free: 90.72 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/7.519, allocations: 3.5 kB / 2.704 GB, free: 90.72 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/7.519, allocations: 78.52 kB / 2.704 GB, free: 90.72 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/7.519, allocations: 38.5 kB / 2.704 GB, free: 90.72 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00286/7.522, allocations: 1.644 MB / 2.706 GB, free: 90.7 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.01732/7.539, allocations: 11.18 MB / 2.717 GB, free: 85.72 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/7.541, allocations: 1.413 MB / 2.718 GB, free: 85.31 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000918/7.542, allocations: 0.6418 MB / 2.719 GB, free: 85.28 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/7.543, allocations: 1.231 MB / 2.72 GB, free: 83.97 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/7.544, allocations: 0.7193 MB / 2.721 GB, free: 83.88 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002076/7.547, allocations: 180.5 kB / 2.721 GB, free: 83.82 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=106): time 6.311e-06/7.547, allocations: 0 / 2.721 GB, free: 83.82 MB / 0.9792 GB Notification: Performance of matching and sorting (n=106): time 0.002771/7.549, allocations: 1.465 MB / 2.722 GB, free: 83.57 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/7.55, allocations: 299.9 kB / 2.722 GB, free: 83.23 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/7.553, allocations: 2.226 MB / 2.725 GB, free: 82.98 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/7.553, allocations: 57.08 kB / 2.725 GB, free: 82.95 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/7.555, allocations: 1.203 MB / 2.726 GB, free: 82.63 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/7.555, allocations: 375 kB / 2.726 GB, free: 82.39 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/7.555, allocations: 28.38 kB / 2.726 GB, free: 82.39 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001364/7.555, allocations: 358.2 kB / 2.727 GB, free: 82.09 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/7.556, allocations: 0.6548 MB / 2.727 GB, free: 82.09 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/7.558, allocations: 1.095 MB / 2.728 GB, free: 81.63 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/7.559, allocations: 0.813 MB / 2.729 GB, free: 81.47 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/7.559, allocations: 0 / 2.729 GB, free: 81.47 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003897/7.563, allocations: 2.075 MB / 2.731 GB, free: 80.62 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007859/7.564, allocations: 2.892 MB / 2.734 GB, free: 77.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/7.564, allocations: 10.03 kB / 2.734 GB, free: 77.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/7.564, allocations: 53.12 kB / 2.734 GB, free: 77.55 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/7.565, allocations: 371.3 kB / 2.734 GB, free: 77.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004527/7.566, allocations: 0.6002 MB / 2.735 GB, free: 76.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/7.569, allocations: 260.6 kB / 2.735 GB, free: 76.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/7.569, allocations: 74.97 kB / 2.735 GB, free: 76.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/7.569, allocations: 3.25 kB / 2.735 GB, free: 76.91 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002989/7.572, allocations: 1.827 MB / 2.737 GB, free: 76.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/7.572, allocations: 20.02 kB / 2.737 GB, free: 76.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/7.573, allocations: 60.11 kB / 2.737 GB, free: 76.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/7.574, allocations: 375.4 kB / 2.737 GB, free: 76.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/7.575, allocations: 1.582 MB / 2.739 GB, free: 74.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/7.578, allocations: 239.9 kB / 2.739 GB, free: 74.61 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/7.579, allocations: 72.34 kB / 2.739 GB, free: 74.6 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.00058/7.579, allocations: 225.4 kB / 2.74 GB, free: 74.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/7.58, allocations: 268 kB / 2.74 GB, free: 74.25 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/7.584, allocations: 1.841 MB / 2.742 GB, free: 73.52 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/7.584, allocations: 19.7 kB / 2.742 GB, free: 73.52 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/7.584, allocations: 0 / 2.742 GB, free: 73.52 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002059/7.586, allocations: 1.527 MB / 2.743 GB, free: 72.76 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008439/7.594, allocations: 4.57 MB / 2.748 GB, free: 70.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/7.594, allocations: 0 / 2.748 GB, free: 70.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/7.595, allocations: 245.2 kB / 2.748 GB, free: 70.45 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/7.595, allocations: 36.61 kB / 2.748 GB, free: 70.44 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/7.596, allocations: 40.69 kB / 2.748 GB, free: 70.42 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003027/7.596, allocations: 0.5679 MB / 2.748 GB, free: 69.87 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/7.596, allocations: 3.406 kB / 2.748 GB, free: 69.87 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/7.6, allocations: 2.835 MB / 2.751 GB, free: 68.31 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/7.602, allocations: 0.6029 MB / 2.752 GB, free: 67.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/7.602, allocations: 39.55 kB / 2.752 GB, free: 67.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/7.604, allocations: 200.2 kB / 2.752 GB, free: 67.85 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/7.604, allocations: 79.44 kB / 2.752 GB, free: 67.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/7.604, allocations: 52.69 kB / 2.752 GB, free: 67.83 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003039/7.607, allocations: 1.743 MB / 2.754 GB, free: 67.12 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.483e-06/7.607, allocations: 0 / 2.754 GB, free: 67.12 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005324/7.613, allocations: 1.358 MB / 2.755 GB, free: 66.8 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.006835/7.62, allocations: 4.993 MB / 2.76 GB, free: 63.96 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00489/7.625, allocations: 2.936 MB / 2.763 GB, free: 62.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/7.625, allocations: 2.625 kB / 2.763 GB, free: 62.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/7.626, allocations: 0.7709 MB / 2.764 GB, free: 62.26 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007579/7.633, allocations: 1.309 MB / 2.765 GB, free: 61.99 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/7.646, allocations: 4.547 MB / 2.769 GB, free: 60.12 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/7.647, allocations: 1.843 MB / 2.771 GB, free: 59.27 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00443/7.652, allocations: 0.9146 MB / 2.772 GB, free: 59.14 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/7.653, allocations: 1.073 MB / 2.773 GB, free: 58.29 MB / 0.9792 GB Notification: Performance of SimCode: time 1.923e-06/7.653, allocations: 0 / 2.773 GB, free: 58.29 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1664/7.819, allocations: 90.15 MB / 2.861 GB, free: 6.559 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/7.82, allocations: 261.7 kB / 2.861 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.913/13.73, allocations: 0 / 2.861 GB, free: 6.223 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)