Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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.001753/0.001753, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.002346/0.002346, allocations: 205 kB / 20.09 MB, free: 2.977 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9963/0.9963, allocations: 150 MB / 459.5 MB, free: 5.719 MB / 350.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.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",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.002139/0.002139, allocations: 77.11 kB / 0.6361 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1788, allocations: 89.13 MB / 0.7231 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003105/0.1819, allocations: 1.5 MB / 0.7246 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1838, allocations: 1.148 MB / 0.7257 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.1839, allocations: 4 kB / 0.7257 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.184, allocations: 15.84 kB / 0.7257 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.1842, allocations: 43.78 kB / 0.7258 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.1844, allocations: 66.94 kB / 0.7259 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.1847, allocations: 147.5 kB / 0.726 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.1849, allocations: 65.28 kB / 0.7261 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.185, allocations: 75.78 kB / 0.7261 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1852, allocations: 59.69 kB / 0.7262 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.1852, allocations: 12 kB / 0.7262 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.1853, allocations: 28 kB / 0.7262 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.188e-05/0.1854, allocations: 47.81 kB / 0.7263 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.1855, allocations: 75.58 kB / 0.7263 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1857, allocations: 191.3 kB / 0.7265 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1857, allocations: 0 / 0.7265 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1857, allocations: 3.938 kB / 0.7265 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1858, allocations: 0 / 0.7265 GB, free: 0.6211 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008228/0.1866, allocations: 0.4984 MB / 0.727 GB, free: 76 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1866, allocations: 12.03 kB / 0.727 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.568e-05/0.1867, allocations: 42.67 kB / 0.7271 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/0.1868, allocations: 24.03 kB / 0.7271 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1871, allocations: 247.8 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.1873, allocations: 123.4 kB / 0.7274 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1873, allocations: 5.125 kB / 0.7274 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.1877, allocations: 170.1 kB / 0.7276 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1877, allocations: 0 / 0.7276 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.1877, allocations: 7.938 kB / 0.7276 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.1877, allocations: 11.98 kB / 0.7276 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.1878, allocations: 39.97 kB / 0.7277 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.189, allocations: 460.4 kB / 0.7281 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.1891, allocations: 30.58 kB / 0.7281 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.1891, allocations: 32.83 kB / 0.7282 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1891, allocations: 0 / 0.7282 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1892, allocations: 38.72 kB / 0.7282 GB, free: 14.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.1892, allocations: 0 / 0.7282 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0002652/0.1894, allocations: 113.5 kB / 0.7283 GB, free: 14.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1895, allocations: 51.41 kB / 0.7284 GB, free: 14.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1897, allocations: 215.8 kB / 0.7286 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.1898, allocations: 25.7 kB / 0.7286 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.1899, allocations: 124.1 kB / 0.7287 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1899, allocations: 31.83 kB / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.1899, allocations: 29.7 kB / 0.7288 GB, free: 14.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1901, allocations: 334.8 kB / 0.7291 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.1902, allocations: 31.91 kB / 0.7291 GB, free: 13.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1903, allocations: 98.23 kB / 0.7292 GB, free: 13.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1905, allocations: 146.1 kB / 0.7293 GB, free: 13.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1905, allocations: 0 / 0.7293 GB, free: 13.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002767/0.1907, allocations: 153.4 kB / 0.7295 GB, free: 13.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1908, allocations: 10.03 kB / 0.7295 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1908, allocations: 0 / 0.7295 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1908, allocations: 4 kB / 0.7295 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.1909, allocations: 27.92 kB / 0.7295 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1909, allocations: 4 kB / 0.7295 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.1909, allocations: 7.938 kB / 0.7295 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.191, allocations: 15.94 kB / 0.7296 GB, free: 13.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001434/0.1911, allocations: 146 kB / 0.7297 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.1912, allocations: 23.86 kB / 0.7297 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.1914, allocations: 114.9 kB / 0.7298 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1914, allocations: 0 / 0.7298 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1914, allocations: 3.984 kB / 0.7298 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1914, allocations: 0 / 0.7298 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.1917, allocations: 229.5 kB / 0.7301 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1917, allocations: 0 / 0.7301 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.1917, allocations: 19.92 kB / 0.7301 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1917, allocations: 4 kB / 0.7301 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.1917, allocations: 4 kB / 0.7301 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1917, allocations: 400 / 0.7301 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1917, allocations: 0 / 0.7301 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.1919, allocations: 195.4 kB / 0.7303 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.192, allocations: 89 kB / 0.7304 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.192, allocations: 4 kB / 0.7304 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.1923, allocations: 19.92 kB / 0.7304 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.1923, allocations: 11.98 kB / 0.7304 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1924, allocations: 11.98 kB / 0.7304 GB, free: 12.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001777/0.1925, allocations: 165.5 kB / 0.7306 GB, free: 12.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1925, allocations: 3.938 kB / 0.7306 GB, free: 12.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003034/0.1928, allocations: 31.89 kB / 0.7306 GB, free: 12.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0006965/0.1935, allocations: 0.745 MB / 0.7313 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.1937, allocations: 64.53 kB / 0.7314 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1937, allocations: 4 kB / 0.7314 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.1937, allocations: 27.98 kB / 0.7314 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.194, allocations: 23.98 kB / 0.7314 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.1963, allocations: 1.916 MB / 0.7333 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.1967, allocations: 0.7353 MB / 0.734 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.1969, allocations: 56.72 kB / 0.7341 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.1969, allocations: 47.41 kB / 0.7341 GB, free: 8.211 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1969, allocations: 0 / 0.7341 GB, free: 8.211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.2275, allocations: 4.22 MB / 0.7382 GB, free: 4.129 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.378, allocations: 11.61 kB / 0.7383 GB, free: 4.121 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.394142974168062] Failed to read output from testmodel.py, exit status != 0: 8.447144145146012 8.461331256 8.27273165 Calling exit ...