Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 209.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8843/0.8843, allocations: 134 MB / 446.4 MB, free: 9.91 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 67.34 kB / 0.6189 GB, free: 6.395 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1774, allocations: 85.91 MB / 0.7028 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002806/0.1802, allocations: 1.416 MB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.1812, allocations: 482.3 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.1813, allocations: 0 / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.328e-05/0.1813, allocations: 7.938 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.1814, allocations: 7.922 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.1822, allocations: 250.2 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1825, allocations: 143.7 kB / 0.7051 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.1826, allocations: 7.984 kB / 0.7051 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1827, allocations: 59.91 kB / 0.7051 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1828, allocations: 43.83 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.1828, allocations: 8 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.1832, allocations: 187.8 kB / 0.7054 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.1833, allocations: 31.91 kB / 0.7054 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.394e-05/0.1834, allocations: 47.78 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.1838, allocations: 239.3 kB / 0.7057 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1838, allocations: 0 / 0.7057 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1838, allocations: 0 / 0.7057 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1838, allocations: 4 kB / 0.7057 GB, free: 13.66 MB / 0.5294 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.0006699/0.1845, allocations: 373.6 kB / 0.706 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1845, allocations: 12.02 kB / 0.706 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.1846, allocations: 12.89 kB / 0.706 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1848, allocations: 154.3 kB / 0.7062 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1849, allocations: 4.375 kB / 0.7062 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.1849, allocations: 16.36 kB / 0.7062 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1851, allocations: 79.95 kB / 0.7063 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1851, allocations: 192 / 0.7063 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1851, allocations: 7.938 kB / 0.7063 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1851, allocations: 4 kB / 0.7063 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.1852, allocations: 39.91 kB / 0.7063 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.1854, allocations: 162.2 kB / 0.7065 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1856, allocations: 77.23 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.19e-05/0.1857, allocations: 49.75 kB / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1857, allocations: 0 / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.1859, allocations: 113.1 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1859, allocations: 0 / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0004183/0.1864, allocations: 185.5 kB / 0.7069 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.1864, allocations: 97.03 kB / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1866, allocations: 152.2 kB / 0.7071 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.1866, allocations: 33.7 kB / 0.7072 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.1867, allocations: 104.5 kB / 0.7073 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.1868, allocations: 39.72 kB / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.552e-05/0.1869, allocations: 49.7 kB / 0.7074 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.187, allocations: 322.8 kB / 0.7077 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.1871, allocations: 47.91 kB / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.1876, allocations: 0.5995 MB / 0.7083 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.1878, allocations: 97.58 kB / 0.7084 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1878, allocations: 0 / 0.7084 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002702/0.1881, allocations: 160.6 kB / 0.7085 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1881, allocations: 15.92 kB / 0.7086 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.1881, allocations: 4 kB / 0.7086 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1881, allocations: 0 / 0.7086 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.1882, allocations: 15.94 kB / 0.7086 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1882, allocations: 4 kB / 0.7086 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.1885, allocations: 75.8 kB / 0.7086 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1886, allocations: 4 kB / 0.7087 GB, free: 10.23 MB / 0.5294 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.0001557/0.1887, allocations: 133.8 kB / 0.7088 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1887, allocations: 11.89 kB / 0.7088 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.1888, allocations: 16.7 kB / 0.7088 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1888, allocations: 0 / 0.7088 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1888, allocations: 4 kB / 0.7088 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1888, allocations: 8.078 kB / 0.7088 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1889, allocations: 133.2 kB / 0.7089 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1889, allocations: 4 kB / 0.709 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.189, allocations: 7.938 kB / 0.709 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.189, allocations: 0 / 0.709 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.189, allocations: 7.938 kB / 0.709 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.189, allocations: 0 / 0.709 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.189, allocations: 0 / 0.709 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.1893, allocations: 173.9 kB / 0.7091 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.1893, allocations: 15.89 kB / 0.7091 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.1893, allocations: 11.94 kB / 0.7092 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.1894, allocations: 4 kB / 0.7092 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1894, allocations: 7.922 kB / 0.7092 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1894, allocations: 7.938 kB / 0.7092 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000109/0.1895, allocations: 117.3 kB / 0.7093 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1895, allocations: 0 / 0.7093 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003456/0.1899, allocations: 71.81 kB / 0.7094 GB, free: 9.449 MB / 0.5294 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.0002714/0.1901, allocations: 160.8 kB / 0.7095 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.1904, allocations: 163.2 kB / 0.7097 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1904, allocations: 4 kB / 0.7097 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.1905, allocations: 43.97 kB / 0.7097 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.1907, allocations: 4 kB / 0.7097 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.1912, allocations: 223.3 kB / 0.7099 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.1913, allocations: 92.84 kB / 0.71 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.1913, allocations: 12.66 kB / 0.71 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1913, allocations: 15.44 kB / 0.71 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1913, allocations: 4 kB / 0.71 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of Templates: time 0.006473/0.1978, allocations: 2.756 MB / 0.7127 GB, free: 5.969 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.853072734549642] Failed to read output from testmodel.py, exit status != 0: 0.2052129004150629 0.220904708 0.033928678000000004 Calling exit ...