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.001732/0.001732, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001455/0.001455, allocations: 215.1 kB / 23.78 MB, free: 4.555 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.9828/0.9828, allocations: 150 MB / 464 MB, free: 10.29 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="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.003137/0.003137, allocations: 75.14 kB / 0.6419 GB, free: 9.996 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2118, allocations: 89.17 MB / 0.729 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002928/0.2147, allocations: 1.394 MB / 0.7304 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000948/0.2157, allocations: 454.4 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.2157, allocations: 0 / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.116e-05/0.2158, allocations: 15.81 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.2159, allocations: 11.91 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.2168, allocations: 250.6 kB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.217, allocations: 143.8 kB / 0.7312 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.2171, allocations: 11.94 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.555e-05/0.2172, allocations: 51.91 kB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.438e-05/0.2172, allocations: 55.81 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.2173, allocations: 8 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.2177, allocations: 195.8 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.2177, allocations: 31.91 kB / 0.7316 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.2178, allocations: 47.78 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.2182, allocations: 235.5 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2182, allocations: 4 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2182, allocations: 0 / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.2182, allocations: 0 / 0.7318 GB, free: 14 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.0006993/0.2189, allocations: 381.6 kB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.219, allocations: 8.031 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.965e-05/0.219, allocations: 4.188 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.219, allocations: 42.67 kB / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.2191, allocations: 12.89 kB / 0.7323 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2194, allocations: 150.3 kB / 0.7324 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.2194, allocations: 12.38 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.2195, allocations: 8.375 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.2197, allocations: 83.7 kB / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2197, allocations: 0 / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2197, allocations: 7.984 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.2197, allocations: 4 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.2198, allocations: 35.92 kB / 0.7325 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.2201, allocations: 181.7 kB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.2202, allocations: 77.19 kB / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.2203, allocations: 49.8 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2203, allocations: 0 / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.2206, allocations: 109 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.2206, allocations: 4 kB / 0.7329 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0004123/0.221, allocations: 197.5 kB / 0.7331 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.2211, allocations: 81.11 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.2212, allocations: 147 kB / 0.7334 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.2213, allocations: 41.64 kB / 0.7334 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.2214, allocations: 100.5 kB / 0.7335 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.2214, allocations: 43.69 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.2215, allocations: 53.58 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2217, allocations: 322.8 kB / 0.7339 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.2218, allocations: 47.92 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.2222, allocations: 0.5985 MB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.2224, allocations: 96.27 kB / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2224, allocations: 8 kB / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002564/0.2227, allocations: 165 kB / 0.7348 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2227, allocations: 4 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.2227, allocations: 4 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2227, allocations: 0 / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.2228, allocations: 19.92 kB / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2228, allocations: 0 / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.2231, allocations: 71.86 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2231, allocations: 8 kB / 0.7349 GB, free: 10.49 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.0001473/0.2233, allocations: 141.8 kB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.2233, allocations: 7.953 kB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.2233, allocations: 12.72 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2233, allocations: 0 / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2233, allocations: 8 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2233, allocations: 3.984 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.2235, allocations: 160.6 kB / 0.7352 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2235, allocations: 3.938 kB / 0.7352 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.2236, allocations: 8 kB / 0.7352 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2236, allocations: 0 / 0.7352 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.2236, allocations: 4 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2236, allocations: 3.938 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2236, allocations: 0 / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.2239, allocations: 177.8 kB / 0.7354 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.2239, allocations: 19.89 kB / 0.7354 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.2239, allocations: 4 kB / 0.7354 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.2239, allocations: 0 / 0.7354 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.224, allocations: 11.92 kB / 0.7354 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.224, allocations: 8 kB / 0.7354 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.169e-05/0.2241, allocations: 113.8 kB / 0.7355 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2241, allocations: 0 / 0.7355 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003299/0.2244, allocations: 71.81 kB / 0.7356 GB, free: 9.672 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.0007627/0.2252, allocations: 0.7784 MB / 0.7364 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.2255, allocations: 167.2 kB / 0.7365 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2255, allocations: 0 / 0.7365 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.2255, allocations: 39.92 kB / 0.7366 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.2257, allocations: 13.86 kB / 0.7366 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.2277, allocations: 1.716 MB / 0.7383 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.2278, allocations: 88.98 kB / 0.7383 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.2279, allocations: 8.656 kB / 0.7383 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.2279, allocations: 35.44 kB / 0.7384 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2279, allocations: 0 / 0.7384 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.255, allocations: 4.361 MB / 0.7426 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.7, allocations: 13.95 kB / 0.7427 GB, free: 2.512 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 & /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: 15.676036120043136] Failed to read output from testmodel.py, exit status != 0: 11.870710832998157 11.886546788 11.664604538 Calling exit ...