Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006879/0.000688, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007217/0.0007217, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.522/1.522, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004858, allocations: 13.56 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1821, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.001929/0.1841, allocations: 1.72 MB / 0.7891 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1852, allocations: 0.726 MB / 0.7898 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.1854, allocations: 7.938 kB / 0.7898 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1855, allocations: 27.78 kB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1856, allocations: 27.72 kB / 0.7899 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.186, allocations: 107.9 kB / 0.79 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.1863, allocations: 347.2 kB / 0.7903 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.1867, allocations: 183 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1868, allocations: 95.62 kB / 0.7906 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.187, allocations: 115.4 kB / 0.7907 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.187, allocations: 12 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.1871, allocations: 19.98 kB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.1871, allocations: 51.81 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.1872, allocations: 73.52 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1875, allocations: 295.5 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1875, allocations: 4 kB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1875, allocations: 0 / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.1875, allocations: 0 / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006842/0.1882, allocations: 0.522 MB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1882, allocations: 12.03 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.1883, allocations: 62.55 kB / 0.7917 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.1884, allocations: 35.66 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1887, allocations: 270.5 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1887, allocations: 24.56 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.1888, allocations: 31.98 kB / 0.792 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.1893, allocations: 311.7 kB / 0.7923 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1893, allocations: 4 kB / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1893, allocations: 12 kB / 0.7923 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1894, allocations: 4 kB / 0.7924 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.1898, allocations: 246.1 kB / 0.7926 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.1911, allocations: 0.9518 MB / 0.7935 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.1915, allocations: 251.6 kB / 0.7938 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.1918, allocations: 125.3 kB / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1918, allocations: 8.219 kB / 0.7939 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1921, allocations: 168.5 kB / 0.794 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.1921, allocations: 0 / 0.794 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006114/0.1927, allocations: 337.3 kB / 0.7944 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1928, allocations: 63.33 kB / 0.7944 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1929, allocations: 200 kB / 0.7946 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.193, allocations: 37.7 kB / 0.7947 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.1931, allocations: 152.6 kB / 0.7948 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.1931, allocations: 78.94 kB / 0.7949 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.1932, allocations: 8 kB / 0.7949 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1933, allocations: 342.8 kB / 0.7952 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.1935, allocations: 95.95 kB / 0.7953 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.1937, allocations: 153 kB / 0.7954 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1939, allocations: 95.73 kB / 0.7955 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1939, allocations: 0 / 0.7955 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004907/0.1944, allocations: 312.7 kB / 0.7958 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1944, allocations: 10.66 kB / 0.7958 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1944, allocations: 0 / 0.7958 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1944, allocations: 4 kB / 0.7959 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.1946, allocations: 47.84 kB / 0.7959 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1946, allocations: 4 kB / 0.7959 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.1948, allocations: 51.88 kB / 0.7959 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.1949, allocations: 19.98 kB / 0.796 GB, free: 2.828 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.195, allocations: 173.7 kB / 0.7961 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1951, allocations: 23.72 kB / 0.7962 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.1956, allocations: 288.1 kB / 0.7964 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.1956, allocations: 4 kB / 0.7964 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1956, allocations: 0 / 0.7964 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1956, allocations: 3.984 kB / 0.7964 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.1966, allocations: 0.7379 MB / 0.7972 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1966, allocations: 0 / 0.7972 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1967, allocations: 39.97 kB / 0.7972 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1967, allocations: 0 / 0.7972 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1968, allocations: 8 kB / 0.7972 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1968, allocations: 0 / 0.7972 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1968, allocations: 7.891 kB / 0.7972 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1972, allocations: 359.7 kB / 0.7976 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.1973, allocations: 104.7 kB / 0.7977 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.1973, allocations: 8 kB / 0.7977 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1975, allocations: 35.91 kB / 0.7977 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.1976, allocations: 39.94 kB / 0.7977 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1976, allocations: 19.95 kB / 0.7978 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.662e-05/0.1977, allocations: 140.1 kB / 0.7979 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1977, allocations: 0 / 0.7979 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000298/0.198, allocations: 63.84 kB / 0.7979 GB, free: 0.6914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00071/0.1987, allocations: 0.9092 MB / 0.7988 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.1992, allocations: 256.5 kB / 0.7991 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1992, allocations: 0 / 0.7991 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.1994, allocations: 135.8 kB / 0.7992 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1997, allocations: 36.16 kB / 0.7992 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.2017, allocations: 1.436 MB / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.202, allocations: 0.7566 MB / 0.8014 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.2021, allocations: 34.28 kB / 0.8014 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.2022, allocations: 83.39 kB / 0.8015 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2023, allocations: 0 / 0.8015 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.2168, allocations: 4.949 MB / 0.8063 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.217, allocations: 220.8 kB / 0.8065 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.783, allocations: 3.938 kB / 0.8065 GB, free: 7.941 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) Environment - environmentSimulation: