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.001132/0.001132, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001201/0.001201, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.14/1.14, allocations: 205.1 MB / 222 MB, free: 4.746 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.49/1.49, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001526/0.001526, allocations: 66.17 kB / 0.6709 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1669, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002765/0.1697, allocations: 2.12 MB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.1707, allocations: 0.7528 MB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.1708, allocations: 8 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1709, allocations: 23.8 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.934e-05/0.171, allocations: 31.72 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1713, allocations: 135.9 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.1717, allocations: 367.2 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.1719, allocations: 216.8 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1721, allocations: 119.5 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1722, allocations: 131.4 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.1723, allocations: 20 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.6e-05/0.1723, allocations: 24 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.1724, allocations: 71.73 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.1725, allocations: 131.2 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.1728, allocations: 378.8 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1728, allocations: 0 / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.61e-07/0.1728, allocations: 0 / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1728, allocations: 0 / 0.7872 GB, free: 9.398 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.0007006/0.1735, allocations: 0.569 MB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.1736, allocations: 8.031 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.105e-05/0.1736, allocations: 66.72 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.1737, allocations: 32.56 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.174, allocations: 275.8 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.174, allocations: 24.94 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.174, allocations: 32.36 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.1745, allocations: 315.8 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1746, allocations: 0 / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1746, allocations: 12 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1746, allocations: 8 kB / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.175, allocations: 242.1 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1762, allocations: 0.9362 MB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.1767, allocations: 249.6 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.1769, allocations: 117.3 kB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1769, allocations: 8.219 kB / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.1772, allocations: 160.5 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.1772, allocations: 4 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006019/0.1778, allocations: 321.4 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1779, allocations: 59.34 kB / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.178, allocations: 204 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.1781, allocations: 41.69 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.1782, allocations: 156.6 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.1782, allocations: 78.84 kB / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1783, allocations: 85.67 kB / 0.7911 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.1784, allocations: 334.8 kB / 0.7914 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.1786, allocations: 91.95 kB / 0.7915 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.1788, allocations: 149 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.1792, allocations: 212.8 kB / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1792, allocations: 7.938 kB / 0.7918 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004724/0.1797, allocations: 308.5 kB / 0.7921 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1797, allocations: 8 kB / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1797, allocations: 0 / 0.7921 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1797, allocations: 4 kB / 0.7921 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1799, allocations: 47.78 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1799, allocations: 3.984 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.1801, allocations: 55.81 kB / 0.7922 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.1801, allocations: 19.98 kB / 0.7922 GB, free: 3.949 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.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0001406/0.1803, allocations: 166.4 kB / 0.7924 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.1803, allocations: 15.81 kB / 0.7924 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000482/0.1808, allocations: 288.1 kB / 0.7927 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1808, allocations: 0 / 0.7927 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1808, allocations: 8 kB / 0.7927 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1808, allocations: 0 / 0.7927 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008762/0.1817, allocations: 0.7339 MB / 0.7934 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1817, allocations: 0 / 0.7934 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1818, allocations: 23.98 kB / 0.7934 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1819, allocations: 0 / 0.7934 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1819, allocations: 12 kB / 0.7935 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1819, allocations: 0 / 0.7935 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1819, allocations: 3.938 kB / 0.7935 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.1823, allocations: 355.7 kB / 0.7938 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.1824, allocations: 100.8 kB / 0.7939 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.1824, allocations: 8 kB / 0.7939 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1826, allocations: 27.97 kB / 0.7939 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.1827, allocations: 43.88 kB / 0.794 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1827, allocations: 4 kB / 0.794 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.245e-05/0.1828, allocations: 144.1 kB / 0.7941 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1828, allocations: 0 / 0.7941 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00028/0.1831, allocations: 63.84 kB / 0.7942 GB, free: 1.871 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 (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.0006905/0.1838, allocations: 0.9092 MB / 0.7951 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.1842, allocations: 248.3 kB / 0.7953 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1842, allocations: 320 / 0.7953 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.1845, allocations: 135.8 kB / 0.7954 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1848, allocations: 39.86 kB / 0.7955 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.1874, allocations: 2.628 MB / 0.798 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1877, allocations: 0.7605 MB / 0.7988 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000107/0.1878, allocations: 34.28 kB / 0.7988 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.188, allocations: 87.39 kB / 0.7989 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of SimCode: time 1.91e-07/0.188, allocations: 0 / 0.7989 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.725/1.913, allocations: 5.057 MB / 0.8038 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.913, allocations: 238.7 kB / 0.8041 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/3.474, allocations: 10.72 kB / 0.8041 GB, free: 7.715 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/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)