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.001288/0.001288, allocations: 103 kB / 16.45 MB, free: 6.449 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.001396/0.001396, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.417/1.417, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.8993/0.8993, allocations: 145 MB / 453.8 MB, free: 0.7266 MB / 350.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.001993/0.001993, allocations: 61.69 kB / 0.628 GB, free: 10.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.16, allocations: 87.83 MB / 0.7138 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.00264/0.1627, allocations: 1.426 MB / 0.7152 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009703/0.1636, allocations: 0.4982 MB / 0.7156 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.1637, allocations: 8 kB / 0.7157 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.002e-05/0.1637, allocations: 7.922 kB / 0.7157 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.291e-05/0.1638, allocations: 7.938 kB / 0.7157 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.1645, allocations: 230 kB / 0.7159 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1648, allocations: 151.7 kB / 0.716 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.1648, allocations: 4.266 kB / 0.716 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.1649, allocations: 55.91 kB / 0.7161 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.165, allocations: 47.77 kB / 0.7161 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.165, allocations: 12 kB / 0.7161 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.1653, allocations: 175.8 kB / 0.7163 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.1654, allocations: 31.91 kB / 0.7163 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.1654, allocations: 55.77 kB / 0.7164 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.1658, allocations: 235.2 kB / 0.7166 GB, free: 15.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1658, allocations: 0 / 0.7166 GB, free: 15.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1658, allocations: 0 / 0.7166 GB, free: 15.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1658, allocations: 0 / 0.7166 GB, free: 15.87 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.0006521/0.1665, allocations: 458.6 kB / 0.7171 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1665, allocations: 12.03 kB / 0.7171 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.1665, allocations: 34.75 kB / 0.7171 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1666, allocations: 12.89 kB / 0.7171 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1668, allocations: 209.8 kB / 0.7173 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1668, allocations: 12.38 kB / 0.7173 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.1669, allocations: 8.375 kB / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.167, allocations: 79.95 kB / 0.7174 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.167, allocations: 7.938 kB / 0.7174 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.167, allocations: 0 / 0.7174 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.167, allocations: 0 / 0.7174 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.1671, allocations: 43.91 kB / 0.7175 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.1674, allocations: 234.5 kB / 0.7177 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1675, allocations: 73.23 kB / 0.7178 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.1676, allocations: 49.81 kB / 0.7178 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1676, allocations: 7.938 kB / 0.7178 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.1678, allocations: 113 kB / 0.7179 GB, free: 14.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1678, allocations: 0 / 0.7179 GB, free: 14.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003781/0.1682, allocations: 193.5 kB / 0.7181 GB, free: 14.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.1683, allocations: 89.09 kB / 0.7182 GB, free: 14.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1684, allocations: 156 kB / 0.7183 GB, free: 13.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.1684, allocations: 33.7 kB / 0.7184 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.1685, allocations: 96.52 kB / 0.7185 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.1686, allocations: 43.72 kB / 0.7185 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.1686, allocations: 49.64 kB / 0.7185 GB, free: 13.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1688, allocations: 326.8 kB / 0.7189 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.1689, allocations: 43.98 kB / 0.7189 GB, free: 13.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.1692, allocations: 196.6 kB / 0.7191 GB, free: 13.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1693, allocations: 105.6 kB / 0.7192 GB, free: 12.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1693, allocations: 0 / 0.7192 GB, free: 12.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002559/0.1696, allocations: 161.5 kB / 0.7193 GB, free: 12.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1696, allocations: 4 kB / 0.7193 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.1696, allocations: 4.094 kB / 0.7194 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1696, allocations: 3.984 kB / 0.7194 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.1697, allocations: 15.92 kB / 0.7194 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1697, allocations: 3.938 kB / 0.7194 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.17, allocations: 79.8 kB / 0.7195 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.17, allocations: 4 kB / 0.7195 GB, free: 12.63 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.0001322/0.1701, allocations: 133.8 kB / 0.7196 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.1702, allocations: 19.84 kB / 0.7196 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.1702, allocations: 12.72 kB / 0.7196 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1702, allocations: 0 / 0.7196 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1702, allocations: 4 kB / 0.7196 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1702, allocations: 3.984 kB / 0.7196 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1704, allocations: 189.6 kB / 0.7198 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1704, allocations: 0 / 0.7198 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.1704, allocations: 15.92 kB / 0.7198 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1704, allocations: 0 / 0.7198 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1704, allocations: 0 / 0.7198 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1704, allocations: 4 kB / 0.7198 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1704, allocations: 4 kB / 0.7198 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1707, allocations: 177.8 kB / 0.72 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.1707, allocations: 93 kB / 0.7201 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1708, allocations: 4 kB / 0.7201 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.1708, allocations: 3.984 kB / 0.7201 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.1709, allocations: 4 kB / 0.7201 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.1709, allocations: 12 kB / 0.7201 GB, free: 11.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.51e-05/0.1709, allocations: 111.2 kB / 0.7202 GB, free: 11.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1709, allocations: 0 / 0.7202 GB, free: 11.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003057/0.1713, allocations: 71.86 kB / 0.7203 GB, free: 11.69 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.000718/0.172, allocations: 0.7887 MB / 0.7211 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1722, allocations: 159.3 kB / 0.7212 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1722, allocations: 0 / 0.7212 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.1723, allocations: 43.92 kB / 0.7212 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.1725, allocations: 9.656 kB / 0.7213 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1744, allocations: 1.72 MB / 0.7229 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1747, allocations: 0.7079 MB / 0.7236 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.1748, allocations: 8.859 kB / 0.7236 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.1748, allocations: 27.42 kB / 0.7237 GB, free: 8.066 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1748, allocations: 0 / 0.7237 GB, free: 8.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.2015, allocations: 4.029 MB / 0.7276 GB, free: 4.184 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.348, allocations: 5.969 kB / 0.7276 GB, free: 4.18 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 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: 11.988881229990511] Failed to read output from testmodel.py, exit status != 0: 8.418259948011837 8.439661259 8.269891093 Calling exit ...