Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001132/0.001132, allocations: 102.6 kB / 16.4 MB, free: 6.453 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.001083/0.001083, allocations: 189.5 kB / 17.34 MB, free: 5.746 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8026/0.8026, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 56.69 kB / 0.5862 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1812, allocations: 80.92 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002405/0.1837, allocations: 1.401 MB / 0.6666 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.1846, allocations: 0.4983 MB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.1846, allocations: 0 / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.39e-05/0.1847, allocations: 3.938 kB / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.1848, allocations: 15.86 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.1855, allocations: 234.8 kB / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1857, allocations: 151.7 kB / 0.6675 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.1858, allocations: 8 kB / 0.6675 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.1858, allocations: 51.91 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.1859, allocations: 47.81 kB / 0.6676 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.186, allocations: 8 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.1862, allocations: 167.8 kB / 0.6678 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.485e-05/0.1863, allocations: 31.91 kB / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.1864, allocations: 55.77 kB / 0.6679 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.1867, allocations: 239.5 kB / 0.6681 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1867, allocations: 0 / 0.6681 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.517e-06/0.1867, allocations: 0 / 0.6681 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.1867, allocations: 3.938 kB / 0.6681 GB, free: 2.934 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.0005994/0.1873, allocations: 454.9 kB / 0.6685 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1874, allocations: 9.109 kB / 0.6685 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.1874, allocations: 12.84 kB / 0.6685 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1877, allocations: 202.3 kB / 0.6687 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1877, allocations: 8.375 kB / 0.6687 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1877, allocations: 16.38 kB / 0.6688 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1879, allocations: 79.95 kB / 0.6688 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1879, allocations: 4.125 kB / 0.6688 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1879, allocations: 7.922 kB / 0.6689 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1879, allocations: 3.938 kB / 0.6689 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.188, allocations: 35.98 kB / 0.6689 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.1883, allocations: 238.4 kB / 0.6691 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1884, allocations: 85.19 kB / 0.6692 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.1885, allocations: 57.8 kB / 0.6693 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.1885, allocations: 0 / 0.6693 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.1887, allocations: 109.1 kB / 0.6694 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/0.1887, allocations: 0 / 0.6694 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003357/0.189, allocations: 193.3 kB / 0.6695 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.1891, allocations: 89.05 kB / 0.6696 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1892, allocations: 149.7 kB / 0.6698 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.1893, allocations: 37.7 kB / 0.6698 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.1894, allocations: 104.5 kB / 0.6699 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.1894, allocations: 31.55 kB / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.1895, allocations: 57.69 kB / 0.67 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1896, allocations: 326.8 kB / 0.6703 GB, free: 424 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.1897, allocations: 39.98 kB / 0.6703 GB, free: 384 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.1899, allocations: 197.3 kB / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1901, allocations: 97.58 kB / 0.6706 GB, free: 28 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1901, allocations: 0 / 0.6706 GB, free: 28 kB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00023/0.1903, allocations: 165.3 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1904, allocations: 4 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.1904, allocations: 7.938 kB / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1904, allocations: 0 / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.1905, allocations: 8 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1905, allocations: 8 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.1907, allocations: 67.84 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1908, allocations: 7.984 kB / 0.6709 GB, free: 15.76 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.0001162/0.1909, allocations: 137.7 kB / 0.671 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.1909, allocations: 15.75 kB / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.1909, allocations: 16.7 kB / 0.671 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1909, allocations: 7.938 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.191, allocations: 0 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.191, allocations: 0 / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1911, allocations: 193.6 kB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1911, allocations: 7.938 kB / 0.6712 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.1912, allocations: 8 kB / 0.6712 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1912, allocations: 0 / 0.6712 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1912, allocations: 4 kB / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1912, allocations: 0 / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1912, allocations: 0 / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1914, allocations: 181.7 kB / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1915, allocations: 100.8 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1915, allocations: 4 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.124e-05/0.1915, allocations: 8 kB / 0.6715 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.1916, allocations: 7.984 kB / 0.6715 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1916, allocations: 4 kB / 0.6715 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.278e-05/0.1917, allocations: 113.7 kB / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1917, allocations: 0 / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002709/0.192, allocations: 72 kB / 0.6717 GB, free: 14.8 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.0002352/0.1922, allocations: 168.5 kB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.1925, allocations: 167.9 kB / 0.672 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1925, allocations: 0 / 0.672 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.1925, allocations: 48.09 kB / 0.6721 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.1927, allocations: 13.97 kB / 0.6721 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.1931, allocations: 245.1 kB / 0.6723 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1934, allocations: 0.712 MB / 0.673 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.1934, allocations: 11.44 kB / 0.673 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1934, allocations: 0 / 0.673 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.004176/0.1976, allocations: 2.45 MB / 0.6754 GB, free: 10.93 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)