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.001339/0.001339, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.00146/0.00146, allocations: 220.9 kB / 23.01 MB, free: 5.004 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.983/0.983, allocations: 150 MB / 463.2 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: "" <> 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.002095/0.002095, allocations: 66.78 kB / 0.6412 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1987, allocations: 89.17 MB / 0.7283 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002557/0.2012, allocations: 1.435 MB / 0.7297 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.2021, allocations: 494.3 kB / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.2022, allocations: 0 / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.156e-05/0.2022, allocations: 3.938 kB / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.444e-05/0.2023, allocations: 11.92 kB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.2031, allocations: 245.9 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.2033, allocations: 151.7 kB / 0.7306 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.2033, allocations: 4 kB / 0.7306 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.2034, allocations: 59.89 kB / 0.7307 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.695e-05/0.2035, allocations: 47.83 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.2035, allocations: 12 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.2039, allocations: 191.8 kB / 0.7309 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.2039, allocations: 35.91 kB / 0.7309 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.204, allocations: 59.77 kB / 0.731 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.2044, allocations: 231.5 kB / 0.7312 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2044, allocations: 0 / 0.7312 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.524e-06/0.2044, allocations: 0 / 0.7312 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.2044, allocations: 3.938 kB / 0.7312 GB, free: 14.4 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.0006018/0.205, allocations: 381.6 kB / 0.7316 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.205, allocations: 12.03 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.2051, allocations: 38.67 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.2051, allocations: 16.84 kB / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.2054, allocations: 148.6 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.2054, allocations: 4.375 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.2054, allocations: 16.38 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.2056, allocations: 79.95 kB / 0.7319 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2056, allocations: 7.938 kB / 0.7319 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2056, allocations: 7.938 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2056, allocations: 0 / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.2057, allocations: 39.97 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.206, allocations: 197.6 kB / 0.7321 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.2061, allocations: 73.17 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.2062, allocations: 53.81 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.2062, allocations: 4 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.2064, allocations: 109 kB / 0.7323 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.2064, allocations: 0 / 0.7323 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003745/0.2068, allocations: 197.4 kB / 0.7325 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.2069, allocations: 97.03 kB / 0.7326 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.207, allocations: 145.8 kB / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.2071, allocations: 37.7 kB / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.2071, allocations: 92.52 kB / 0.7329 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.2072, allocations: 47.67 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.2073, allocations: 53.62 kB / 0.733 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2074, allocations: 326.8 kB / 0.7333 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.2075, allocations: 43.98 kB / 0.7333 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.2077, allocations: 192.3 kB / 0.7335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2079, allocations: 107.2 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2079, allocations: 0 / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002424/0.2082, allocations: 157.5 kB / 0.7338 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2082, allocations: 4 kB / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.2082, allocations: 7.984 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2082, allocations: 3.938 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.2083, allocations: 11.94 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2083, allocations: 0 / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.2086, allocations: 75.86 kB / 0.7339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2086, allocations: 4 kB / 0.7339 GB, free: 11.37 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.0001299/0.2087, allocations: 133.8 kB / 0.734 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.2087, allocations: 19.83 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.2088, allocations: 12.72 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2088, allocations: 3.984 kB / 0.734 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2088, allocations: 4 kB / 0.734 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2088, allocations: 0 / 0.734 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.2089, allocations: 168.6 kB / 0.7342 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2089, allocations: 0 / 0.7342 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.209, allocations: 11.98 kB / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.209, allocations: 0 / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.209, allocations: 0 / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.209, allocations: 4 kB / 0.7342 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.209, allocations: 4 kB / 0.7342 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.2092, allocations: 182.4 kB / 0.7344 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.2093, allocations: 11.91 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2093, allocations: 0 / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.582e-05/0.2093, allocations: 11.98 kB / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.2094, allocations: 4 kB / 0.7344 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2094, allocations: 8 kB / 0.7344 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.596e-05/0.2094, allocations: 113.1 kB / 0.7345 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2094, allocations: 0 / 0.7345 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002993/0.2097, allocations: 79.8 kB / 0.7346 GB, free: 10.54 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.0007074/0.2105, allocations: 0.7922 MB / 0.7354 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.2107, allocations: 159.3 kB / 0.7355 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2107, allocations: 0 / 0.7355 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-05/0.2108, allocations: 39.92 kB / 0.7356 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.211, allocations: 10.5 kB / 0.7356 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.2128, allocations: 1.719 MB / 0.7373 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.2132, allocations: 0.708 MB / 0.738 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.2132, allocations: 8.938 kB / 0.738 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.2133, allocations: 27.42 kB / 0.738 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2133, allocations: 0 / 0.738 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.2441, allocations: 4.156 MB / 0.7421 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.22, allocations: 1.688 kB / 0.7421 GB, free: 2.934 MB / 0.5606 GB " [Timeout remaining time 649] (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.119975524998154] Failed to read output from testmodel.py, exit status != 0: 11.323236156000348 11.339314616 11.131687777 Calling exit ...