Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007481/0.007481, allocations: 100.2 kB / 15.87 MB, free: 5.867 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.001307/0.001307, allocations: 193 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.01/1.01, allocations: 143 MB / 433.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.5141 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 82.04 MB / 0.5943 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.00288/0.1785, allocations: 1.474 MB / 0.5957 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.1795, allocations: 0.5179 MB / 0.5962 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.1795, allocations: 0 / 0.5962 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.001e-05/0.1796, allocations: 4 kB / 0.5962 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.186e-05/0.1797, allocations: 11.86 kB / 0.5962 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.1803, allocations: 197.9 kB / 0.5964 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1805, allocations: 147.7 kB / 0.5965 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.1806, allocations: 0 / 0.5965 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.1806, allocations: 55.89 kB / 0.5966 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.509e-05/0.1807, allocations: 31.84 kB / 0.5966 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1808, allocations: 8 kB / 0.5966 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.181, allocations: 163.8 kB / 0.5968 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.1811, allocations: 39.83 kB / 0.5968 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.1812, allocations: 47.78 kB / 0.5969 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.1814, allocations: 171.9 kB / 0.597 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.1814, allocations: 0 / 0.597 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1814, allocations: 4 kB / 0.597 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.1815, allocations: 0 / 0.597 GB, free: 7.16 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005959/0.1821, allocations: 449.1 kB / 0.5975 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1821, allocations: 8.031 kB / 0.5975 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.1822, allocations: 12.84 kB / 0.5975 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1824, allocations: 208.1 kB / 0.5977 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1824, allocations: 4.375 kB / 0.5977 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1824, allocations: 20.38 kB / 0.5977 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1826, allocations: 83.83 kB / 0.5978 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1826, allocations: 192 / 0.5978 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1826, allocations: 7.938 kB / 0.5978 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1826, allocations: 0 / 0.5978 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.1827, allocations: 39.97 kB / 0.5978 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.183, allocations: 222.5 kB / 0.598 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1831, allocations: 93.17 kB / 0.5981 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.1832, allocations: 49.81 kB / 0.5982 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1832, allocations: 7.938 kB / 0.5982 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.1835, allocations: 109 kB / 0.5983 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.1835, allocations: 0 / 0.5983 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003543/0.1838, allocations: 189.4 kB / 0.5985 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.1839, allocations: 93.03 kB / 0.5986 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.184, allocations: 148.6 kB / 0.5987 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1841, allocations: 33.7 kB / 0.5987 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.1841, allocations: 96.52 kB / 0.5988 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.1842, allocations: 43.53 kB / 0.5989 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.1843, allocations: 49.7 kB / 0.5989 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1844, allocations: 330.8 kB / 0.5992 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.1845, allocations: 39.98 kB / 0.5993 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1847, allocations: 201 kB / 0.5995 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1848, allocations: 97.58 kB / 0.5996 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1849, allocations: 7.938 kB / 0.5996 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002403/0.1851, allocations: 161.3 kB / 0.5997 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1851, allocations: 4 kB / 0.5997 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.1852, allocations: 8 kB / 0.5997 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1852, allocations: 7.984 kB / 0.5997 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.1853, allocations: 12 kB / 0.5998 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1853, allocations: 0 / 0.5998 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.1855, allocations: 75.75 kB / 0.5998 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1856, allocations: 8 kB / 0.5998 GB, free: 3.984 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001283/0.1857, allocations: 133.8 kB / 0.6 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.1857, allocations: 11.94 kB / 0.6 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.1858, allocations: 16.7 kB / 0.6 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1858, allocations: 0 / 0.6 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1858, allocations: 7.984 kB / 0.6 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1858, allocations: 0 / 0.6 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1859, allocations: 193.5 kB / 0.6002 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1859, allocations: 3.938 kB / 0.6002 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.186, allocations: 15.98 kB / 0.6002 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.186, allocations: 0 / 0.6002 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.186, allocations: 0 / 0.6002 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.186, allocations: 4 kB / 0.6002 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.186, allocations: 0 / 0.6002 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1862, allocations: 177 kB / 0.6004 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.1863, allocations: 92.89 kB / 0.6005 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1863, allocations: 8 kB / 0.6005 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.1864, allocations: 7.984 kB / 0.6005 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.1864, allocations: 4 kB / 0.6005 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.1864, allocations: 4 kB / 0.6005 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.1865, allocations: 119.1 kB / 0.6006 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1865, allocations: 0 / 0.6006 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003082/0.1868, allocations: 75.98 kB / 0.6007 GB, free: 3.027 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002543/0.1871, allocations: 163.2 kB / 0.6008 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.1874, allocations: 164 kB / 0.601 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1874, allocations: 0 / 0.601 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.1875, allocations: 43.92 kB / 0.601 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.1876, allocations: 15.88 kB / 0.601 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.1881, allocations: 278.8 kB / 0.6013 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1884, allocations: 0.7082 MB / 0.602 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.1884, allocations: 15.44 kB / 0.602 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.375e-06/0.1884, allocations: 0 / 0.602 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.2738/0.4623, allocations: 2.48 MB / 0.6044 GB, free: 43.2 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)