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.00196/0.00196, allocations: 105 kB / 20.48 MB, free: 1.488 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.002721/0.002721, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.527/1.527, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.9653/0.9653, allocations: 150 MB / 464 MB, free: 10.49 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.002036/0.002036, allocations: 65.98 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.206, allocations: 89.17 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002616/0.2087, allocations: 1.426 MB / 0.7305 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009335/0.2096, allocations: 498.2 kB / 0.731 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.2096, allocations: 4 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.735e-05/0.2097, allocations: 7.938 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.2098, allocations: 11.86 kB / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007769/0.2105, allocations: 239.2 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.2108, allocations: 151.7 kB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.2108, allocations: 8 kB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.2109, allocations: 51.91 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.211, allocations: 55.81 kB / 0.7315 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.2111, allocations: 8 kB / 0.7315 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.2114, allocations: 195.8 kB / 0.7317 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.397e-05/0.2115, allocations: 31.91 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.2116, allocations: 51.78 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.212, allocations: 239.5 kB / 0.732 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.212, allocations: 0 / 0.732 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.212, allocations: 0 / 0.732 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.212, allocations: 7.938 kB / 0.732 GB, free: 14.35 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.0006473/0.2126, allocations: 377.6 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2127, allocations: 8.031 kB / 0.7323 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.423e-05/0.2127, allocations: 192 / 0.7323 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.2127, allocations: 46.72 kB / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.2128, allocations: 16.84 kB / 0.7324 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.213, allocations: 152.4 kB / 0.7325 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.213, allocations: 4.375 kB / 0.7326 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.2131, allocations: 16.38 kB / 0.7326 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2132, allocations: 90.38 kB / 0.7327 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2132, allocations: 0 / 0.7327 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.2133, allocations: 4 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2133, allocations: 0 / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/0.2134, allocations: 43.91 kB / 0.7327 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.2136, allocations: 193.6 kB / 0.7329 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.2138, allocations: 81.19 kB / 0.733 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.291e-05/0.2139, allocations: 49.81 kB / 0.733 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.2139, allocations: 0 / 0.733 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.2141, allocations: 117 kB / 0.7331 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.2141, allocations: 3.938 kB / 0.7331 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003692/0.2145, allocations: 201.5 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.2145, allocations: 85.11 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2147, allocations: 143.5 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.2147, allocations: 37.7 kB / 0.7336 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.2148, allocations: 96.52 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.2149, allocations: 39.69 kB / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.2149, allocations: 57.62 kB / 0.7338 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2151, allocations: 326.8 kB / 0.7341 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.2152, allocations: 39.98 kB / 0.7341 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.2154, allocations: 204.1 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.2156, allocations: 97.62 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2156, allocations: 0 / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002564/0.2158, allocations: 163.1 kB / 0.7345 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2158, allocations: 4 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.2159, allocations: 7.984 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2159, allocations: 3.938 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.216, allocations: 12 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.216, allocations: 0 / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.2163, allocations: 67.86 kB / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2163, allocations: 8 kB / 0.7346 GB, free: 11.32 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.0001517/0.2164, allocations: 149.6 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.2165, allocations: 8.047 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.2165, allocations: 20.69 kB / 0.7348 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2165, allocations: 0 / 0.7348 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2165, allocations: 0 / 0.7348 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.2165, allocations: 4 kB / 0.7348 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.2167, allocations: 160.6 kB / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2167, allocations: 0 / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.2167, allocations: 15.98 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2167, allocations: 0 / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2167, allocations: 4 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2167, allocations: 0 / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2167, allocations: 4 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.217, allocations: 180.7 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.217, allocations: 11.91 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.217, allocations: 7.938 kB / 0.7352 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.196e-05/0.2171, allocations: 3.984 kB / 0.7352 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.2171, allocations: 12 kB / 0.7352 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2171, allocations: 7.984 kB / 0.7352 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.553e-05/0.2172, allocations: 112.8 kB / 0.7353 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2172, allocations: 0 / 0.7353 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003209/0.2176, allocations: 75.81 kB / 0.7354 GB, free: 10.48 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.0007268/0.2183, allocations: 0.7864 MB / 0.7362 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.2186, allocations: 159.3 kB / 0.7363 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2186, allocations: 0 / 0.7363 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.2186, allocations: 35.98 kB / 0.7363 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.2188, allocations: 8 kB / 0.7364 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2206, allocations: 1.72 MB / 0.738 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.221, allocations: 0.7041 MB / 0.7387 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.2211, allocations: 4.672 kB / 0.7387 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.2211, allocations: 31.42 kB / 0.7388 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2211, allocations: 4 kB / 0.7388 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.2461, allocations: 4.186 MB / 0.7428 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.49, allocations: 8.938 kB / 0.7429 GB, free: 2.867 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.425825947953854] Failed to read output from testmodel.py, exit status != 0: 11.661842104047537 11.690399153 11.472781022 Calling exit ...