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.00139/0.00139, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001491/0.001491, allocations: 211.6 kB / 22.99 MB, free: 4.605 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9746/0.9746, allocations: 149.9 MB / 463 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: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [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.003378/0.003378, allocations: 67.91 kB / 0.641 GB, free: 10.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2061, allocations: 89.18 MB / 0.7281 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.003235/0.2093, allocations: 1.408 MB / 0.7295 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.2104, allocations: 446.5 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.2104, allocations: 0 / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.268e-05/0.2105, allocations: 15.86 kB / 0.73 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.195e-05/0.2106, allocations: 7.938 kB / 0.73 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000807/0.2114, allocations: 239.2 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.2116, allocations: 155.6 kB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.2117, allocations: 11.98 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.2118, allocations: 55.91 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.2119, allocations: 35.84 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.2119, allocations: 8 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.2123, allocations: 195.7 kB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.2123, allocations: 39.89 kB / 0.7307 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.2124, allocations: 43.8 kB / 0.7307 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.2128, allocations: 243.5 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2128, allocations: 0 / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.426e-06/0.2129, allocations: 0 / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2129, allocations: 0 / 0.7309 GB, free: 14.21 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.0007523/0.2136, allocations: 377.6 kB / 0.7313 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.2137, allocations: 12.03 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.2137, allocations: 30.75 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.2138, allocations: 16.89 kB / 0.7314 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.2141, allocations: 142.4 kB / 0.7315 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.2141, allocations: 20.31 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.2141, allocations: 8.375 kB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.2143, allocations: 83.94 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2143, allocations: 3.938 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2143, allocations: 0 / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2143, allocations: 0 / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.2144, allocations: 47.84 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.2147, allocations: 181.7 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.2148, allocations: 73.23 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/0.2149, allocations: 49.81 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.2149, allocations: 4 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.2152, allocations: 120.9 kB / 0.7321 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.2152, allocations: 0 / 0.7321 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005609/0.2158, allocations: 181.5 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.2159, allocations: 89.09 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2161, allocations: 143.4 kB / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.2161, allocations: 37.69 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.2162, allocations: 104.5 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.2163, allocations: 39.69 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.2164, allocations: 53.64 kB / 0.7327 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2165, allocations: 326.8 kB / 0.733 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.2166, allocations: 43.97 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.2172, allocations: 0.6023 MB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.2173, allocations: 98.02 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2173, allocations: 0 / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002667/0.2176, allocations: 169.3 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2176, allocations: 7.984 kB / 0.7339 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.2176, allocations: 4 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2176, allocations: 0 / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.2177, allocations: 8 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2178, allocations: 3.938 kB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.218, allocations: 71.86 kB / 0.734 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.218, allocations: 8 kB / 0.734 GB, free: 10.71 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.0001431/0.2182, allocations: 141.8 kB / 0.7341 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.2182, allocations: 11.89 kB / 0.7341 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.2182, allocations: 16.7 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2182, allocations: 0 / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2182, allocations: 4 kB / 0.7341 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2182, allocations: 4 kB / 0.7341 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.2184, allocations: 160.6 kB / 0.7343 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2184, allocations: 0 / 0.7343 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.2184, allocations: 8 kB / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2184, allocations: 0 / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2185, allocations: 7.984 kB / 0.7343 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.2185, allocations: 7.938 kB / 0.7343 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2185, allocations: 0 / 0.7343 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.2187, allocations: 173.8 kB / 0.7345 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.2187, allocations: 15.91 kB / 0.7345 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.2187, allocations: 4 kB / 0.7345 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.671e-05/0.2188, allocations: 0 / 0.7345 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.2188, allocations: 16 kB / 0.7345 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.2188, allocations: 8 kB / 0.7345 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.539e-05/0.2189, allocations: 113 kB / 0.7346 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2189, allocations: 0 / 0.7346 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003053/0.2192, allocations: 79.8 kB / 0.7347 GB, free: 9.883 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.0008169/0.2201, allocations: 0.7739 MB / 0.7355 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.2204, allocations: 164.1 kB / 0.7356 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2204, allocations: 0 / 0.7356 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.2205, allocations: 39.92 kB / 0.7357 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.2207, allocations: 10.34 kB / 0.7357 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.2231, allocations: 1.705 MB / 0.7373 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2232, allocations: 92.98 kB / 0.7374 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.685e-05/0.2232, allocations: 16.59 kB / 0.7374 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.2233, allocations: 35.36 kB / 0.7375 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.2233, allocations: 0 / 0.7375 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.2576, allocations: 4.706 MB / 0.7421 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.64, allocations: 3.672 kB / 0.7421 GB, free: 2.371 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.537432567216456] Failed to read output from testmodel.py, exit status != 0: 11.758751121815294 11.788237353 11.570360162 Calling exit ...