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.001252/0.001252, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001339/0.001339, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.568/1.568, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.9847/0.9847, allocations: 150 MB / 460.2 MB, free: 5.254 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",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.002081/0.002081, allocations: 60.75 kB / 0.6368 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2058, allocations: 89.13 MB / 0.7238 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.00339/0.2092, allocations: 1.421 MB / 0.7252 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2102, allocations: 0.4927 MB / 0.7257 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.2102, allocations: 0 / 0.7257 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.2103, allocations: 7.938 kB / 0.7257 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.2104, allocations: 7.922 kB / 0.7257 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008978/0.2113, allocations: 242.2 kB / 0.7259 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.2116, allocations: 147.7 kB / 0.7261 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.59e-05/0.2116, allocations: 7.984 kB / 0.7261 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.2117, allocations: 51.91 kB / 0.7261 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.2118, allocations: 47.81 kB / 0.7262 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.2119, allocations: 11.94 kB / 0.7262 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.2122, allocations: 171.8 kB / 0.7263 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2123, allocations: 39.89 kB / 0.7264 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.2124, allocations: 55.73 kB / 0.7264 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.2128, allocations: 235.5 kB / 0.7267 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2128, allocations: 0 / 0.7267 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2128, allocations: 0 / 0.7267 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.2128, allocations: 0 / 0.7267 GB, free: 1.145 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.0007307/0.2135, allocations: 454.7 kB / 0.7271 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2136, allocations: 8.031 kB / 0.7271 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.313e-05/0.2136, allocations: 4.188 kB / 0.7271 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.2136, allocations: 38.75 kB / 0.7271 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.2137, allocations: 12.89 kB / 0.7272 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.2139, allocations: 214 kB / 0.7274 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2139, allocations: 8.375 kB / 0.7274 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.214, allocations: 12.38 kB / 0.7274 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.2142, allocations: 87.64 kB / 0.7275 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2142, allocations: 0 / 0.7275 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.2142, allocations: 4 kB / 0.7275 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2142, allocations: 0 / 0.7275 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.2143, allocations: 47.91 kB / 0.7275 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.2146, allocations: 226.5 kB / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.2148, allocations: 73.25 kB / 0.7278 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.2148, allocations: 45.81 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2149, allocations: 15.92 kB / 0.7279 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.2151, allocations: 109 kB / 0.728 GB, free: 15.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.2151, allocations: 0 / 0.728 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003904/0.2155, allocations: 189.5 kB / 0.7281 GB, free: 15.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.2156, allocations: 85.09 kB / 0.7282 GB, free: 15.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2157, allocations: 147.7 kB / 0.7284 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.2158, allocations: 41.7 kB / 0.7284 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.2159, allocations: 96.52 kB / 0.7285 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.2159, allocations: 43.69 kB / 0.7285 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.216, allocations: 57.56 kB / 0.7286 GB, free: 14.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.2162, allocations: 322.8 kB / 0.7289 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.2163, allocations: 39.98 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.2166, allocations: 199.3 kB / 0.7291 GB, free: 14.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.2167, allocations: 96.92 kB / 0.7292 GB, free: 14.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2167, allocations: 0 / 0.7292 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003763/0.2171, allocations: 173.4 kB / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2171, allocations: 4 kB / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.2172, allocations: 7.984 kB / 0.7294 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.2172, allocations: 0 / 0.7294 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.2173, allocations: 11.94 kB / 0.7294 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2173, allocations: 0 / 0.7294 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.2176, allocations: 71.86 kB / 0.7295 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2176, allocations: 4 kB / 0.7295 GB, free: 13.93 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.0001654/0.2178, allocations: 145.7 kB / 0.7296 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.2178, allocations: 7.953 kB / 0.7296 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.2178, allocations: 16.7 kB / 0.7296 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2178, allocations: 0 / 0.7296 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.2178, allocations: 4 kB / 0.7296 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2178, allocations: 4 kB / 0.7296 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.2181, allocations: 193.5 kB / 0.7298 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2181, allocations: 3.984 kB / 0.7298 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.2181, allocations: 11.94 kB / 0.7298 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2181, allocations: 0 / 0.7298 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2181, allocations: 0 / 0.7298 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2181, allocations: 4 kB / 0.7299 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2181, allocations: 4 kB / 0.7299 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.2184, allocations: 189.2 kB / 0.73 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.2185, allocations: 89.02 kB / 0.7301 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.2185, allocations: 7.984 kB / 0.7301 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.2185, allocations: 0 / 0.7301 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.2186, allocations: 4 kB / 0.7301 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2186, allocations: 11.98 kB / 0.7301 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001066/0.2187, allocations: 107.3 kB / 0.7302 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2187, allocations: 4 kB / 0.7302 GB, free: 13.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003615/0.219, allocations: 79.73 kB / 0.7303 GB, free: 12.95 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.0008237/0.2199, allocations: 0.7693 MB / 0.7311 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.2202, allocations: 167.6 kB / 0.7312 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2202, allocations: 4 kB / 0.7312 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.2203, allocations: 39.92 kB / 0.7313 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.2205, allocations: 13.66 kB / 0.7313 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.2226, allocations: 1.718 MB / 0.733 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.2229, allocations: 0.7082 MB / 0.7337 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.223, allocations: 8.656 kB / 0.7337 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.223, allocations: 31.42 kB / 0.7337 GB, free: 9.34 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/0.223, allocations: 0 / 0.7337 GB, free: 9.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.2456, allocations: 4.02 MB / 0.7376 GB, free: 5.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/8.636, allocations: 7.406 kB / 0.7376 GB, free: 5.465 MB / 0.545 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.753235603973735] Failed to read output from testmodel.py, exit status != 0: 8.767126902996097 8.80172953 8.582832661 Calling exit ...