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.0008145/0.0008146, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.004562/0.004562, allocations: 174.7 kB / 16.27 MB, free: 6.613 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.152/1.152, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.487/1.487, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004424/0.0004425, allocations: 14.09 kB / 0.6744 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1709, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.001905/0.1728, allocations: 1.77 MB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009856/0.1738, allocations: 0.7452 MB / 0.7905 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.1739, allocations: 4 kB / 0.7905 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.733e-05/0.174, allocations: 19.8 kB / 0.7905 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.482e-05/0.1741, allocations: 35.7 kB / 0.7905 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1744, allocations: 135.9 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.1747, allocations: 363.2 kB / 0.791 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.175, allocations: 208.6 kB / 0.7912 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1751, allocations: 103.5 kB / 0.7913 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1753, allocations: 115.4 kB / 0.7914 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.1753, allocations: 16 kB / 0.7914 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.1754, allocations: 27.98 kB / 0.7914 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.1755, allocations: 55.7 kB / 0.7915 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1756, allocations: 148.9 kB / 0.7916 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1759, allocations: 354.7 kB / 0.792 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1759, allocations: 4 kB / 0.792 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1759, allocations: 0 / 0.792 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1759, allocations: 0 / 0.792 GB, free: 7.379 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.0006211/0.1765, allocations: 0.5145 MB / 0.7925 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1765, allocations: 12.03 kB / 0.7925 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.1766, allocations: 62.72 kB / 0.7925 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.1767, allocations: 32.56 kB / 0.7926 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1769, allocations: 275.7 kB / 0.7928 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1769, allocations: 20.94 kB / 0.7929 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.177, allocations: 32.38 kB / 0.7929 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.1775, allocations: 327.6 kB / 0.7932 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1775, allocations: 0 / 0.7932 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.1775, allocations: 8 kB / 0.7932 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1776, allocations: 8 kB / 0.7932 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.178, allocations: 250.1 kB / 0.7935 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1792, allocations: 0.948 MB / 0.7944 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.1797, allocations: 251.5 kB / 0.7946 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.1799, allocations: 133.2 kB / 0.7948 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1799, allocations: 4.234 kB / 0.7948 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.1802, allocations: 164.5 kB / 0.7949 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.1802, allocations: 0 / 0.7949 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006203/0.1808, allocations: 341.3 kB / 0.7952 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1809, allocations: 59.41 kB / 0.7953 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1811, allocations: 200 kB / 0.7955 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1811, allocations: 37.7 kB / 0.7955 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.1812, allocations: 160.6 kB / 0.7957 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.1813, allocations: 78.92 kB / 0.7957 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.1813, allocations: 53.69 kB / 0.7958 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1814, allocations: 330.8 kB / 0.7961 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1816, allocations: 99.95 kB / 0.7962 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.1819, allocations: 157 kB / 0.7964 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.1822, allocations: 224.7 kB / 0.7966 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1822, allocations: 0 / 0.7966 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004956/0.1827, allocations: 324.5 kB / 0.7969 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1828, allocations: 4 kB / 0.7969 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1828, allocations: 4 kB / 0.7969 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1828, allocations: 0 / 0.7969 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.183, allocations: 43.84 kB / 0.7969 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.183, allocations: 4 kB / 0.7969 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1832, allocations: 63.75 kB / 0.797 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.1832, allocations: 19.92 kB / 0.797 GB, free: 1.93 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.0001527/0.1834, allocations: 174.4 kB / 0.7972 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.1834, allocations: 27.7 kB / 0.7972 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000505/0.1839, allocations: 292.1 kB / 0.7975 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1839, allocations: 0 / 0.7975 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.184, allocations: 4 kB / 0.7975 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.184, allocations: 0 / 0.7975 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009153/0.1849, allocations: 0.7418 MB / 0.7982 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1849, allocations: 0 / 0.7982 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.185, allocations: 23.98 kB / 0.7982 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.185, allocations: 7.938 kB / 0.7982 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1851, allocations: 8 kB / 0.7983 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1851, allocations: 4 kB / 0.7983 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1851, allocations: 7.922 kB / 0.7983 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.1855, allocations: 363.7 kB / 0.7986 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1856, allocations: 100.8 kB / 0.7987 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1856, allocations: 8 kB / 0.7987 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1858, allocations: 31.97 kB / 0.7987 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.1859, allocations: 43.88 kB / 0.7988 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1859, allocations: 8 kB / 0.7988 GB, free: 0 / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001051/0.186, allocations: 144.2 kB / 0.7989 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.186, allocations: 0 / 0.7989 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002748/0.1863, allocations: 67.84 kB / 0.799 GB, free: 15.79 MB / 0.6231 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.0006885/0.187, allocations: 0.9131 MB / 0.7999 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.1875, allocations: 252.3 kB / 0.8001 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1875, allocations: 4.312 kB / 0.8001 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.1877, allocations: 135.8 kB / 0.8003 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.188, allocations: 35.92 kB / 0.8003 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.1907, allocations: 2.658 MB / 0.8029 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.191, allocations: 0.7644 MB / 0.8036 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.909e-05/0.1911, allocations: 30.22 kB / 0.8037 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.1913, allocations: 83.41 kB / 0.8038 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.1913, allocations: 4 kB / 0.8038 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.2049, allocations: 4.959 MB / 0.8086 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/0.2051, allocations: 231.1 kB / 0.8088 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.815, allocations: 1.875 kB / 0.8088 GB, free: 5.734 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)