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.001146/0.001146, allocations: 100.1 kB / 15.88 MB, free: 12 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.001085/0.001085, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.462/1.462, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9409/0.9409, allocations: 135.1 MB / 425.8 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 64.92 kB / 0.5053 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1786, allocations: 80.93 MB / 0.5843 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.00295/0.1816, allocations: 1.468 MB / 0.5858 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1826, allocations: 0.518 MB / 0.5863 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.1827, allocations: 0 / 0.5863 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.984e-05/0.1828, allocations: 7.938 kB / 0.5863 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.1828, allocations: 7.969 kB / 0.5863 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007121/0.1836, allocations: 190.6 kB / 0.5865 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.1838, allocations: 139.8 kB / 0.5866 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.1838, allocations: 11.98 kB / 0.5866 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.1839, allocations: 51.78 kB / 0.5867 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.184, allocations: 39.89 kB / 0.5867 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.1841, allocations: 8 kB / 0.5867 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.1844, allocations: 167.8 kB / 0.5869 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.1844, allocations: 31.89 kB / 0.5869 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.1845, allocations: 47.73 kB / 0.587 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1848, allocations: 160 kB / 0.5871 GB, free: 2.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1848, allocations: 4 kB / 0.5871 GB, free: 2.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1848, allocations: 0 / 0.5871 GB, free: 2.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1848, allocations: 4 kB / 0.5871 GB, free: 2.145 MB / 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.0006358/0.1855, allocations: 451 kB / 0.5875 GB, free: 1.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1855, allocations: 8.031 kB / 0.5876 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.1856, allocations: 12.84 kB / 0.5876 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.1858, allocations: 212 kB / 0.5878 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1858, allocations: 4.375 kB / 0.5878 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.1859, allocations: 20.31 kB / 0.5878 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.186, allocations: 83.33 kB / 0.5879 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1861, allocations: 192 / 0.5879 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1861, allocations: 11.94 kB / 0.5879 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1861, allocations: 0 / 0.5879 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.1862, allocations: 35.98 kB / 0.5879 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.1864, allocations: 230.4 kB / 0.5881 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1866, allocations: 81.2 kB / 0.5882 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.1867, allocations: 57.84 kB / 0.5883 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.1867, allocations: 4 kB / 0.5883 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.1869, allocations: 108.9 kB / 0.5884 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.1869, allocations: 0 / 0.5884 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003846/0.1873, allocations: 197.3 kB / 0.5886 GB, free: 472 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1874, allocations: 85.11 kB / 0.5886 GB, free: 368 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1875, allocations: 152 kB / 0.5888 GB, free: 208 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.1876, allocations: 33.7 kB / 0.5888 GB, free: 168 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1876, allocations: 100.5 kB / 0.5889 GB, free: 60 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.1877, allocations: 39.55 kB / 0.589 GB, free: 20 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/0.1878, allocations: 45.7 kB / 0.589 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1879, allocations: 326.8 kB / 0.5893 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.188, allocations: 43.98 kB / 0.5894 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1882, allocations: 199.2 kB / 0.5895 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.1884, allocations: 101.7 kB / 0.5896 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1884, allocations: 0 / 0.5896 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002341/0.1886, allocations: 161.4 kB / 0.5898 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1886, allocations: 4 kB / 0.5898 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.1887, allocations: 4 kB / 0.5898 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1887, allocations: 0 / 0.5898 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.1888, allocations: 12 kB / 0.5898 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1888, allocations: 3.984 kB / 0.5898 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.189, allocations: 79.69 kB / 0.5899 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1891, allocations: 8 kB / 0.5899 GB, free: 14.97 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.0001284/0.1892, allocations: 137.9 kB / 0.59 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.1892, allocations: 11.84 kB / 0.59 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.1893, allocations: 12.72 kB / 0.5901 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1893, allocations: 0 / 0.5901 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1893, allocations: 7.938 kB / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1893, allocations: 0 / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.1895, allocations: 189.5 kB / 0.5902 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1895, allocations: 3.938 kB / 0.5903 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.1895, allocations: 11.94 kB / 0.5903 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1895, allocations: 0 / 0.5903 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1895, allocations: 4 kB / 0.5903 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1895, allocations: 8 kB / 0.5903 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1895, allocations: 3.938 kB / 0.5903 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1898, allocations: 173.8 kB / 0.5904 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.1898, allocations: 96.8 kB / 0.5905 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1899, allocations: 4 kB / 0.5905 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.1899, allocations: 0 / 0.5905 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.19, allocations: 15.98 kB / 0.5906 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.19, allocations: 8 kB / 0.5906 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.705e-05/0.1901, allocations: 112.8 kB / 0.5907 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1901, allocations: 0 / 0.5907 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003202/0.1904, allocations: 71.98 kB / 0.5907 GB, free: 14.01 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.0002609/0.1907, allocations: 164.8 kB / 0.5909 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.1909, allocations: 160.1 kB / 0.591 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1909, allocations: 3.938 kB / 0.5911 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.191, allocations: 51.92 kB / 0.5911 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.1912, allocations: 17.52 kB / 0.5911 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.1917, allocations: 274.9 kB / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.192, allocations: 0.7043 MB / 0.5921 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.192, allocations: 15.44 kB / 0.5921 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.192, allocations: 7.938 kB / 0.5921 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.004539/0.1966, allocations: 2.416 MB / 0.5945 GB, free: 10.15 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)