Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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: 100.4 kB / 20.45 MB, free: 1.254 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.001554/0.001554, allocations: 215.1 kB / 23.75 MB, free: 4.441 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 / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9426/0.9426, allocations: 149.9 MB / 463.8 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: IBPSA 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.002097/0.002097, allocations: 74.39 kB / 0.6423 GB, free: 9.691 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1808, allocations: 89.17 MB / 0.7294 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.003035/0.1838, allocations: 1.407 MB / 0.7307 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1849, allocations: 450.5 kB / 0.7312 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.1849, allocations: 3.938 kB / 0.7312 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.824e-05/0.185, allocations: 7.922 kB / 0.7312 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.153e-05/0.1851, allocations: 15.86 kB / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009217/0.186, allocations: 242.5 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.1863, allocations: 147.7 kB / 0.7316 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.1863, allocations: 4 kB / 0.7316 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1864, allocations: 55.91 kB / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.1865, allocations: 39.84 kB / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.1865, allocations: 11.98 kB / 0.7317 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.187, allocations: 187.8 kB / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.187, allocations: 39.89 kB / 0.7319 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.1871, allocations: 43.86 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.1875, allocations: 247.2 kB / 0.7322 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1875, allocations: 0 / 0.7322 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1875, allocations: 0 / 0.7322 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.1875, allocations: 0 / 0.7322 GB, free: 13.7 MB / 0.5606 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.0006368/0.1882, allocations: 373.5 kB / 0.7325 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1882, allocations: 12.03 kB / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.1883, allocations: 16.84 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1885, allocations: 148.8 kB / 0.7327 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1885, allocations: 8.375 kB / 0.7327 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.1886, allocations: 12.38 kB / 0.7327 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.1888, allocations: 99.86 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1888, allocations: 192 / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1888, allocations: 3.938 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1888, allocations: 0 / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.1889, allocations: 35.98 kB / 0.7328 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.1891, allocations: 158.2 kB / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.1892, allocations: 77.19 kB / 0.7331 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.1893, allocations: 45.81 kB / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.1893, allocations: 4 kB / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.1896, allocations: 113 kB / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.193e-06/0.1896, allocations: 4 kB / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0004666/0.19, allocations: 193.4 kB / 0.7334 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.1901, allocations: 89.09 kB / 0.7335 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1903, allocations: 141.8 kB / 0.7336 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.1903, allocations: 37.7 kB / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.1904, allocations: 100.5 kB / 0.7338 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.1904, allocations: 39.7 kB / 0.7338 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.1905, allocations: 53.62 kB / 0.7338 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1907, allocations: 326.8 kB / 0.7342 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.1908, allocations: 39.98 kB / 0.7342 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.1913, allocations: 0.6032 MB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.1914, allocations: 103.2 kB / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1914, allocations: 0 / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002654/0.1917, allocations: 168.4 kB / 0.735 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1917, allocations: 9.969 kB / 0.7351 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.1918, allocations: 4 kB / 0.7351 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1918, allocations: 0 / 0.7351 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.1919, allocations: 11.98 kB / 0.7351 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1919, allocations: 0 / 0.7351 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.1921, allocations: 79.8 kB / 0.7351 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1922, allocations: 4 kB / 0.7351 GB, free: 10.28 MB / 0.5606 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.0001417/0.1923, allocations: 137.7 kB / 0.7353 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1923, allocations: 11.89 kB / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.1924, allocations: 16.72 kB / 0.7353 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1924, allocations: 4 kB / 0.7353 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1924, allocations: 0 / 0.7353 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1924, allocations: 0 / 0.7353 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.1925, allocations: 133.3 kB / 0.7354 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1925, allocations: 0 / 0.7354 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.1926, allocations: 7.984 kB / 0.7354 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1926, allocations: 4 kB / 0.7354 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1926, allocations: 7.922 kB / 0.7355 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1926, allocations: 0 / 0.7355 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1926, allocations: 0.625 kB / 0.7355 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1928, allocations: 181.8 kB / 0.7356 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.1929, allocations: 11.91 kB / 0.7356 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1929, allocations: 11.94 kB / 0.7357 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.1929, allocations: 4 kB / 0.7357 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.193, allocations: 7.984 kB / 0.7357 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.193, allocations: 0 / 0.7357 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.206e-05/0.1931, allocations: 117.3 kB / 0.7358 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1931, allocations: 0 / 0.7358 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000324/0.1934, allocations: 79.8 kB / 0.7359 GB, free: 9.492 MB / 0.5606 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.0002924/0.1937, allocations: 171.6 kB / 0.736 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.194, allocations: 159.4 kB / 0.7362 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.194, allocations: 0 / 0.7362 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.194, allocations: 39.92 kB / 0.7362 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.1942, allocations: 8 kB / 0.7362 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.1947, allocations: 256.9 kB / 0.7365 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.1948, allocations: 92.98 kB / 0.7365 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.1949, allocations: 15.44 kB / 0.7366 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.1949, allocations: 3.938 kB / 0.7366 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.00499/0.1999, allocations: 2.476 MB / 0.739 GB, free: 6.23 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.281653036829084] Failed to read output from testmodel.py, exit status != 0: 0.20923374593257904 0.22530049200000002 0.034353742 Calling exit ...