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.001001/0.001001, allocations: 104 kB / 15.6 MB, free: 148 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.001048/0.001048, allocations: 195.9 kB / 16.53 MB, free: 6.617 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.202/1.202, allocations: 205.1 MB / 222.4 MB, free: 4.391 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.544/1.544, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001247/0.001247, allocations: 71.66 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1706, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003007/0.1736, allocations: 2.035 MB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1747, allocations: 0.749 MB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.14e-05/0.1748, allocations: 4 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.175, allocations: 43.53 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.292e-05/0.1751, allocations: 43.53 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1754, allocations: 155.8 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1758, allocations: 395.2 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.1761, allocations: 244.7 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1763, allocations: 131.5 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1764, allocations: 147.4 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.1765, allocations: 40 kB / 0.7873 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.1766, allocations: 44 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.1766, allocations: 83.73 kB / 0.7875 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1768, allocations: 155.2 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1771, allocations: 398.8 kB / 0.788 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1771, allocations: 4 kB / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1771, allocations: 0 / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.1772, allocations: 0 / 0.788 GB, free: 8.699 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.0007399/0.1779, allocations: 0.5689 MB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.1779, allocations: 8.031 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.805e-05/0.178, allocations: 66.72 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.1781, allocations: 32.56 kB / 0.7887 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1783, allocations: 275.8 kB / 0.7889 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1784, allocations: 24.94 kB / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.1784, allocations: 36.36 kB / 0.789 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.1789, allocations: 315.8 kB / 0.7893 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1789, allocations: 0 / 0.7893 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.179, allocations: 12 kB / 0.7893 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.179, allocations: 8 kB / 0.7893 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.1794, allocations: 234.1 kB / 0.7895 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1806, allocations: 0.9518 MB / 0.7905 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.1811, allocations: 243.5 kB / 0.7907 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.1813, allocations: 117.3 kB / 0.7908 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1813, allocations: 4.234 kB / 0.7908 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.1816, allocations: 163.5 kB / 0.791 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.1816, allocations: 0 / 0.791 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006038/0.1823, allocations: 318.1 kB / 0.7913 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1823, allocations: 63.34 kB / 0.7913 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1825, allocations: 204 kB / 0.7915 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1825, allocations: 41.69 kB / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.1826, allocations: 148.6 kB / 0.7917 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.1827, allocations: 86.84 kB / 0.7918 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1828, allocations: 81.67 kB / 0.7919 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1829, allocations: 334.8 kB / 0.7922 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1831, allocations: 95.95 kB / 0.7923 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.1833, allocations: 149 kB / 0.7924 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.1836, allocations: 212.8 kB / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1836, allocations: 3.938 kB / 0.7926 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004772/0.1841, allocations: 308.5 kB / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1841, allocations: 4 kB / 0.7929 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1842, allocations: 4 kB / 0.7929 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1842, allocations: 0 / 0.7929 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.1844, allocations: 47.84 kB / 0.793 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1844, allocations: 4 kB / 0.793 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.1846, allocations: 43.88 kB / 0.793 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.1846, allocations: 19.98 kB / 0.793 GB, free: 3.266 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.0001478/0.1848, allocations: 177.6 kB / 0.7932 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.1848, allocations: 15.81 kB / 0.7932 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.1853, allocations: 284.1 kB / 0.7935 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1853, allocations: 4 kB / 0.7935 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1853, allocations: 0 / 0.7935 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1853, allocations: 0 / 0.7935 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.1862, allocations: 0.7304 MB / 0.7942 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1862, allocations: 3.938 kB / 0.7942 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.1864, allocations: 35.97 kB / 0.7942 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1864, allocations: 4 kB / 0.7942 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1864, allocations: 4 kB / 0.7942 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1864, allocations: 0 / 0.7942 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1864, allocations: 11.88 kB / 0.7943 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.1868, allocations: 351.7 kB / 0.7946 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.1869, allocations: 104.8 kB / 0.7947 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.1869, allocations: 12 kB / 0.7947 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.1871, allocations: 23.97 kB / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.1872, allocations: 39.89 kB / 0.7948 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.1872, allocations: 11.98 kB / 0.7948 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.202e-05/0.1873, allocations: 136.2 kB / 0.7949 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1873, allocations: 0 / 0.7949 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002863/0.1876, allocations: 67.84 kB / 0.795 GB, free: 1.168 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.0007138/0.1884, allocations: 0.9027 MB / 0.7959 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.1889, allocations: 268.5 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1889, allocations: 4.062 kB / 0.7961 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.1891, allocations: 131.8 kB / 0.7962 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1894, allocations: 35.86 kB / 0.7963 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.1921, allocations: 2.536 MB / 0.7987 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1924, allocations: 0.7564 MB / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.1925, allocations: 34.28 kB / 0.7995 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1926, allocations: 87.41 kB / 0.7996 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.1927, allocations: 0 / 0.7996 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3518/0.5445, allocations: 5.521 MB / 0.805 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/7.224, allocations: 6.875 kB / 0.805 GB, free: 6.883 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)