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.001048/0.001048, allocations: 101.5 kB / 16.41 MB, free: 6.465 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.001113/0.001113, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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 0.8587/0.8587, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 65.08 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1749, allocations: 82.05 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.00282/0.1777, allocations: 1.407 MB / 0.6777 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1788, allocations: 0.4905 MB / 0.6781 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.1789, allocations: 0 / 0.6781 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-05/0.179, allocations: 11.92 kB / 0.6781 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.1791, allocations: 15.81 kB / 0.6782 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.18, allocations: 230.6 kB / 0.6784 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1802, allocations: 143.8 kB / 0.6785 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.1803, allocations: 7.984 kB / 0.6785 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.347e-05/0.1804, allocations: 59.84 kB / 0.6786 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.1805, allocations: 39.83 kB / 0.6786 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.1805, allocations: 12 kB / 0.6786 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.1808, allocations: 167.8 kB / 0.6788 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.954e-05/0.1809, allocations: 35.91 kB / 0.6788 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.516e-05/0.181, allocations: 59.72 kB / 0.6789 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.1814, allocations: 239.4 kB / 0.6791 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1814, allocations: 0 / 0.6791 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.817e-06/0.1814, allocations: 0 / 0.6791 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.1814, allocations: 3.938 kB / 0.6791 GB, free: 7.418 MB / 0.5137 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.0006935/0.1821, allocations: 443 kB / 0.6795 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1822, allocations: 16.02 kB / 0.6796 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.1822, allocations: 12.84 kB / 0.6796 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1825, allocations: 209.8 kB / 0.6798 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1825, allocations: 8.375 kB / 0.6798 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1825, allocations: 8.375 kB / 0.6798 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1827, allocations: 83.89 kB / 0.6799 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1827, allocations: 4.125 kB / 0.6799 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1827, allocations: 7.922 kB / 0.6799 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1828, allocations: 7.984 kB / 0.6799 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.1828, allocations: 31.98 kB / 0.6799 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.1831, allocations: 238.5 kB / 0.6801 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1832, allocations: 77.19 kB / 0.6802 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.247e-05/0.1833, allocations: 53.81 kB / 0.6803 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1833, allocations: 4 kB / 0.6803 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.1836, allocations: 109.1 kB / 0.6804 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 3.427e-06/0.1836, allocations: 0 / 0.6804 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003584/0.184, allocations: 201.8 kB / 0.6806 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.184, allocations: 85.05 kB / 0.6806 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1842, allocations: 147.5 kB / 0.6808 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1842, allocations: 37.7 kB / 0.6808 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1843, allocations: 100.5 kB / 0.6809 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.1843, allocations: 39.55 kB / 0.681 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.1845, allocations: 53.69 kB / 0.681 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1846, allocations: 322.8 kB / 0.6813 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.1847, allocations: 39.98 kB / 0.6814 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1849, allocations: 195.4 kB / 0.6815 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1851, allocations: 101.5 kB / 0.6816 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1851, allocations: 0 / 0.6816 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002333/0.1853, allocations: 169.3 kB / 0.6818 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1853, allocations: 5.875 kB / 0.6818 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.1854, allocations: 11.94 kB / 0.6818 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1854, allocations: 3.938 kB / 0.6818 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.1855, allocations: 8 kB / 0.6818 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1855, allocations: 0 / 0.6818 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.1858, allocations: 76.88 kB / 0.6819 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1858, allocations: 7.984 kB / 0.6819 GB, free: 4.238 MB / 0.5137 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.0001187/0.1859, allocations: 134.4 kB / 0.682 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.1859, allocations: 11.84 kB / 0.682 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.186, allocations: 20.7 kB / 0.6821 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.186, allocations: 0 / 0.6821 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.186, allocations: 4 kB / 0.6821 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.186, allocations: 4 kB / 0.6821 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.1862, allocations: 193.6 kB / 0.6823 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1862, allocations: 3.938 kB / 0.6823 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.1862, allocations: 8 kB / 0.6823 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1862, allocations: 0 / 0.6823 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1862, allocations: 0 / 0.6823 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1862, allocations: 0 / 0.6823 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1863, allocations: 4 kB / 0.6823 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1865, allocations: 185.7 kB / 0.6824 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.1865, allocations: 96.88 kB / 0.6825 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1866, allocations: 11.98 kB / 0.6826 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.1866, allocations: 0 / 0.6826 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.1867, allocations: 7.984 kB / 0.6826 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1867, allocations: 4 kB / 0.6826 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.309e-05/0.1868, allocations: 120.9 kB / 0.6827 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1868, allocations: 0 / 0.6827 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000301/0.1871, allocations: 68 kB / 0.6827 GB, free: 3.277 MB / 0.5137 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.0002545/0.1873, allocations: 168.1 kB / 0.6829 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.1876, allocations: 167.3 kB / 0.6831 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1876, allocations: 0 / 0.6831 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.857e-05/0.1877, allocations: 47.92 kB / 0.6831 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.1879, allocations: 15.8 kB / 0.6831 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.1883, allocations: 253 kB / 0.6834 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1886, allocations: 0.7002 MB / 0.6841 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.1886, allocations: 15.44 kB / 0.6841 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.1886, allocations: 0 / 0.6841 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of Templates: time 0.004847/0.1935, allocations: 2.507 MB / 0.6865 GB, free: 15.36 MB / 0.5294 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)