Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.001276/0.001276, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001543/0.001543, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00257/0.00257, allocations: 278.4 kB / 312.7 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.249/1.249, allocations: 180.6 MB / 0.5369 GB, free: 13.01 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002864/0.002864, allocations: 105 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1874, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002593/0.19, allocations: 1.377 MB / 0.8341 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001482/0.1901, allocations: 35.83 kB / 0.8341 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.1902, allocations: 4 kB / 0.8341 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1903, allocations: 15.91 kB / 0.8341 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1904, allocations: 15.94 kB / 0.8341 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.497e-06/0.1904, allocations: 0 / 0.8341 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.1905, allocations: 15.86 kB / 0.8342 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.1905, allocations: 8 kB / 0.8342 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.557e-05/0.1906, allocations: 0 / 0.8342 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.1906, allocations: 15.91 kB / 0.8342 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1906, allocations: 0 / 0.8342 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.1907, allocations: 12 kB / 0.8342 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.1907, allocations: 11.94 kB / 0.8342 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.1907, allocations: 3.938 kB / 0.8342 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1908, allocations: 32.06 kB / 0.8342 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1908, allocations: 4 kB / 0.8342 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1908, allocations: 0 / 0.8342 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.1909, allocations: 0 / 0.8342 GB, free: 7.102 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003207/0.1912, allocations: 262.2 kB / 0.8345 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1912, allocations: 9.344 kB / 0.8345 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.1913, allocations: 34.73 kB / 0.8345 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.1913, allocations: 4.938 kB / 0.8345 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1915, allocations: 114.5 kB / 0.8346 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1915, allocations: 4.375 kB / 0.8346 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.1915, allocations: 384 / 0.8346 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.1916, allocations: 42.25 kB / 0.8347 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1916, allocations: 3.938 kB / 0.8347 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.1916, allocations: 0 / 0.8347 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1916, allocations: 0 / 0.8347 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.1916, allocations: 7.938 kB / 0.8347 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.1919, allocations: 212 kB / 0.8349 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.882e-05/0.1919, allocations: 22.52 kB / 0.8349 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.192, allocations: 8.922 kB / 0.8349 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.192, allocations: 0 / 0.8349 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.192, allocations: 34.5 kB / 0.835 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.192, allocations: 0 / 0.835 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.1921, allocations: 41.73 kB / 0.835 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1922, allocations: 55.44 kB / 0.8351 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.1923, allocations: 113.8 kB / 0.8352 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1923, allocations: 25.7 kB / 0.8352 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1923, allocations: 88.14 kB / 0.8353 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.1923, allocations: 0 / 0.8353 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.1924, allocations: 13.7 kB / 0.8353 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1925, allocations: 318.8 kB / 0.8356 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.1925, allocations: 8 kB / 0.8356 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.1925, allocations: 0 / 0.8356 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.1925, allocations: 12.8 kB / 0.8356 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1925, allocations: 7.938 kB / 0.8356 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.265e-05/0.1926, allocations: 37.64 kB / 0.8357 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1926, allocations: 8 kB / 0.8357 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1926, allocations: 320 / 0.8357 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1926, allocations: 0 / 0.8357 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-05/0.1927, allocations: 0 / 0.8357 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1927, allocations: 4.094 kB / 0.8357 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.1927, allocations: 0 / 0.8357 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1927, allocations: 7.984 kB / 0.8357 GB, free: 5.434 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 7.234e-05/0.1928, allocations: 118.4 kB / 0.8358 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.1928, allocations: 7.984 kB / 0.8358 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/0.1929, allocations: 37.11 kB / 0.8358 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1929, allocations: 0 / 0.8358 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1929, allocations: 4 kB / 0.8358 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1929, allocations: 4.031 kB / 0.8358 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.193, allocations: 128.7 kB / 0.836 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.193, allocations: 3.984 kB / 0.836 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.1931, allocations: 0 / 0.836 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.1931, allocations: 4 kB / 0.836 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.1931, allocations: 0 / 0.836 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1931, allocations: 0 / 0.836 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1931, allocations: 0 / 0.836 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.1932, allocations: 143.4 kB / 0.8361 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.1932, allocations: 7.969 kB / 0.8361 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1932, allocations: 4 kB / 0.8361 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.1933, allocations: 4 kB / 0.8361 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.1933, allocations: 0 / 0.8361 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.1933, allocations: 0 / 0.8361 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.223e-05/0.1933, allocations: 95.25 kB / 0.8362 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1933, allocations: 0 / 0.8362 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002215/0.1936, allocations: 11.94 kB / 0.8362 GB, free: 4.793 MB / 0.5762 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 (1): * Single equations (assignments): 1 * 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.000506/0.1941, allocations: 0.6851 MB / 0.8369 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.946e-05/0.1941, allocations: 11.97 kB / 0.8369 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.1941, allocations: 0 / 0.8369 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.448e-06/0.1942, allocations: 4 kB / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1944, allocations: 5.234 kB / 0.8369 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1954, allocations: 1.184 MB / 0.8381 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1957, allocations: 0.6768 MB / 0.8387 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.256e-05/0.1958, allocations: 4 kB / 0.8387 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.1959, allocations: 15.42 kB / 0.8387 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.1959, allocations: 4.031 kB / 0.8388 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.2225, allocations: 1.514 MB / 0.8402 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.61, allocations: 4 kB / 0.8402 GB, free: 0.6953 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.871374377002212] Failed to read output from testmodel.py, exit status != 0: 10.709565332999773 10.736664904 10.541083773 Calling exit ...