Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001455/0.001455, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001568/0.001568, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9123/0.9123, allocations: 145 MB / 457.4 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002102/0.002102, allocations: 66.69 kB / 0.6331 GB, free: 6.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1904, allocations: 87.89 MB / 0.7189 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002971/0.1934, allocations: 1.419 MB / 0.7203 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1944, allocations: 474.4 kB / 0.7207 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.1944, allocations: 4 kB / 0.7207 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.146e-05/0.1945, allocations: 7.922 kB / 0.7207 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.1945, allocations: 11.92 kB / 0.7207 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007925/0.1953, allocations: 238.4 kB / 0.721 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.1956, allocations: 143.8 kB / 0.7211 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.1956, allocations: 7.984 kB / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.1957, allocations: 67.78 kB / 0.7212 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1958, allocations: 39.89 kB / 0.7212 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.1958, allocations: 8 kB / 0.7212 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.1962, allocations: 191.7 kB / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.1963, allocations: 31.97 kB / 0.7214 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.1963, allocations: 43.8 kB / 0.7215 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.1967, allocations: 239.3 kB / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1967, allocations: 0 / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1967, allocations: 0 / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.1967, allocations: 0 / 0.7217 GB, free: 11.89 MB / 0.545 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.0006703/0.1974, allocations: 383.5 kB / 0.7221 GB, free: 11.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1974, allocations: 12.03 kB / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.1975, allocations: 38.69 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.1975, allocations: 12.89 kB / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1978, allocations: 158.3 kB / 0.7223 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1978, allocations: 8.375 kB / 0.7223 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.1979, allocations: 12.38 kB / 0.7223 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.198, allocations: 83.89 kB / 0.7224 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.198, allocations: 3.938 kB / 0.7224 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1981, allocations: 0 / 0.7224 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1981, allocations: 7.938 kB / 0.7224 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.1982, allocations: 39.97 kB / 0.7224 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.1984, allocations: 177.7 kB / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1986, allocations: 81.17 kB / 0.7227 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.1987, allocations: 45.81 kB / 0.7227 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1987, allocations: 0 / 0.7227 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.199, allocations: 113 kB / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 3.266e-06/0.199, allocations: 3.984 kB / 0.7228 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003935/0.1994, allocations: 185.5 kB / 0.723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.1995, allocations: 97.09 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.1996, allocations: 151.2 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.1997, allocations: 33.7 kB / 0.7233 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.1997, allocations: 100.5 kB / 0.7234 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.1998, allocations: 35.73 kB / 0.7234 GB, free: 9.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.1999, allocations: 49.7 kB / 0.7235 GB, free: 9.883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2, allocations: 330.8 kB / 0.7238 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.2001, allocations: 35.98 kB / 0.7238 GB, free: 9.516 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.2006, allocations: 0.5963 MB / 0.7244 GB, free: 8.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2008, allocations: 97.62 kB / 0.7245 GB, free: 8.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2008, allocations: 4 kB / 0.7245 GB, free: 8.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002458/0.201, allocations: 169.4 kB / 0.7247 GB, free: 8.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.201, allocations: 4 kB / 0.7247 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.201, allocations: 8.562 kB / 0.7247 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2011, allocations: 0 / 0.7247 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.2011, allocations: 11.94 kB / 0.7247 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2012, allocations: 0 / 0.7247 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.2014, allocations: 79.78 kB / 0.7248 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.2015, allocations: 4 kB / 0.7248 GB, free: 8.383 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.0001267/0.2016, allocations: 129.8 kB / 0.7249 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2016, allocations: 15.84 kB / 0.7249 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.2017, allocations: 24.58 kB / 0.7249 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2017, allocations: 0 / 0.7249 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2017, allocations: 8 kB / 0.7249 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2017, allocations: 0 / 0.7249 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.2018, allocations: 160.6 kB / 0.7251 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2018, allocations: 0 / 0.7251 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.2019, allocations: 11.98 kB / 0.7251 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2019, allocations: 0 / 0.7251 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2019, allocations: 4 kB / 0.7251 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.2019, allocations: 4 kB / 0.7251 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2019, allocations: 0 / 0.7251 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.2021, allocations: 188.3 kB / 0.7253 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.2022, allocations: 7.953 kB / 0.7253 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.2022, allocations: 8 kB / 0.7253 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.2022, allocations: 3.984 kB / 0.7253 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.2023, allocations: 8 kB / 0.7253 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.2023, allocations: 4 kB / 0.7253 GB, free: 7.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.79e-05/0.2024, allocations: 113 kB / 0.7254 GB, free: 7.629 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2024, allocations: 0 / 0.7254 GB, free: 7.629 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003177/0.2027, allocations: 75.86 kB / 0.7255 GB, free: 7.555 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.0007669/0.2035, allocations: 0.7934 MB / 0.7263 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.2037, allocations: 151.4 kB / 0.7264 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2037, allocations: 4 kB / 0.7264 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2038, allocations: 39.92 kB / 0.7265 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.204, allocations: 8 kB / 0.7265 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.2059, allocations: 1.725 MB / 0.7281 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.206, allocations: 92.94 kB / 0.7282 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.2061, allocations: 12.94 kB / 0.7282 GB, free: 4.574 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.2061, allocations: 31.42 kB / 0.7283 GB, free: 4.543 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.2061, allocations: 3.938 kB / 0.7283 GB, free: 4.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.2396, allocations: 4.73 MB / 0.7329 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.45, allocations: 11.98 kB / 0.7329 GB, free: 15.98 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.142090778797865] Failed to read output from testmodel.py, exit status != 0: 11.564045743085444 11.592109588 11.390261434 Calling exit ...