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.001717/0.001717, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.00211/0.00211, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.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.9111/0.9111, allocations: 145 MB / 457.4 MB, free: 15.55 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.001943/0.001943, allocations: 70.67 kB / 0.6331 GB, free: 7.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1828, allocations: 87.88 MB / 0.719 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002629/0.1854, allocations: 1.45 MB / 0.7204 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.1863, allocations: 0.4982 MB / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.1864, allocations: 0 / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.245e-05/0.1864, allocations: 7.938 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.1865, allocations: 15.84 kB / 0.7209 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.1872, allocations: 242.2 kB / 0.7211 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1875, allocations: 159.7 kB / 0.7213 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.1875, allocations: 0 / 0.7213 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.267e-05/0.1876, allocations: 55.91 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.1877, allocations: 47.81 kB / 0.7214 GB, free: 13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.1877, allocations: 12 kB / 0.7214 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.188, allocations: 195.8 kB / 0.7216 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.1881, allocations: 31.91 kB / 0.7216 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.1881, allocations: 47.8 kB / 0.7216 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.1885, allocations: 247.2 kB / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1885, allocations: 0 / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1885, allocations: 0 / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.1885, allocations: 0 / 0.7219 GB, free: 12.47 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.0005693/0.189, allocations: 377.5 kB / 0.7222 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1891, allocations: 12.03 kB / 0.7223 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.1891, allocations: 38.73 kB / 0.7223 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.1892, allocations: 12.89 kB / 0.7223 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1894, allocations: 154.3 kB / 0.7224 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1894, allocations: 12.38 kB / 0.7225 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.1894, allocations: 12.38 kB / 0.7225 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1896, allocations: 83.89 kB / 0.7226 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1896, allocations: 3.938 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1896, allocations: 3.984 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1896, allocations: 0 / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.1897, allocations: 35.98 kB / 0.7226 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.19, allocations: 205.6 kB / 0.7228 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1901, allocations: 77.19 kB / 0.7229 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.1902, allocations: 49.81 kB / 0.7229 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1902, allocations: 0 / 0.7229 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.1905, allocations: 117 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1905, allocations: 0 / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003647/0.1908, allocations: 189.5 kB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.1909, allocations: 85.11 kB / 0.7233 GB, free: 10.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.191, allocations: 151.5 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.1911, allocations: 33.7 kB / 0.7235 GB, free: 10.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.1912, allocations: 108.4 kB / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.1912, allocations: 35.75 kB / 0.7236 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.1913, allocations: 53.69 kB / 0.7236 GB, free: 10.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.1914, allocations: 326.8 kB / 0.724 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.1915, allocations: 35.98 kB / 0.724 GB, free: 10.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.1917, allocations: 203.3 kB / 0.7242 GB, free: 9.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1919, allocations: 97.62 kB / 0.7243 GB, free: 9.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1919, allocations: 0 / 0.7243 GB, free: 9.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002358/0.1921, allocations: 161.4 kB / 0.7244 GB, free: 9.559 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1921, allocations: 4 kB / 0.7244 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.1921, allocations: 4 kB / 0.7244 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1922, allocations: 4 kB / 0.7244 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.1922, allocations: 16 kB / 0.7245 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1922, allocations: 3.938 kB / 0.7245 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.1925, allocations: 75.8 kB / 0.7245 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1925, allocations: 8 kB / 0.7245 GB, free: 9.445 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.0001301/0.1926, allocations: 139.2 kB / 0.7247 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.1927, allocations: 15.84 kB / 0.7247 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.1927, allocations: 16.7 kB / 0.7247 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1927, allocations: 4 kB / 0.7247 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1927, allocations: 0 / 0.7247 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1927, allocations: 0 / 0.7247 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1929, allocations: 168.6 kB / 0.7249 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1929, allocations: 4 kB / 0.7249 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.1929, allocations: 8 kB / 0.7249 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1929, allocations: 0 / 0.7249 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1929, allocations: 4 kB / 0.7249 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1929, allocations: 0 / 0.7249 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1929, allocations: 0 / 0.7249 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.1932, allocations: 185.7 kB / 0.7251 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.1932, allocations: 11.95 kB / 0.7251 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1932, allocations: 3.984 kB / 0.7251 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.1932, allocations: 4 kB / 0.7251 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1933, allocations: 7.984 kB / 0.7251 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1933, allocations: 4 kB / 0.7251 GB, free: 8.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.1934, allocations: 113 kB / 0.7252 GB, free: 8.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1934, allocations: 0 / 0.7252 GB, free: 8.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003732/0.1937, allocations: 71.88 kB / 0.7253 GB, free: 8.625 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.0006741/0.1944, allocations: 0.8007 MB / 0.7261 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1947, allocations: 152.1 kB / 0.7262 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1947, allocations: 3.938 kB / 0.7262 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.529e-05/0.1947, allocations: 39.98 kB / 0.7262 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.1949, allocations: 11.94 kB / 0.7263 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.1968, allocations: 1.713 MB / 0.7279 GB, free: 5.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1971, allocations: 0.704 MB / 0.7286 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.32e-05/0.1972, allocations: 8.672 kB / 0.7286 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.1972, allocations: 31.42 kB / 0.7287 GB, free: 5.004 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1972, allocations: 4 kB / 0.7287 GB, free: 5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.2289, allocations: 4.186 MB / 0.7327 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.41, allocations: 4 kB / 0.7327 GB, free: 0.9727 MB / 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.214939335000963] Failed to read output from testmodel.py, exit status != 0: 11.517439249000745 11.54516794 11.352351493 Calling exit ...