Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.000751/0.0007511, allocations: 93.66 kB / 16.02 MB, free: 84 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.0008868/0.0008869, allocations: 179.3 kB / 16.92 MB, free: 6.676 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.331/1.331, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.701/0.701, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004794, allocations: 9.25 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1788, allocations: 77.53 MB / 0.5599 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001564/0.1804, allocations: 1.13 MB / 0.5611 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009565/0.1814, allocations: 0.5023 MB / 0.5615 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.1815, allocations: 3.938 kB / 0.5615 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.074e-05/0.1816, allocations: 3.984 kB / 0.5616 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.1816, allocations: 11.92 kB / 0.5616 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.1823, allocations: 206.6 kB / 0.5618 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1825, allocations: 135.8 kB / 0.5619 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.1826, allocations: 4 kB / 0.5619 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.1826, allocations: 47.91 kB / 0.5619 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.1827, allocations: 43.81 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.1828, allocations: 4 kB / 0.562 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.183, allocations: 163.8 kB / 0.5621 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.1831, allocations: 31.91 kB / 0.5622 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.1832, allocations: 85.41 kB / 0.5623 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.1835, allocations: 223.7 kB / 0.5625 GB, free: 6.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1835, allocations: 3.938 kB / 0.5625 GB, free: 6.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1836, allocations: 0 / 0.5625 GB, free: 6.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1836, allocations: 0 / 0.5625 GB, free: 6.43 MB / 430.1 MB 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.0005216/0.1841, allocations: 419.2 kB / 0.5629 GB, free: 5.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1841, allocations: 8.031 kB / 0.5629 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.1842, allocations: 16.84 kB / 0.5629 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.1844, allocations: 206.2 kB / 0.5631 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1844, allocations: 12.38 kB / 0.5631 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1844, allocations: 8.375 kB / 0.5631 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1846, allocations: 83.89 kB / 0.5632 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1846, allocations: 4.125 kB / 0.5632 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1846, allocations: 3.938 kB / 0.5632 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1846, allocations: 0 / 0.5632 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.1847, allocations: 39.97 kB / 0.5632 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.185, allocations: 242.4 kB / 0.5635 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1851, allocations: 81.17 kB / 0.5635 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.1852, allocations: 53.81 kB / 0.5636 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.1852, allocations: 0 / 0.5636 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.1854, allocations: 120.9 kB / 0.5637 GB, free: 4.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.1854, allocations: 0 / 0.5637 GB, free: 4.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003271/0.1857, allocations: 182 kB / 0.5639 GB, free: 4.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1858, allocations: 89.03 kB / 0.564 GB, free: 4.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1859, allocations: 149.8 kB / 0.5641 GB, free: 4.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.186, allocations: 33.7 kB / 0.5641 GB, free: 4.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.1861, allocations: 104.5 kB / 0.5642 GB, free: 4.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.1861, allocations: 39.53 kB / 0.5643 GB, free: 4.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1861, allocations: 25.7 kB / 0.5643 GB, free: 4.301 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1863, allocations: 322.8 kB / 0.5646 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.1863, allocations: 39.98 kB / 0.5647 GB, free: 3.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.1865, allocations: 207.2 kB / 0.5648 GB, free: 3.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1867, allocations: 97.25 kB / 0.5649 GB, free: 3.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1867, allocations: 0 / 0.5649 GB, free: 3.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002321/0.1869, allocations: 161.5 kB / 0.5651 GB, free: 3.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.187, allocations: 4 kB / 0.5651 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.187, allocations: 8 kB / 0.5651 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.187, allocations: 3.984 kB / 0.5651 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.1871, allocations: 12 kB / 0.5651 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1871, allocations: 4.141 kB / 0.5651 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.1874, allocations: 91.73 kB / 0.5652 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1874, allocations: 8 kB / 0.5652 GB, free: 3.289 MB / 430.1 MB 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.0001923/0.1876, allocations: 129.8 kB / 0.5653 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.1877, allocations: 19.84 kB / 0.5654 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.1877, allocations: 16.7 kB / 0.5654 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1877, allocations: 0 / 0.5654 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1877, allocations: 0 / 0.5654 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1877, allocations: 0 / 0.5654 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1879, allocations: 197.5 kB / 0.5656 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1879, allocations: 3.938 kB / 0.5656 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.1879, allocations: 8 kB / 0.5656 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1879, allocations: 0 / 0.5656 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1879, allocations: 4 kB / 0.5656 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1879, allocations: 4 kB / 0.5656 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.188, allocations: 0 / 0.5656 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1882, allocations: 188.6 kB / 0.5658 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.1882, allocations: 100.8 kB / 0.5659 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.1883, allocations: 0 / 0.5659 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.1883, allocations: 7.938 kB / 0.5659 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.1884, allocations: 15.98 kB / 0.5659 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1884, allocations: 4 kB / 0.5659 GB, free: 2.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.095e-05/0.1884, allocations: 109.3 kB / 0.566 GB, free: 2.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1885, allocations: 0 / 0.566 GB, free: 2.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.1888, allocations: 72 kB / 0.5661 GB, free: 2.332 MB / 430.1 MB 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.0002359/0.189, allocations: 159.2 kB / 0.5662 GB, free: 2.168 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1893, allocations: 159.3 kB / 0.5664 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1893, allocations: 0 / 0.5664 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.901e-05/0.1894, allocations: 51.92 kB / 0.5664 GB, free: 1.949 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.1895, allocations: 7.938 kB / 0.5664 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.1899, allocations: 258.5 kB / 0.5667 GB, free: 1.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1902, allocations: 0.7011 MB / 0.5674 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.049e-05/0.1903, allocations: 8.859 kB / 0.5674 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.1903, allocations: 11.44 kB / 0.5674 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1903, allocations: 0 / 0.5674 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of Templates: time 0.00552/0.1958, allocations: 2.388 MB / 0.5697 GB, free: 14.55 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)