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.0007631/0.0007633, allocations: 97.78 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.0008692/0.0008692, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9464/0.9464, allocations: 135.3 MB / 427.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 8 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1734, allocations: 82.31 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001576/0.175, allocations: 1.129 MB / 0.5897 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.1759, allocations: 0.5063 MB / 0.5902 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.1759, allocations: 4 kB / 0.5902 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.328e-05/0.176, allocations: 3.984 kB / 0.5902 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.431e-05/0.1761, allocations: 11.92 kB / 0.5902 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.1767, allocations: 194.1 kB / 0.5904 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.1769, allocations: 131.8 kB / 0.5905 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.177, allocations: 11.98 kB / 0.5906 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.177, allocations: 51.84 kB / 0.5906 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.1771, allocations: 47.88 kB / 0.5906 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1772, allocations: 4 kB / 0.5906 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.1774, allocations: 163.8 kB / 0.5908 GB, free: 392 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.1775, allocations: 35.89 kB / 0.5908 GB, free: 356 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.1776, allocations: 77.42 kB / 0.5909 GB, free: 272 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1778, allocations: 164 kB / 0.5911 GB, free: 108 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1778, allocations: 0 / 0.5911 GB, free: 108 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1778, allocations: 0 / 0.5911 GB, free: 108 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1778, allocations: 0 / 0.5911 GB, free: 108 kB / 494.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.0005475/0.1784, allocations: 423.1 kB / 0.5915 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1784, allocations: 8.031 kB / 0.5915 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.1785, allocations: 16.75 kB / 0.5915 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1787, allocations: 206.4 kB / 0.5917 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1787, allocations: 12.36 kB / 0.5917 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1788, allocations: 12.38 kB / 0.5917 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1789, allocations: 87.89 kB / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1789, allocations: 192 / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.179, allocations: 3.938 kB / 0.5918 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.179, allocations: 0 / 0.5918 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.1791, allocations: 35.98 kB / 0.5918 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.1793, allocations: 234.4 kB / 0.5921 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1794, allocations: 85.17 kB / 0.5921 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-05/0.1795, allocations: 57.81 kB / 0.5922 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.1795, allocations: 0 / 0.5922 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.1797, allocations: 113 kB / 0.5923 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.1798, allocations: 0 / 0.5923 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003436/0.1801, allocations: 189.4 kB / 0.5925 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.1802, allocations: 89.09 kB / 0.5926 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1803, allocations: 145.8 kB / 0.5927 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.1803, allocations: 37.69 kB / 0.5927 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.1804, allocations: 100.5 kB / 0.5928 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.1805, allocations: 35.45 kB / 0.5929 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1805, allocations: 29.64 kB / 0.5929 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1806, allocations: 322.8 kB / 0.5932 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.1807, allocations: 43.98 kB / 0.5933 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1809, allocations: 205.2 kB / 0.5935 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1811, allocations: 97.69 kB / 0.5935 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1811, allocations: 0 / 0.5935 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002291/0.1813, allocations: 159.4 kB / 0.5937 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1814, allocations: 7.984 kB / 0.5937 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.1814, allocations: 4 kB / 0.5937 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1814, allocations: 0 / 0.5937 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.1815, allocations: 8 kB / 0.5937 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1815, allocations: 0 / 0.5937 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.1818, allocations: 91.75 kB / 0.5938 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1818, allocations: 8 kB / 0.5938 GB, free: 12.98 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.0001269/0.182, allocations: 141.8 kB / 0.5939 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.182, allocations: 19.75 kB / 0.594 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.182, allocations: 12.7 kB / 0.594 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.182, allocations: 4 kB / 0.594 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1821, allocations: 3.938 kB / 0.594 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1821, allocations: 4 kB / 0.594 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.1822, allocations: 185.6 kB / 0.5942 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1822, allocations: 11.94 kB / 0.5942 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.1823, allocations: 4 kB / 0.5942 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1823, allocations: 0 / 0.5942 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1823, allocations: 8 kB / 0.5942 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1823, allocations: 0 / 0.5942 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1823, allocations: 0 / 0.5942 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.1825, allocations: 181.3 kB / 0.5944 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.1826, allocations: 100.8 kB / 0.5945 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1826, allocations: 3.984 kB / 0.5945 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.1827, allocations: 4 kB / 0.5945 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1827, allocations: 4 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1827, allocations: 7.984 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.992e-05/0.1828, allocations: 113.1 kB / 0.5946 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1828, allocations: 0 / 0.5946 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003082/0.1831, allocations: 72 kB / 0.5947 GB, free: 12.02 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.0002494/0.1834, allocations: 167.2 kB / 0.5948 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1836, allocations: 164.2 kB / 0.595 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1837, allocations: 3.938 kB / 0.595 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.1837, allocations: 47.92 kB / 0.595 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.1839, allocations: 11.45 kB / 0.595 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.1844, allocations: 280.2 kB / 0.5953 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1847, allocations: 0.7043 MB / 0.596 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.1847, allocations: 11.44 kB / 0.596 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1847, allocations: 0 / 0.596 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.004377/0.1891, allocations: 2.408 MB / 0.5983 GB, free: 8.164 MB / 0.4981 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)