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.619/1.619, allocations: 289.9 MB / 297.4 MB, free: 6.312 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.001044/0.001044, allocations: 188.8 kB / 366.7 MB, free: 1.633 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.677/1.677, allocations: 205.3 MB / 0.626 GB, free: 7.133 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.0009926/0.0009926, allocations: 90.95 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.758e-05, allocations: 0 / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7624, allocations: 116.3 MB / 0.9734 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.993, allocations: 459.2 MB / 1.422 GB, free: 93.44 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.994, allocations: 102.9 kB / 1.422 GB, free: 93.38 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.797/6.791, allocations: 1.26 GB / 2.682 GB, free: 28.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/6.791, allocations: 7.938 kB / 2.682 GB, free: 28.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004375/6.792, allocations: 83.91 kB / 2.682 GB, free: 28.53 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.008683/6.8, allocations: 2.926 MB / 2.685 GB, free: 25.54 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/6.801, allocations: 8.031 kB / 2.685 GB, free: 25.53 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/6.803, allocations: 0.5504 MB / 2.685 GB, free: 24.97 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007321/6.811, allocations: 3.354 MB / 2.688 GB, free: 21.55 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006701/6.811, allocations: 199 kB / 2.689 GB, free: 21.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004873/6.812, allocations: 107.9 kB / 2.689 GB, free: 21.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003115/6.815, allocations: 1.588 MB / 2.69 GB, free: 19.66 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/6.818, allocations: 1.777 MB / 2.692 GB, free: 17.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/6.818, allocations: 0 / 2.692 GB, free: 17.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/6.818, allocations: 7.953 kB / 2.692 GB, free: 17.78 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/6.818, allocations: 44 kB / 2.692 GB, free: 17.74 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.01578/6.834, allocations: 10.84 MB / 2.703 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/6.836, allocations: 1.407 MB / 2.704 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/6.836, allocations: 0.6217 MB / 2.705 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/6.837, allocations: 1.231 MB / 2.706 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009588/6.838, allocations: 0.6944 MB / 2.706 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001774/6.84, allocations: 139 kB / 2.707 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 4.378e-06/6.84, allocations: 0 / 2.707 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.00327/6.843, allocations: 1.479 MB / 2.708 GB, free: 212 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/6.844, allocations: 304 kB / 2.708 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/6.847, allocations: 1.943 MB / 2.71 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/6.847, allocations: 33.7 kB / 2.71 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/6.849, allocations: 1.192 MB / 2.711 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004302/6.849, allocations: 346.8 kB / 2.712 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/6.849, allocations: 0 / 2.712 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001841/6.85, allocations: 365.9 kB / 2.712 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/6.851, allocations: 0.6365 MB / 2.713 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/6.852, allocations: 1.073 MB / 2.714 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/6.854, allocations: 0.8517 MB / 2.715 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/6.854, allocations: 4 kB / 2.715 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.004523/6.859, allocations: 2.041 MB / 2.717 GB, free: 7.156 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001193/6.86, allocations: 2.869 MB / 2.719 GB, free: 4.043 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/6.86, allocations: 8 kB / 2.719 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/6.86, allocations: 52.84 kB / 2.719 GB, free: 3.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/6.862, allocations: 379.4 kB / 2.72 GB, free: 3.609 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005263/6.863, allocations: 0.6147 MB / 2.72 GB, free: 2.969 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/6.866, allocations: 215.7 kB / 2.721 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/6.866, allocations: 71.97 kB / 2.721 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/6.866, allocations: 8.109 kB / 2.721 GB, free: 2.68 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00377/6.87, allocations: 1.738 MB / 2.722 GB, free: 0.9375 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/6.87, allocations: 15.98 kB / 2.722 GB, free: 0.9219 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/6.87, allocations: 57.25 kB / 2.722 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/6.871, allocations: 375.8 kB / 2.723 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8676/7.739, allocations: 1.525 MB / 2.724 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/7.742, allocations: 201.8 kB / 2.724 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004302/7.743, allocations: 73.45 kB / 2.725 GB, free: 115.7 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.0005619/7.744, allocations: 181.5 kB / 2.725 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004354/7.748, allocations: 1.438 MB / 2.726 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000664/7.749, allocations: 248.4 kB / 2.726 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/7.754, allocations: 1.756 MB / 2.728 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/7.754, allocations: 11.88 kB / 2.728 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/7.754, allocations: 10.34 kB / 2.728 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003199/7.757, allocations: 1.465 MB / 2.73 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/7.767, allocations: 4.272 MB / 2.734 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/7.767, allocations: 5.438 kB / 2.734 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/7.768, allocations: 236.5 kB / 2.734 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/7.768, allocations: 32 kB / 2.734 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/7.768, allocations: 29.81 kB / 2.734 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003196/7.769, allocations: 0.5683 MB / 2.735 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/7.769, allocations: 8.688 kB / 2.735 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/7.774, allocations: 2.714 MB / 2.737 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/7.776, allocations: 0.5779 MB / 2.738 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/7.776, allocations: 14.39 kB / 2.738 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/7.778, allocations: 171.4 kB / 2.738 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/7.778, allocations: 82.09 kB / 2.738 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/7.778, allocations: 55.39 kB / 2.738 GB, free: 113 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0028/7.781, allocations: 1.462 MB / 2.74 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.9e-07/7.781, allocations: 2.609 kB / 2.74 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005174/7.786, allocations: 1.312 MB / 2.741 GB, free: 112.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.006577/7.793, allocations: 4.898 MB / 2.746 GB, free: 111 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004695/7.797, allocations: 2.814 MB / 2.748 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/7.797, allocations: 0 / 2.748 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/7.798, allocations: 0.7466 MB / 2.749 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006765/7.805, allocations: 1.116 MB / 2.75 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/7.817, allocations: 4.397 MB / 2.754 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/7.819, allocations: 1.846 MB / 2.756 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004214/7.823, allocations: 0.8663 MB / 2.757 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/7.824, allocations: 1.062 MB / 2.758 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of SimCode: time 1.142e-06/7.824, allocations: 1.875 kB / 2.758 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1579/7.982, allocations: 74.75 MB / 2.831 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/7.983, allocations: 211.2 kB / 2.831 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.642/13.62, allocations: 2.969 kB / 2.831 GB, free: 105.1 MB / 0.9792 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)