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.001364/0.001364, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001486/0.001486, allocations: 204 kB / 20.09 MB, free: 2.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.563/1.563, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9863/0.9863, allocations: 150 MB / 459.5 MB, free: 5.297 MB / 350.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.002026/0.002026, allocations: 72.92 kB / 0.6361 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1841, allocations: 89.13 MB / 0.7231 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002665/0.1868, allocations: 1.416 MB / 0.7245 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008996/0.1877, allocations: 0.4966 MB / 0.725 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.1877, allocations: 0 / 0.725 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.251e-05/0.1878, allocations: 11.92 kB / 0.725 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.1879, allocations: 3.938 kB / 0.725 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007274/0.1886, allocations: 237.7 kB / 0.7252 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.1888, allocations: 147.8 kB / 0.7254 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.1889, allocations: 11.97 kB / 0.7254 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.078e-05/0.189, allocations: 59.84 kB / 0.7254 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.189, allocations: 39.84 kB / 0.7255 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.1891, allocations: 8 kB / 0.7255 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.1894, allocations: 171.8 kB / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.1895, allocations: 35.91 kB / 0.7257 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.372e-05/0.1895, allocations: 59.7 kB / 0.7257 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.1899, allocations: 231.5 kB / 0.726 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1899, allocations: 0 / 0.726 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1899, allocations: 4 kB / 0.726 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.1899, allocations: 0 / 0.726 GB, free: 1.16 MB / 0.5294 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.0006731/0.1906, allocations: 462.7 kB / 0.7264 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1906, allocations: 8.031 kB / 0.7264 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.1907, allocations: 34.75 kB / 0.7265 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.1907, allocations: 12.89 kB / 0.7265 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.191, allocations: 214 kB / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.191, allocations: 4.375 kB / 0.7267 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.191, allocations: 16.38 kB / 0.7267 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1912, allocations: 87.28 kB / 0.7268 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1912, allocations: 3.938 kB / 0.7268 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1912, allocations: 0 / 0.7268 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1912, allocations: 4 kB / 0.7268 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.601e-05/0.1913, allocations: 39.91 kB / 0.7268 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.1916, allocations: 226.6 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1917, allocations: 77.23 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/0.1918, allocations: 53.75 kB / 0.7272 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.1918, allocations: 0 / 0.7272 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.1921, allocations: 113 kB / 0.7273 GB, free: 15.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.1921, allocations: 0 / 0.7273 GB, free: 15.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0004007/0.1925, allocations: 189.4 kB / 0.7274 GB, free: 15.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.1926, allocations: 93.09 kB / 0.7275 GB, free: 15.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1927, allocations: 147.9 kB / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.1928, allocations: 33.7 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.1929, allocations: 100.5 kB / 0.7278 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.1929, allocations: 39.67 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.193, allocations: 53.64 kB / 0.7279 GB, free: 14.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1932, allocations: 330.8 kB / 0.7282 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.1933, allocations: 43.97 kB / 0.7283 GB, free: 14.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.1935, allocations: 205.8 kB / 0.7284 GB, free: 14.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1937, allocations: 93.64 kB / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1937, allocations: 0 / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002597/0.1939, allocations: 169.2 kB / 0.7287 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.194, allocations: 9.562 kB / 0.7287 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.194, allocations: 0 / 0.7287 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.194, allocations: 4 kB / 0.7287 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.1941, allocations: 11.92 kB / 0.7287 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1941, allocations: 8 kB / 0.7287 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.1944, allocations: 69.27 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1944, allocations: 4 kB / 0.7288 GB, free: 13.94 MB / 0.545 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.0001379/0.1945, allocations: 145.8 kB / 0.7289 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1946, allocations: 11.89 kB / 0.729 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.1946, allocations: 12.72 kB / 0.729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1946, allocations: 0 / 0.729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1946, allocations: 0 / 0.729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1946, allocations: 3.984 kB / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1948, allocations: 201.5 kB / 0.7292 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1948, allocations: 0 / 0.7292 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.1948, allocations: 11.94 kB / 0.7292 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1948, allocations: 3.984 kB / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1949, allocations: 4 kB / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1949, allocations: 0 / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1949, allocations: 0 / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.1951, allocations: 182.4 kB / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.1952, allocations: 89.02 kB / 0.7294 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1952, allocations: 0 / 0.7294 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.1952, allocations: 15.98 kB / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1953, allocations: 4 kB / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1953, allocations: 0 / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.263e-05/0.1954, allocations: 115.2 kB / 0.7296 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1954, allocations: 0 / 0.7296 GB, free: 13.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003155/0.1957, allocations: 83.8 kB / 0.7296 GB, free: 12.97 MB / 0.545 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.0007455/0.1964, allocations: 0.7795 MB / 0.7304 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.1967, allocations: 155.3 kB / 0.7306 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1967, allocations: 4 kB / 0.7306 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.1968, allocations: 43.91 kB / 0.7306 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.197, allocations: 4 kB / 0.7306 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.199, allocations: 1.72 MB / 0.7323 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1993, allocations: 0.7041 MB / 0.733 GB, free: 9.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.1993, allocations: 12.66 kB / 0.733 GB, free: 9.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.1994, allocations: 27.42 kB / 0.733 GB, free: 9.363 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.1994, allocations: 0 / 0.733 GB, free: 9.363 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.2323, allocations: 3.987 MB / 0.7369 GB, free: 5.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.299, allocations: 5.406 kB / 0.7369 GB, free: 5.496 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.306628699880093] Failed to read output from testmodel.py, exit status != 0: 8.36874493281357 8.385482801 8.192109072 Calling exit ...