Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.495/2.495, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.00143/0.00143, allocations: 188.8 kB / 360.6 MB, free: 7.262 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.15/2.15, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001095/0.001095, allocations: 98.66 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.297e-05, allocations: 4 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/0.8257, allocations: 115.3 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/2.186, allocations: 458 MB / 1.411 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/2.186, allocations: 113.1 kB / 1.411 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.317/8.504, allocations: 1.26 GB / 2.671 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.144e-06/8.504, allocations: 7.938 kB / 2.671 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000752/8.505, allocations: 79.91 kB / 2.671 GB, free: 15.84 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.01214/8.517, allocations: 2.938 MB / 2.674 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/8.517, allocations: 16.03 kB / 2.674 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/8.521, allocations: 0.5426 MB / 2.674 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/8.534, allocations: 3.353 MB / 2.677 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001339/8.536, allocations: 203 kB / 2.678 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000878/8.537, allocations: 111.9 kB / 2.678 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005846/8.543, allocations: 1.584 MB / 2.679 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006187/8.549, allocations: 1.789 MB / 2.681 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/8.549, allocations: 0 / 2.681 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/8.549, allocations: 4 kB / 2.681 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.37e-05/8.549, allocations: 36 kB / 2.681 GB, free: 5.047 MB / 0.9636 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.02832/8.578, allocations: 10.83 MB / 2.692 GB, free: 9.457 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/8.581, allocations: 1.402 MB / 2.693 GB, free: 7.98 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/8.583, allocations: 0.6188 MB / 2.694 GB, free: 7.352 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001827/8.584, allocations: 1.243 MB / 2.695 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/8.586, allocations: 0.6905 MB / 2.695 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002005/8.588, allocations: 131 kB / 2.696 GB, free: 5.012 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=106): time 9.427e-06/8.588, allocations: 4 kB / 2.696 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of matching and sorting (n=106): time 0.006059/8.595, allocations: 1.479 MB / 2.697 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/8.595, allocations: 300 kB / 2.697 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005425/8.6, allocations: 1.951 MB / 2.699 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005474/8.601, allocations: 25.7 kB / 2.699 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.8025/9.403, allocations: 1.181 MB / 2.7 GB, free: 122.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007561/9.404, allocations: 354.1 kB / 2.701 GB, free: 122.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/9.404, allocations: 1 kB / 2.701 GB, free: 122.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001715/9.405, allocations: 364.3 kB / 2.701 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/9.406, allocations: 0.6357 MB / 2.702 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/9.409, allocations: 1.072 MB / 2.703 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003457/9.412, allocations: 0.8506 MB / 2.704 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/9.412, allocations: 2.5 kB / 2.704 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007988/9.42, allocations: 2.044 MB / 2.706 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006809/9.421, allocations: 2.865 MB / 2.708 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.783e-05/9.421, allocations: 9.031 kB / 2.708 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/9.421, allocations: 51.69 kB / 2.708 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/9.425, allocations: 373.8 kB / 2.709 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005606/9.425, allocations: 0.6163 MB / 2.709 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/9.43, allocations: 217.9 kB / 2.71 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004588/9.43, allocations: 75.06 kB / 2.71 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/9.43, allocations: 2.688 kB / 2.71 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005704/9.436, allocations: 1.744 MB / 2.711 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.687e-05/9.436, allocations: 14.02 kB / 2.711 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/9.436, allocations: 62.02 kB / 2.711 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/9.439, allocations: 368.9 kB / 2.712 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/9.441, allocations: 1.531 MB / 2.713 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/9.445, allocations: 199.8 kB / 2.713 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004872/9.446, allocations: 75.09 kB / 2.714 GB, free: 116.8 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.0006069/9.446, allocations: 179 kB / 2.714 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005011/9.451, allocations: 1.45 MB / 2.715 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008705/9.452, allocations: 243.6 kB / 2.715 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/9.458, allocations: 1.758 MB / 2.717 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/9.458, allocations: 11.94 kB / 2.717 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/9.458, allocations: 0 / 2.717 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004213/9.463, allocations: 1.476 MB / 2.718 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/9.475, allocations: 4.266 MB / 2.723 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/9.475, allocations: 6.922 kB / 2.723 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/9.477, allocations: 242.3 kB / 2.723 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001549/9.478, allocations: 35.81 kB / 2.723 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/9.478, allocations: 27.69 kB / 2.723 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003709/9.478, allocations: 0.5647 MB / 2.724 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/9.478, allocations: 3.938 kB / 2.724 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006866/9.485, allocations: 2.715 MB / 2.726 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/9.487, allocations: 0.5798 MB / 2.727 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008148/9.488, allocations: 14.61 kB / 2.727 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003457/9.492, allocations: 179 kB / 2.727 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/9.492, allocations: 76.95 kB / 2.727 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/9.492, allocations: 55.47 kB / 2.727 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003714/9.496, allocations: 1.458 MB / 2.728 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.72e-07/9.496, allocations: 0 / 2.728 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007545/9.504, allocations: 1.299 MB / 2.73 GB, free: 113.7 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.01018/9.514, allocations: 4.911 MB / 2.735 GB, free: 111.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00668/9.521, allocations: 2.82 MB / 2.737 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/9.521, allocations: 0 / 2.737 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/9.522, allocations: 0.739 MB / 2.738 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009603/9.532, allocations: 1.124 MB / 2.739 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/9.548, allocations: 4.402 MB / 2.743 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/9.551, allocations: 1.838 MB / 2.745 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007092/9.558, allocations: 0.8691 MB / 2.746 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002699/9.56, allocations: 1.058 MB / 2.747 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.242e-06/9.56, allocations: 1.062 kB / 2.747 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2136/9.774, allocations: 74.74 MB / 2.82 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/9.774, allocations: 229.9 kB / 2.82 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.087/15.86, allocations: 0 / 2.82 GB, free: 105.8 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)