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.0009672/0.0009673, allocations: 99.58 kB / 16.02 MB, free: 76 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.001303/0.001303, allocations: 181.6 kB / 16.92 MB, free: 6.918 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.34 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.056/1.056, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 12 kB / 0.5171 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1742, allocations: 83.4 MB / 0.5985 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001887/0.1761, allocations: 1.124 MB / 0.5996 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1772, allocations: 0.5219 MB / 0.6001 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.1773, allocations: 0 / 0.6001 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.776e-05/0.1774, allocations: 4 kB / 0.6001 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.1774, allocations: 11.92 kB / 0.6001 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.1782, allocations: 194.5 kB / 0.6003 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1784, allocations: 139.8 kB / 0.6004 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.1785, allocations: 8 kB / 0.6004 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.118e-05/0.1786, allocations: 59.83 kB / 0.6005 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.1787, allocations: 35.84 kB / 0.6005 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1787, allocations: 8 kB / 0.6005 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.179, allocations: 163.8 kB / 0.6007 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.1791, allocations: 35.89 kB / 0.6007 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1792, allocations: 77.42 kB / 0.6008 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.1796, allocations: 156 kB / 0.601 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1796, allocations: 0 / 0.601 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1796, allocations: 4 kB / 0.601 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1796, allocations: 4 kB / 0.601 GB, free: 5.156 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.0005865/0.1802, allocations: 423.1 kB / 0.6014 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1802, allocations: 12.03 kB / 0.6014 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.1803, allocations: 12.84 kB / 0.6014 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1805, allocations: 208.1 kB / 0.6016 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1806, allocations: 4.375 kB / 0.6016 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.1806, allocations: 12.38 kB / 0.6016 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1808, allocations: 91.88 kB / 0.6017 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1808, allocations: 4.188 kB / 0.6017 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1808, allocations: 3.938 kB / 0.6017 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1808, allocations: 4 kB / 0.6017 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.1809, allocations: 31.98 kB / 0.6017 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.1812, allocations: 234.4 kB / 0.602 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1813, allocations: 85.14 kB / 0.602 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.1814, allocations: 57.84 kB / 0.6021 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1814, allocations: 7.984 kB / 0.6021 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.1817, allocations: 101 kB / 0.6022 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.933e-06/0.1817, allocations: 4 kB / 0.6022 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003898/0.1821, allocations: 197.3 kB / 0.6024 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1821, allocations: 85.11 kB / 0.6025 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1823, allocations: 148.7 kB / 0.6026 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.1824, allocations: 37.7 kB / 0.6026 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.1824, allocations: 100.5 kB / 0.6027 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.1825, allocations: 39.45 kB / 0.6028 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.1825, allocations: 21.72 kB / 0.6028 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1827, allocations: 330.8 kB / 0.6031 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.1827, allocations: 39.98 kB / 0.6032 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.1829, allocations: 208.7 kB / 0.6034 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.1831, allocations: 89.7 kB / 0.6034 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1831, allocations: 0 / 0.6034 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002261/0.1833, allocations: 169.3 kB / 0.6036 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1834, allocations: 4 kB / 0.6036 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.1834, allocations: 7.984 kB / 0.6036 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1834, allocations: 0 / 0.6036 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.1835, allocations: 11.94 kB / 0.6036 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1835, allocations: 0 / 0.6036 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.1839, allocations: 95.75 kB / 0.6037 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1839, allocations: 4 kB / 0.6037 GB, free: 2.012 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.0001157/0.184, allocations: 133.8 kB / 0.6038 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.184, allocations: 11.84 kB / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.1841, allocations: 20.66 kB / 0.6039 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1841, allocations: 0 / 0.6039 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1841, allocations: 11.98 kB / 0.6039 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1841, allocations: 0 / 0.6039 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1843, allocations: 189.5 kB / 0.6041 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1843, allocations: 3.938 kB / 0.6041 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.1843, allocations: 11.98 kB / 0.6041 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1843, allocations: 0 / 0.6041 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1843, allocations: 0 / 0.6041 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.1843, allocations: 4 kB / 0.6041 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1843, allocations: 0 / 0.6041 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1846, allocations: 179.9 kB / 0.6043 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.1846, allocations: 96.8 kB / 0.6044 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1847, allocations: 8 kB / 0.6044 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/0.1847, allocations: 7.984 kB / 0.6044 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.1848, allocations: 0 / 0.6044 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.1848, allocations: 4 kB / 0.6044 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.834e-05/0.1849, allocations: 121.8 kB / 0.6045 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1849, allocations: 0 / 0.6045 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003107/0.1852, allocations: 75.98 kB / 0.6046 GB, free: 1.051 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.0002695/0.1855, allocations: 167.2 kB / 0.6047 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.1857, allocations: 163.2 kB / 0.6049 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1857, allocations: 0 / 0.6049 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/0.1858, allocations: 47.92 kB / 0.6049 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.186, allocations: 7.938 kB / 0.6049 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.1865, allocations: 280.3 kB / 0.6052 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2673/0.4538, allocations: 0.6985 MB / 0.6059 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.4539, allocations: 13.7 kB / 0.6059 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.454, allocations: 0.9375 kB / 0.6059 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.004479/0.4584, allocations: 2.467 MB / 0.6083 GB, free: 40.22 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)