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.001313/0.001313, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001504/0.001504, allocations: 209 kB / 22.99 MB, free: 4.977 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9673/0.9673, allocations: 149.9 MB / 463 MB, free: 10.32 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.00214/0.00214, allocations: 68.36 kB / 0.6415 GB, free: 9.621 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2104, allocations: 89.16 MB / 0.7286 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002819/0.2132, allocations: 1.408 MB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.2141, allocations: 459.6 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.2141, allocations: 0 / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.229e-05/0.2142, allocations: 3.938 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.2143, allocations: 19.84 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007887/0.2151, allocations: 234.4 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.2153, allocations: 155.7 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.2154, allocations: 4 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.2155, allocations: 55.91 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.2156, allocations: 43.81 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.2156, allocations: 12 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.2159, allocations: 179.8 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.216, allocations: 43.89 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.875e-05/0.216, allocations: 39.86 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.2164, allocations: 239.2 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2164, allocations: 0 / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2164, allocations: 4 kB / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2164, allocations: 4 kB / 0.7314 GB, free: 13.65 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.0006344/0.217, allocations: 381.5 kB / 0.7318 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2171, allocations: 8.031 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.2171, allocations: 16.84 kB / 0.7318 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.2175, allocations: 150.3 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2175, allocations: 12.38 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.2175, allocations: 12.38 kB / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.2177, allocations: 88.86 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2177, allocations: 192 / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2177, allocations: 7.938 kB / 0.7321 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.2177, allocations: 0 / 0.7321 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.2178, allocations: 35.98 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.2181, allocations: 158.2 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.2182, allocations: 73.19 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.2183, allocations: 49.81 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2183, allocations: 7.984 kB / 0.7324 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.2186, allocations: 105 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.2186, allocations: 0 / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0004018/0.219, allocations: 201.3 kB / 0.7327 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.219, allocations: 85.11 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2192, allocations: 151.2 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.2192, allocations: 33.7 kB / 0.7329 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.2193, allocations: 100.5 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.2194, allocations: 43.62 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.2194, allocations: 49.7 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2196, allocations: 326.8 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.2197, allocations: 39.98 kB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.2202, allocations: 0.6051 MB / 0.734 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.2204, allocations: 96.27 kB / 0.7341 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2204, allocations: 4 kB / 0.7341 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002424/0.2206, allocations: 161.5 kB / 0.7343 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2206, allocations: 9.969 kB / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.2206, allocations: 4 kB / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2207, allocations: 0 / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.2207, allocations: 11.98 kB / 0.7343 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2207, allocations: 0 / 0.7343 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.221, allocations: 75.86 kB / 0.7344 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.221, allocations: 7.938 kB / 0.7344 GB, free: 10.22 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.0001314/0.2212, allocations: 133.8 kB / 0.7345 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.2212, allocations: 11.89 kB / 0.7345 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.2212, allocations: 16.81 kB / 0.7345 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2212, allocations: 7.984 kB / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2213, allocations: 4 kB / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2213, allocations: 0 / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.2214, allocations: 133.2 kB / 0.7347 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2214, allocations: 0 / 0.7347 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.2215, allocations: 11.98 kB / 0.7347 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2215, allocations: 0 / 0.7347 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.2215, allocations: 3.938 kB / 0.7347 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.2215, allocations: 4 kB / 0.7347 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2215, allocations: 0 / 0.7347 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.2218, allocations: 181.8 kB / 0.7349 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.2218, allocations: 11.91 kB / 0.7349 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.2218, allocations: 11.94 kB / 0.7349 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.2218, allocations: 3.984 kB / 0.7349 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.2219, allocations: 8 kB / 0.7349 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2219, allocations: 4 kB / 0.7349 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.81e-05/0.222, allocations: 113.3 kB / 0.735 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.222, allocations: 0 / 0.735 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003072/0.2223, allocations: 75.8 kB / 0.7351 GB, free: 9.438 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.000272/0.2226, allocations: 168.5 kB / 0.7353 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.2229, allocations: 163.3 kB / 0.7354 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2229, allocations: 0 / 0.7354 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.223, allocations: 39.92 kB / 0.7354 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.2231, allocations: 11.77 kB / 0.7355 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.2236, allocations: 232.2 kB / 0.7357 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.2237, allocations: 92.98 kB / 0.7358 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.2237, allocations: 4.672 kB / 0.7358 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.2237, allocations: 19.42 kB / 0.7358 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2237, allocations: 0 / 0.7358 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of Templates: time 0.006447/0.2302, allocations: 2.773 MB / 0.7385 GB, free: 5.938 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: 6.060192400589585] Failed to read output from testmodel.py, exit status != 0: 0.23910672776401043 0.25410839700000004 0.034457771000000005 Calling exit ...