Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, 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.001142/0.001142, allocations: 173.5 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009269/0.0009273, allocations: 92.23 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003397, allocations: 9.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.188, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.001944/0.19, allocations: 1.712 MB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000936/0.1909, allocations: 0.7411 MB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1911, allocations: 4 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.1912, allocations: 31.72 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.1913, allocations: 35.86 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1916, allocations: 99.83 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1918, allocations: 227.6 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.192, allocations: 187 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1922, allocations: 99.62 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1923, allocations: 115.4 kB / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.1923, allocations: 12 kB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.1924, allocations: 16 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.1925, allocations: 51.77 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.1925, allocations: 69.58 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1928, allocations: 303.5 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1928, allocations: 3.938 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1928, allocations: 4 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.1928, allocations: 0 / 0.9038 GB, free: 60.12 MB / 0.6042 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.0006279/0.1934, allocations: 0.5027 MB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1935, allocations: 8.031 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/0.1935, allocations: 66.53 kB / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.1936, allocations: 39.58 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1938, allocations: 270.5 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1939, allocations: 28.56 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.1939, allocations: 28 kB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.1944, allocations: 311.6 kB / 0.905 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1944, allocations: 0 / 0.905 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.1944, allocations: 16 kB / 0.905 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1944, allocations: 8 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.1949, allocations: 246 kB / 0.9052 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.196, allocations: 0.948 MB / 0.9061 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.1965, allocations: 259.6 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1965, allocations: 12.16 kB / 0.9064 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.1968, allocations: 156 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.1968, allocations: 4 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0005791/0.1974, allocations: 333.2 kB / 0.9069 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.1974, allocations: 63.39 kB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1976, allocations: 202.3 kB / 0.9071 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1976, allocations: 37.7 kB / 0.9072 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.1977, allocations: 156.6 kB / 0.9073 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.1977, allocations: 82.91 kB / 0.9074 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.1978, allocations: 4 kB / 0.9074 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.1978, allocations: 342.8 kB / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.198, allocations: 99.89 kB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1982, allocations: 145.1 kB / 0.908 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.1984, allocations: 99.92 kB / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1984, allocations: 0 / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004405/0.1988, allocations: 312.5 kB / 0.9083 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1988, allocations: 4.156 kB / 0.9084 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1989, allocations: 8 kB / 0.9084 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1989, allocations: 0 / 0.9084 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.1991, allocations: 39.91 kB / 0.9084 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1991, allocations: 4 kB / 0.9084 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1993, allocations: 63.66 kB / 0.9085 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.1993, allocations: 15.98 kB / 0.9085 GB, free: 55.02 MB / 0.6042 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.0001286/0.1995, allocations: 169.7 kB / 0.9086 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1995, allocations: 19.81 kB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.2, allocations: 292 kB / 0.9089 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2, allocations: 4 kB / 0.9089 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2, allocations: 0 / 0.9089 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2, allocations: 0 / 0.9089 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.2008, allocations: 0.753 MB / 0.9097 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2009, allocations: 0 / 0.9097 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.201, allocations: 27.92 kB / 0.9097 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.201, allocations: 4 kB / 0.9097 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.201, allocations: 4 kB / 0.9097 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.201, allocations: 4 kB / 0.9097 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.201, allocations: 3.953 kB / 0.9097 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.2014, allocations: 363.1 kB / 0.9101 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.2015, allocations: 96.86 kB / 0.9102 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.2015, allocations: 4 kB / 0.9102 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.2017, allocations: 39.97 kB / 0.9102 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.2018, allocations: 43.89 kB / 0.9102 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.2018, allocations: 7.984 kB / 0.9102 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.066e-05/0.2019, allocations: 140.2 kB / 0.9104 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2019, allocations: 0 / 0.9104 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002934/0.2022, allocations: 63.84 kB / 0.9104 GB, free: 52.9 MB / 0.6042 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.0005948/0.2028, allocations: 0.9214 MB / 0.9113 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.2032, allocations: 255.8 kB / 0.9116 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2032, allocations: 0 / 0.9116 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.2034, allocations: 128.2 kB / 0.9117 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.2037, allocations: 38.14 kB / 0.9117 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.2056, allocations: 2.171 MB / 0.9139 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.2058, allocations: 0.7644 MB / 0.9146 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.2059, allocations: 30.28 kB / 0.9146 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.206, allocations: 92.66 kB / 0.9147 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.206, allocations: 0 / 0.9147 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.2199, allocations: 4.936 MB / 0.9195 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001262/0.2201, allocations: 223.3 kB / 0.9198 GB, free: 43.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.893, allocations: 2.672 kB / 0.9198 GB, free: 43.44 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)