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.0011/0.0011, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001086/0.001086, allocations: 190.5 kB / 16.25 MB, free: 6.145 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.16/1.16, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.494/1.494, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.00134/0.00134, allocations: 69.66 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1669, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003021/0.1699, allocations: 2.124 MB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1712, allocations: 0.749 MB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1713, allocations: 7.938 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1715, allocations: 19.8 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.1716, allocations: 27.78 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.172, allocations: 147.8 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.1724, allocations: 399.2 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.1727, allocations: 244.7 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1729, allocations: 131.6 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1731, allocations: 155.2 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.1731, allocations: 44 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.799e-05/0.1732, allocations: 43.98 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.1733, allocations: 83.75 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1734, allocations: 147.3 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.1738, allocations: 406.7 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1738, allocations: 0 / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1738, allocations: 0 / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.1738, allocations: 0 / 0.7876 GB, free: 9.094 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.0007732/0.1746, allocations: 0.5689 MB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1747, allocations: 11.97 kB / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.454e-05/0.1747, allocations: 66.72 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.1748, allocations: 32.56 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1751, allocations: 263.9 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.1751, allocations: 28.94 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.1752, allocations: 28.38 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.1757, allocations: 315.7 kB / 0.7888 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1757, allocations: 7.938 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.1757, allocations: 12 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1758, allocations: 8 kB / 0.7889 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.1762, allocations: 238.1 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.1775, allocations: 0.9362 MB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.1779, allocations: 251.5 kB / 0.7902 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.1781, allocations: 113.3 kB / 0.7903 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1782, allocations: 4.234 kB / 0.7903 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.1785, allocations: 172.5 kB / 0.7905 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.1785, allocations: 0 / 0.7905 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.000626/0.1791, allocations: 317.4 kB / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1792, allocations: 63.39 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1793, allocations: 200 kB / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.1794, allocations: 41.7 kB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.1795, allocations: 152.6 kB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.1796, allocations: 82.84 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-05/0.1797, allocations: 77.69 kB / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1798, allocations: 334.8 kB / 0.7917 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.18, allocations: 91.95 kB / 0.7918 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.1802, allocations: 161 kB / 0.792 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.1805, allocations: 208.8 kB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1805, allocations: 3.938 kB / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004779/0.181, allocations: 308.5 kB / 0.7925 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.181, allocations: 11.98 kB / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1811, allocations: 0 / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1811, allocations: 7.938 kB / 0.7925 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.1813, allocations: 40.08 kB / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1813, allocations: 11.92 kB / 0.7925 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1815, allocations: 43.66 kB / 0.7926 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.1815, allocations: 16 kB / 0.7926 GB, free: 3.66 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.0001485/0.1817, allocations: 173.7 kB / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1817, allocations: 15.81 kB / 0.7928 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/0.1822, allocations: 284.1 kB / 0.793 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1822, allocations: 4 kB / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1822, allocations: 0 / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1822, allocations: 0 / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.1832, allocations: 0.7378 MB / 0.7938 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1832, allocations: 0 / 0.7938 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.1833, allocations: 31.92 kB / 0.7938 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1833, allocations: 0 / 0.7938 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.1834, allocations: 15.98 kB / 0.7938 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1834, allocations: 0 / 0.7938 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1834, allocations: 3.938 kB / 0.7938 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.1838, allocations: 351.7 kB / 0.7942 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.1839, allocations: 100.8 kB / 0.7942 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1839, allocations: 4 kB / 0.7943 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1841, allocations: 31.95 kB / 0.7943 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.1842, allocations: 39.89 kB / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1842, allocations: 8 kB / 0.7943 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.982e-05/0.1843, allocations: 144.1 kB / 0.7945 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1843, allocations: 0 / 0.7945 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000294/0.1846, allocations: 63.84 kB / 0.7945 GB, free: 1.57 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.000701/0.1853, allocations: 0.9014 MB / 0.7954 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005042/0.1858, allocations: 268.2 kB / 0.7957 GB, free: 392 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1859, allocations: 0 / 0.7957 GB, free: 392 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.1861, allocations: 131.9 kB / 0.7958 GB, free: 260 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1864, allocations: 43.84 kB / 0.7958 GB, free: 216 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.1892, allocations: 2.626 MB / 0.7984 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1895, allocations: 0.7603 MB / 0.7991 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.1896, allocations: 30.28 kB / 0.7992 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1897, allocations: 87.52 kB / 0.7992 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.1897, allocations: 7.938 kB / 0.7993 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3554/0.5452, allocations: 5.231 MB / 0.8044 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.5455, allocations: 224 kB / 0.8046 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.255, allocations: 10.88 kB / 0.8046 GB, free: 7.258 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)