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.00138/0.00138, 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.001677/0.001677, allocations: 216.5 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 1.007/1.007, allocations: 149.9 MB / 463 MB, free: 10.33 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.002154/0.002154, allocations: 71.23 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.206, allocations: 89.17 MB / 0.7281 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002922/0.2089, allocations: 1.412 MB / 0.7295 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.2099, allocations: 454.4 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.2099, allocations: 0 / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.704e-05/0.21, allocations: 3.938 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.482e-05/0.21, allocations: 15.86 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008005/0.2108, allocations: 237.5 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.2111, allocations: 155.7 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.2112, allocations: 8 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.2113, allocations: 51.91 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2114, allocations: 47.81 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.2114, allocations: 12 kB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.2117, allocations: 179.8 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.2118, allocations: 39.91 kB / 0.7307 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.2119, allocations: 47.78 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.2123, allocations: 231.5 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2123, allocations: 3.938 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2123, allocations: 4 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.2123, allocations: 0 / 0.7309 GB, free: 14.16 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.000615/0.2129, allocations: 381.6 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2129, allocations: 8.031 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.213, allocations: 34.73 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.213, allocations: 16.84 kB / 0.7314 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.2133, allocations: 156.2 kB / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2133, allocations: 8.375 kB / 0.7315 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.2133, allocations: 8.375 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.2135, allocations: 87.89 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2135, allocations: 3.938 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2135, allocations: 3.984 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.2135, allocations: 4 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.2136, allocations: 35.97 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.2139, allocations: 185.6 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.214, allocations: 73.19 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.2141, allocations: 49.81 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.2141, allocations: 4 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.2144, allocations: 112.9 kB / 0.7321 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.2144, allocations: 8 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003873/0.2147, allocations: 189.5 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.2148, allocations: 85.11 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.215, allocations: 147.2 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.215, allocations: 37.7 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.2151, allocations: 100.5 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.2152, allocations: 35.7 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.2152, allocations: 57.62 kB / 0.7327 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.2154, allocations: 322.8 kB / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.2155, allocations: 47.98 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.216, allocations: 0.5963 MB / 0.7336 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.2161, allocations: 104 kB / 0.7337 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2162, allocations: 3.984 kB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002585/0.2164, allocations: 161.5 kB / 0.7339 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2164, allocations: 4 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.2164, allocations: 7.938 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2165, allocations: 0 / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.2165, allocations: 11.98 kB / 0.7339 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2165, allocations: 0 / 0.7339 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.2168, allocations: 75.86 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2169, allocations: 4 kB / 0.734 GB, free: 10.66 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.0001289/0.217, allocations: 137.7 kB / 0.7341 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.217, allocations: 15.89 kB / 0.7341 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.217, allocations: 16.72 kB / 0.7341 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.217, allocations: 4 kB / 0.7341 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2171, allocations: 0 / 0.7341 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2171, allocations: 0 / 0.7341 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.2172, allocations: 160.6 kB / 0.7343 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2172, allocations: 0 / 0.7343 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.2173, allocations: 8 kB / 0.7343 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2173, allocations: 0 / 0.7343 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2173, allocations: 4.094 kB / 0.7343 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2173, allocations: 0 / 0.7343 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2173, allocations: 0 / 0.7343 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.2175, allocations: 189.8 kB / 0.7345 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.2176, allocations: 11.91 kB / 0.7345 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.2176, allocations: 7.984 kB / 0.7345 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.2176, allocations: 7.938 kB / 0.7345 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.2177, allocations: 3.984 kB / 0.7345 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.2177, allocations: 4 kB / 0.7345 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.233e-05/0.2178, allocations: 117.7 kB / 0.7346 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2178, allocations: 0 / 0.7346 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003089/0.2181, allocations: 71.81 kB / 0.7347 GB, free: 9.836 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.0007647/0.2189, allocations: 0.7809 MB / 0.7355 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.2191, allocations: 167.7 kB / 0.7356 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2191, allocations: 0 / 0.7356 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.2192, allocations: 39.92 kB / 0.7357 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.2194, allocations: 5.875 kB / 0.7357 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.2215, allocations: 1.723 MB / 0.7374 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.2216, allocations: 84.98 kB / 0.7374 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.355e-05/0.2216, allocations: 12.67 kB / 0.7374 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.2217, allocations: 27.42 kB / 0.7375 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2217, allocations: 0 / 0.7375 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/0.2585, allocations: 4.712 MB / 0.7421 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.65, allocations: 5.969 kB / 0.7421 GB, free: 2.316 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 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.524943547789007] Failed to read output from testmodel.py, exit status != 0: 11.761419284157455 11.789779065 11.572229858 Calling exit ...