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.541/1.541, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001222, allocations: 192.7 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001032/0.001032, allocations: 88.23 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 9.875 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2681, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.319, allocations: 451.3 MB / 1.341 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.32, allocations: 113 kB / 1.341 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.141/6.461, allocations: 1.235 GB / 2.576 GB, free: 88.28 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.234e-06/6.461, allocations: 0 / 2.576 GB, free: 88.28 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004218/6.461, allocations: 78.64 kB / 2.576 GB, free: 88.27 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.01045/6.472, allocations: 3.512 MB / 2.579 GB, free: 86.65 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/6.472, allocations: 11.66 kB / 2.579 GB, free: 86.65 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007983/6.473, allocations: 235.3 kB / 2.58 GB, free: 86.61 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/6.475, allocations: 0.5357 MB / 2.58 GB, free: 86.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009617/6.485, allocations: 3.392 MB / 2.583 GB, free: 85.86 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008041/6.486, allocations: 276.2 kB / 2.584 GB, free: 85.85 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007246/6.486, allocations: 179.8 kB / 2.584 GB, free: 85.85 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004585/6.491, allocations: 2.145 MB / 2.586 GB, free: 85.57 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/6.491, allocations: 7.844 kB / 2.586 GB, free: 85.57 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/6.491, allocations: 69.38 kB / 2.586 GB, free: 85.57 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/6.491, allocations: 38.09 kB / 2.586 GB, free: 85.57 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004041/6.495, allocations: 1.899 MB / 2.588 GB, free: 85.55 MB / 0.9011 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.02061/6.516, allocations: 11.06 MB / 2.599 GB, free: 80.71 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/6.519, allocations: 1.899 MB / 2.6 GB, free: 80.02 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/6.52, allocations: 1.231 MB / 2.602 GB, free: 78.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/6.522, allocations: 0.818 MB / 2.602 GB, free: 78.61 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002844/6.525, allocations: 177.1 kB / 2.603 GB, free: 78.55 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 1.598e-05/6.525, allocations: 3.094 kB / 2.603 GB, free: 78.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.006646/6.531, allocations: 2.413 MB / 2.605 GB, free: 78.11 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/6.531, allocations: 302.3 kB / 2.605 GB, free: 77.77 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005509/6.537, allocations: 2.278 MB / 2.608 GB, free: 77.55 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005752/6.538, allocations: 57.34 kB / 2.608 GB, free: 77.52 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001377/6.539, allocations: 1.196 MB / 2.609 GB, free: 77.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005126/6.539, allocations: 376.5 kB / 2.609 GB, free: 76.96 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/6.54, allocations: 31.14 kB / 2.609 GB, free: 76.96 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001371/6.54, allocations: 364 kB / 2.609 GB, free: 76.65 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/6.541, allocations: 0.786 MB / 2.61 GB, free: 76.64 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/6.543, allocations: 1.206 MB / 2.611 GB, free: 76.22 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/6.545, allocations: 0.9325 MB / 2.612 GB, free: 76.17 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/6.545, allocations: 1.875 kB / 2.612 GB, free: 76.17 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005054/6.55, allocations: 2.322 MB / 2.615 GB, free: 75.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007385/6.551, allocations: 2.509 MB / 2.617 GB, free: 73.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/6.551, allocations: 16.36 kB / 2.617 GB, free: 73.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/6.551, allocations: 55.23 kB / 2.617 GB, free: 73.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/6.553, allocations: 372.5 kB / 2.617 GB, free: 73.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004236/6.553, allocations: 0.5933 MB / 2.618 GB, free: 72.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/6.556, allocations: 261.3 kB / 2.618 GB, free: 72.78 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/6.557, allocations: 78.11 kB / 2.618 GB, free: 72.78 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/6.557, allocations: 4.906 kB / 2.618 GB, free: 72.78 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00409/6.561, allocations: 2.064 MB / 2.62 GB, free: 72.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/6.561, allocations: 10.53 kB / 2.62 GB, free: 72.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/6.561, allocations: 64.92 kB / 2.62 GB, free: 72.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/6.563, allocations: 368.9 kB / 2.621 GB, free: 72.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/6.564, allocations: 1.568 MB / 2.622 GB, free: 71.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/6.567, allocations: 245.6 kB / 2.623 GB, free: 71.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/6.567, allocations: 73.17 kB / 2.623 GB, free: 71.34 MB / 0.9011 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 () * Number of clocked 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.002334/6.57, allocations: 0.7842 MB / 2.623 GB, free: 71.12 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009192/6.571, allocations: 264.5 kB / 2.624 GB, free: 70.98 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/6.575, allocations: 2.038 MB / 2.626 GB, free: 70.82 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/6.575, allocations: 11.06 kB / 2.626 GB, free: 70.82 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/6.575, allocations: 0 / 2.626 GB, free: 70.82 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002731/6.578, allocations: 1.736 MB / 2.627 GB, free: 70.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009732/6.588, allocations: 4.666 MB / 2.632 GB, free: 69.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/6.588, allocations: 3.344 kB / 2.632 GB, free: 69.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/6.589, allocations: 239.9 kB / 2.632 GB, free: 69.85 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/6.589, allocations: 48.17 kB / 2.632 GB, free: 69.83 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/6.589, allocations: 41.58 kB / 2.632 GB, free: 69.83 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003086/6.589, allocations: 0.5611 MB / 2.633 GB, free: 69.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/6.589, allocations: 3.719 kB / 2.633 GB, free: 69.31 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005431/6.595, allocations: 3.057 MB / 2.636 GB, free: 68.71 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/6.597, allocations: 0.5999 MB / 2.636 GB, free: 68.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004545/6.598, allocations: 30.19 kB / 2.636 GB, free: 68.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/6.599, allocations: 196.8 kB / 2.637 GB, free: 68.45 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/6.599, allocations: 77.16 kB / 2.637 GB, free: 68.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/6.6, allocations: 57 kB / 2.637 GB, free: 68.45 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003258/6.603, allocations: 1.767 MB / 2.638 GB, free: 68.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.21e-07/6.603, allocations: 0 / 2.638 GB, free: 68.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005784/6.609, allocations: 1.358 MB / 2.64 GB, free: 68.11 MB / 0.9011 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 (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.007974/6.617, allocations: 5.055 MB / 2.645 GB, free: 66.28 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006188/6.623, allocations: 3.192 MB / 2.648 GB, free: 65.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/6.623, allocations: 0 / 2.648 GB, free: 65.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/6.625, allocations: 0.8771 MB / 2.649 GB, free: 65.69 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007816/6.632, allocations: 1.28 MB / 2.65 GB, free: 65.62 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/6.655, allocations: 10.98 MB / 2.661 GB, free: 58.38 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/6.656, allocations: 1.837 MB / 2.662 GB, free: 57.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003801/6.66, allocations: 0.6685 MB / 2.663 GB, free: 57.51 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/6.662, allocations: 1.105 MB / 2.664 GB, free: 56.66 MB / 0.9011 GB Notification: Performance of SimCode: time 9.82e-07/6.662, allocations: 0 / 2.664 GB, free: 56.66 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/6.813, allocations: 82.59 MB / 2.745 GB, free: 232 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002649/6.813, allocations: 300.1 kB / 2.745 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.474/12.29, allocations: 0 / 2.745 GB, free: 15.88 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)