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.001119/0.001119, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 187.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.794/1.794, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001433/0.001433, allocations: 70.67 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.227, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003707/0.2308, allocations: 2.046 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2323, allocations: 0.745 MB / 0.7864 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2324, allocations: 7.938 kB / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.2326, allocations: 35.61 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2327, allocations: 43.58 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.2332, allocations: 155.8 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.2336, allocations: 395.2 kB / 0.787 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.234, allocations: 251.8 kB / 0.7872 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.2342, allocations: 135.5 kB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2344, allocations: 151.3 kB / 0.7875 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.2345, allocations: 36 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.822e-05/0.2346, allocations: 44 kB / 0.7876 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.2347, allocations: 83.75 kB / 0.7876 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.2348, allocations: 147.2 kB / 0.7878 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.2352, allocations: 410.6 kB / 0.7882 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2352, allocations: 4 kB / 0.7882 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2352, allocations: 0 / 0.7882 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2353, allocations: 0 / 0.7882 GB, free: 8.613 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.0008448/0.2361, allocations: 0.5805 MB / 0.7887 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2361, allocations: 12.03 kB / 0.7887 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/0.2362, allocations: 62.72 kB / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.2363, allocations: 32.56 kB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.2367, allocations: 275.9 kB / 0.7891 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.2367, allocations: 24.94 kB / 0.7891 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.2368, allocations: 32.31 kB / 0.7892 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/0.2373, allocations: 315.8 kB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2374, allocations: 0 / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.2374, allocations: 12 kB / 0.7895 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2374, allocations: 4 kB / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.2379, allocations: 242.1 kB / 0.7897 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.2393, allocations: 0.9362 MB / 0.7906 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.2399, allocations: 247.5 kB / 0.7909 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.2401, allocations: 121.2 kB / 0.791 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2401, allocations: 4.234 kB / 0.791 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.2404, allocations: 163.5 kB / 0.7911 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.2404, allocations: 0 / 0.7911 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0007374/0.2412, allocations: 318.1 kB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.2412, allocations: 59.39 kB / 0.7915 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2414, allocations: 204 kB / 0.7917 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.2415, allocations: 41.7 kB / 0.7917 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2416, allocations: 156.6 kB / 0.7919 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.2417, allocations: 82.84 kB / 0.792 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2418, allocations: 77.67 kB / 0.792 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2419, allocations: 338.8 kB / 0.7923 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2421, allocations: 91.89 kB / 0.7924 GB, free: 4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.2424, allocations: 153 kB / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.2427, allocations: 212.7 kB / 0.7928 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2428, allocations: 7.938 kB / 0.7928 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005448/0.2433, allocations: 304.7 kB / 0.7931 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2433, allocations: 4 kB / 0.7931 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2433, allocations: 0 / 0.7931 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2434, allocations: 4 kB / 0.7931 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.2436, allocations: 43.91 kB / 0.7931 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2436, allocations: 8.094 kB / 0.7931 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.2438, allocations: 47.7 kB / 0.7932 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.2439, allocations: 12 kB / 0.7932 GB, free: 3.176 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.2441, allocations: 177.6 kB / 0.7934 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.2441, allocations: 19.81 kB / 0.7934 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005546/0.2447, allocations: 280.2 kB / 0.7937 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2447, allocations: 4 kB / 0.7937 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2447, allocations: 0 / 0.7937 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2447, allocations: 0 / 0.7937 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.2458, allocations: 0.727 MB / 0.7944 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2458, allocations: 0 / 0.7944 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.2459, allocations: 31.92 kB / 0.7944 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2459, allocations: 4 kB / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.246, allocations: 8 kB / 0.7944 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.246, allocations: 0 / 0.7944 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.246, allocations: 7.922 kB / 0.7944 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.2465, allocations: 356.8 kB / 0.7948 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.2466, allocations: 100.8 kB / 0.7949 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/0.2466, allocations: 8 kB / 0.7949 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2468, allocations: 27.97 kB / 0.7949 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/0.2469, allocations: 39.89 kB / 0.7949 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.2469, allocations: 11.98 kB / 0.7949 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.959e-05/0.2471, allocations: 140.2 kB / 0.7951 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2471, allocations: 0 / 0.7951 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003267/0.2474, allocations: 63.83 kB / 0.7951 GB, free: 1.09 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.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008257/0.2482, allocations: 0.9056 MB / 0.796 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.2488, allocations: 252.5 kB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2488, allocations: 4.062 kB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.249, allocations: 135.8 kB / 0.7964 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.2494, allocations: 42.56 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.2524, allocations: 2.536 MB / 0.7989 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.2528, allocations: 0.7602 MB / 0.7996 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.2529, allocations: 30.28 kB / 0.7997 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.2531, allocations: 87.41 kB / 0.7998 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.2531, allocations: 4 kB / 0.7998 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.2755, allocations: 5.531 MB / 0.8052 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.378, allocations: 13.62 kB / 0.8052 GB, free: 6.797 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-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)