Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007904/0.0007904, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008526/0.0008526, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8489/0.8489, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001448/0.001448, allocations: 230 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6712/0.6712, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6462 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.818e-05, allocations: 2.281 kB / 0.6462 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.001735/0.001753, allocations: 1.424 MB / 0.6476 GB, free: 468 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2286/0.2304, allocations: 471.6 kB / 0.6481 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.2305, allocations: 0 / 0.6481 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.239e-05/0.2306, allocations: 7.062 kB / 0.6481 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.2306, allocations: 12.03 kB / 0.6481 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.2313, allocations: 238.4 kB / 0.6483 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.2315, allocations: 147.9 kB / 0.6485 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.2316, allocations: 7.109 kB / 0.6485 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.2317, allocations: 73.2 kB / 0.6486 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.2318, allocations: 40.75 kB / 0.6486 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.2318, allocations: 9.594 kB / 0.6486 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.232, allocations: 187.6 kB / 0.6488 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.2321, allocations: 36.7 kB / 0.6488 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.2322, allocations: 37.48 kB / 0.6489 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.2324, allocations: 278.2 kB / 0.6491 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2324, allocations: 0.625 kB / 0.6491 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2325, allocations: 1.719 kB / 0.6491 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2325, allocations: 0 / 0.6491 GB, free: 55.89 MB / 0.5573 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.0003896/0.2328, allocations: 377.4 kB / 0.6495 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2329, allocations: 12.38 kB / 0.6495 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.274e-05/0.2329, allocations: 37.48 kB / 0.6495 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.2329, allocations: 12.45 kB / 0.6495 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2331, allocations: 153.9 kB / 0.6497 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2331, allocations: 9.719 kB / 0.6497 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2331, allocations: 10.34 kB / 0.6497 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.2332, allocations: 82.27 kB / 0.6498 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2332, allocations: 1.125 kB / 0.6498 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.2332, allocations: 2.266 kB / 0.6498 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2333, allocations: 6.031 kB / 0.6498 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.167e-05/0.2333, allocations: 39.31 kB / 0.6498 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.2335, allocations: 187.3 kB / 0.65 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/0.2335, allocations: 79.83 kB / 0.6501 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.2336, allocations: 51.45 kB / 0.6501 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.2336, allocations: 1.312 kB / 0.6501 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.2338, allocations: 111.8 kB / 0.6502 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.2338, allocations: 0 / 0.6502 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.0002549/0.234, allocations: 190.1 kB / 0.6504 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.2341, allocations: 91.16 kB / 0.6505 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.2341, allocations: 153.8 kB / 0.6507 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2342, allocations: 34.14 kB / 0.6507 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.2342, allocations: 104.1 kB / 0.6508 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.2342, allocations: 36.25 kB / 0.6508 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.2343, allocations: 47.94 kB / 0.6509 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.2343, allocations: 327.1 kB / 0.6512 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.2344, allocations: 42.06 kB / 0.6512 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.2345, allocations: 0.5981 MB / 0.6518 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/0.2346, allocations: 95.78 kB / 0.6519 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2346, allocations: 3.094 kB / 0.6519 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001437/0.2348, allocations: 162.2 kB / 0.6521 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2348, allocations: 10.41 kB / 0.6521 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.2348, allocations: 2.875 kB / 0.6521 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2348, allocations: 3.203 kB / 0.6521 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.2349, allocations: 10.8 kB / 0.6521 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2349, allocations: 3.906 kB / 0.6521 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.235, allocations: 75.69 kB / 0.6522 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.235, allocations: 5.625 kB / 0.6522 GB, free: 53.65 MB / 0.5573 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 6.624e-05/0.2351, allocations: 136.6 kB / 0.6523 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.2351, allocations: 14.28 kB / 0.6523 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.2351, allocations: 21.11 kB / 0.6523 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2351, allocations: 1.719 kB / 0.6523 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2351, allocations: 1.875 kB / 0.6523 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2351, allocations: 2.844 kB / 0.6523 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.814e-05/0.2352, allocations: 155 kB / 0.6525 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2352, allocations: 1.812 kB / 0.6525 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.2352, allocations: 14.05 kB / 0.6525 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2352, allocations: 0 / 0.6525 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2353, allocations: 7.484 kB / 0.6525 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2353, allocations: 3.062 kB / 0.6525 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2353, allocations: 0 / 0.6525 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.2354, allocations: 185.3 kB / 0.6527 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.2354, allocations: 14.95 kB / 0.6527 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.2354, allocations: 7.672 kB / 0.6527 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.208e-05/0.2354, allocations: 4.703 kB / 0.6527 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.2355, allocations: 13 kB / 0.6527 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2355, allocations: 2.75 kB / 0.6527 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.979e-05/0.2355, allocations: 109.5 kB / 0.6528 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2355, allocations: 1.688 kB / 0.6528 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001981/0.2357, allocations: 76 kB / 0.6529 GB, free: 53.18 MB / 0.5573 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.0003477/0.2361, allocations: 0.7962 MB / 0.6537 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.2362, allocations: 154.8 kB / 0.6538 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2363, allocations: 0 / 0.6538 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/0.2363, allocations: 41.27 kB / 0.6539 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.2364, allocations: 9.516 kB / 0.6539 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2374, allocations: 1.72 MB / 0.6556 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.2375, allocations: 91.42 kB / 0.6556 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.2375, allocations: 9.203 kB / 0.6556 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.2375, allocations: 28.39 kB / 0.6557 GB, free: 51.06 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.2375, allocations: 0.7188 kB / 0.6557 GB, free: 51.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.2532, allocations: 4.843 MB / 0.6604 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.96, allocations: 6.672 kB / 0.6604 GB, free: 49.97 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.540860676206648] Failed to read output from testmodel.py, exit status != 0: 7.0387569246813655 7.046526922 6.812513073 Calling exit ...