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.001367/0.001367, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001446/0.001446, allocations: 217 kB / 22.25 MB, free: 4.855 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.781 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.9376/0.9376, 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.00213/0.00213, allocations: 63.81 kB / 0.6331 GB, free: 6.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1803, allocations: 87.9 MB / 0.7189 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002747/0.1831, allocations: 1.405 MB / 0.7203 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.184, allocations: 474.3 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.1841, allocations: 8 kB / 0.7207 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.203e-05/0.1842, allocations: 7.922 kB / 0.7207 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.1842, allocations: 15.86 kB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.185, allocations: 235.1 kB / 0.721 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1852, allocations: 155.8 kB / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.1853, allocations: 4 kB / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.1853, allocations: 55.91 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.1854, allocations: 47.83 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.1855, allocations: 8 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.1858, allocations: 183.8 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.1859, allocations: 39.89 kB / 0.7214 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.1859, allocations: 39.8 kB / 0.7215 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.1863, allocations: 247.2 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1863, allocations: 0 / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1863, allocations: 0 / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.1863, allocations: 0 / 0.7217 GB, free: 11.91 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.0005631/0.1868, allocations: 373.5 kB / 0.7221 GB, free: 11.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1869, allocations: 16.03 kB / 0.7221 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.1869, allocations: 34.75 kB / 0.7221 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.187, allocations: 16.89 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1872, allocations: 158.3 kB / 0.7223 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1872, allocations: 12.38 kB / 0.7223 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1872, allocations: 8.375 kB / 0.7223 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1874, allocations: 83.89 kB / 0.7224 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1874, allocations: 3.938 kB / 0.7224 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1874, allocations: 0 / 0.7224 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1874, allocations: 0 / 0.7224 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.1875, allocations: 39.97 kB / 0.7224 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.1877, allocations: 189.6 kB / 0.7226 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1878, allocations: 77.19 kB / 0.7227 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.1879, allocations: 45.81 kB / 0.7227 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1879, allocations: 0 / 0.7227 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.1881, allocations: 117 kB / 0.7228 GB, free: 10.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.1881, allocations: 0 / 0.7228 GB, free: 10.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003574/0.1885, allocations: 181.5 kB / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.1886, allocations: 93.03 kB / 0.7231 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1887, allocations: 151.5 kB / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.1888, allocations: 37.7 kB / 0.7233 GB, free: 10.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.1888, allocations: 100.5 kB / 0.7234 GB, free: 9.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1889, allocations: 35.73 kB / 0.7234 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.189, allocations: 53.69 kB / 0.7235 GB, free: 9.898 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1891, allocations: 326.8 kB / 0.7238 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.1892, allocations: 39.98 kB / 0.7238 GB, free: 9.531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.1897, allocations: 0.6002 MB / 0.7244 GB, free: 8.777 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1898, allocations: 93.64 kB / 0.7245 GB, free: 8.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1898, allocations: 0 / 0.7245 GB, free: 8.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002546/0.1901, allocations: 173.4 kB / 0.7247 GB, free: 8.504 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1901, allocations: 4 kB / 0.7247 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.1901, allocations: 8.625 kB / 0.7247 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1901, allocations: 0 / 0.7247 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.1902, allocations: 12.09 kB / 0.7247 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1902, allocations: 0 / 0.7247 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.1905, allocations: 78.45 kB / 0.7248 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.1905, allocations: 11.98 kB / 0.7248 GB, free: 8.395 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.0001326/0.1906, allocations: 133.8 kB / 0.7249 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1907, allocations: 19.83 kB / 0.7249 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.1907, allocations: 12.72 kB / 0.7249 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1907, allocations: 0 / 0.7249 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1907, allocations: 0 / 0.7249 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1907, allocations: 4 kB / 0.7249 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1909, allocations: 160.6 kB / 0.7251 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1909, allocations: 0 / 0.7251 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.1909, allocations: 11.98 kB / 0.7251 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1909, allocations: 0 / 0.7251 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1909, allocations: 0 / 0.7251 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.1909, allocations: 8 kB / 0.7251 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1909, allocations: 0 / 0.7251 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1912, allocations: 193.7 kB / 0.7253 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.1912, allocations: 7.953 kB / 0.7253 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1912, allocations: 4 kB / 0.7253 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.1913, allocations: 3.984 kB / 0.7253 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.1913, allocations: 12 kB / 0.7253 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1913, allocations: 7.984 kB / 0.7253 GB, free: 7.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.445e-05/0.1914, allocations: 109.5 kB / 0.7254 GB, free: 7.641 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1914, allocations: 0 / 0.7254 GB, free: 7.641 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002891/0.1917, allocations: 71.86 kB / 0.7255 GB, free: 7.57 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.0007019/0.1924, allocations: 0.7971 MB / 0.7263 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1926, allocations: 155.3 kB / 0.7264 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1926, allocations: 0 / 0.7264 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.1927, allocations: 35.98 kB / 0.7265 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.1929, allocations: 12 kB / 0.7265 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1949, allocations: 1.729 MB / 0.7282 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.226e-05/0.195, allocations: 88.94 kB / 0.7282 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.195, allocations: 8.672 kB / 0.7282 GB, free: 4.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.1951, allocations: 31.61 kB / 0.7283 GB, free: 4.559 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1951, allocations: 0 / 0.7283 GB, free: 4.559 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.228, allocations: 4.732 MB / 0.7329 GB, free: 12 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.5, allocations: 2.031 kB / 0.7329 GB, free: 12 kB / 0.545 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 & 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: 15.310658751055598] Failed to read output from testmodel.py, exit status != 0: 11.615613291971385 11.644954063 11.453687703 Calling exit ...