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.00141/0.00141, allocations: 105 kB / 20.44 MB, free: 1.504 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.001706/0.001706, allocations: 207.7 kB / 23.75 MB, free: 4.727 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.9593/0.9593, allocations: 150 MB / 463.9 MB, free: 10.52 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.00207/0.00207, allocations: 62.34 kB / 0.6425 GB, free: 9.961 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1877, allocations: 89.17 MB / 0.7295 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.003039/0.1908, allocations: 1.437 MB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1918, allocations: 0.4905 MB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.1918, allocations: 0 / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.276e-05/0.1919, allocations: 7.922 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.192, allocations: 11.88 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.1928, allocations: 242.7 kB / 0.7317 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.193, allocations: 151.7 kB / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.1931, allocations: 4 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.1931, allocations: 59.89 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.1932, allocations: 39.84 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.1933, allocations: 12 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.1936, allocations: 199.8 kB / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.1937, allocations: 35.91 kB / 0.7322 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.1938, allocations: 55.78 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1941, allocations: 243.2 kB / 0.7324 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1941, allocations: 0 / 0.7324 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1941, allocations: 0 / 0.7324 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.1941, allocations: 3.938 kB / 0.7324 GB, free: 13.87 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.0006069/0.1947, allocations: 373.6 kB / 0.7328 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1948, allocations: 8.031 kB / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.1948, allocations: 16.84 kB / 0.7328 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.195, allocations: 150.4 kB / 0.733 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1951, allocations: 12.38 kB / 0.733 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.1951, allocations: 8.375 kB / 0.733 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1953, allocations: 79.95 kB / 0.7331 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1953, allocations: 4.125 kB / 0.7331 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1953, allocations: 3.938 kB / 0.7331 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1953, allocations: 4 kB / 0.7331 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.1954, allocations: 35.97 kB / 0.7331 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.1956, allocations: 205.6 kB / 0.7333 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.1958, allocations: 73.19 kB / 0.7334 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.1959, allocations: 49.81 kB / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.1959, allocations: 0 / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.1961, allocations: 117 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.1961, allocations: 3.938 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003632/0.1965, allocations: 197.4 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.1965, allocations: 89.05 kB / 0.7338 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1967, allocations: 148 kB / 0.734 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.1967, allocations: 33.7 kB / 0.734 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.1968, allocations: 100.5 kB / 0.7341 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.1969, allocations: 43.67 kB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.1969, allocations: 61.62 kB / 0.7342 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1971, allocations: 322.8 kB / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.1972, allocations: 43.98 kB / 0.7345 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.1974, allocations: 196 kB / 0.7347 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1976, allocations: 97.58 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1976, allocations: 0 / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00024/0.1978, allocations: 160.6 kB / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1978, allocations: 8 kB / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.1978, allocations: 11.86 kB / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1979, allocations: 8 kB / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.1979, allocations: 4 kB / 0.735 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1979, allocations: 4 kB / 0.735 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.1982, allocations: 74.86 kB / 0.7351 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1982, allocations: 4 kB / 0.7351 GB, free: 10.89 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.0001239/0.1984, allocations: 137.7 kB / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.1984, allocations: 15.89 kB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.1984, allocations: 20.7 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1984, allocations: 0 / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1984, allocations: 0 / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1984, allocations: 0 / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.1986, allocations: 168.7 kB / 0.7354 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1986, allocations: 3.938 kB / 0.7354 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1986, allocations: 7.984 kB / 0.7354 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1986, allocations: 4 kB / 0.7354 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1986, allocations: 0 / 0.7354 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1986, allocations: 0 / 0.7354 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1986, allocations: 0 / 0.7354 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1989, allocations: 181.8 kB / 0.7356 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.1989, allocations: 15.84 kB / 0.7356 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1989, allocations: 4 kB / 0.7356 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.199, allocations: 7.984 kB / 0.7356 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.199, allocations: 4 kB / 0.7356 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.199, allocations: 3.984 kB / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.444e-05/0.1991, allocations: 117 kB / 0.7357 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1991, allocations: 0 / 0.7357 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002927/0.1994, allocations: 79.75 kB / 0.7358 GB, free: 10.06 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.0002702/0.1997, allocations: 171.6 kB / 0.736 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1999, allocations: 152 kB / 0.7361 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1999, allocations: 4 kB / 0.7361 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.685e-05/0.2, allocations: 39.92 kB / 0.7362 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.2001, allocations: 10.59 kB / 0.7362 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.2006, allocations: 265 kB / 0.7364 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.2009, allocations: 0.7041 MB / 0.7371 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.201, allocations: 11.44 kB / 0.7371 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.201, allocations: 0 / 0.7371 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of Templates: time 0.004699/0.2057, allocations: 2.456 MB / 0.7395 GB, free: 6.203 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.177639305824414] Failed to read output from testmodel.py, exit status != 0: 0.21393699198961258 0.22824945400000002 0.031037115 Calling exit ...