Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.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.001697/0.001697, allocations: 114 kB / 17.12 MB, free: 6.008 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.002148/0.002148, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9928/0.9928, allocations: 150 MB / 459.5 MB, free: 5.336 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.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",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.002253/0.002253, allocations: 68.47 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1807, allocations: 89.13 MB / 0.7231 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.003262/0.1839, allocations: 1.72 MB / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.1867, allocations: 1.697 MB / 0.7265 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.1868, allocations: 7.938 kB / 0.7265 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.1871, allocations: 35.77 kB / 0.7265 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.1874, allocations: 111.5 kB / 0.7266 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.1877, allocations: 91.64 kB / 0.7267 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1879, allocations: 143.5 kB / 0.7269 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.188, allocations: 5.453 kB / 0.7269 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.1882, allocations: 71.64 kB / 0.7269 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1883, allocations: 51.7 kB / 0.727 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1884, allocations: 8 kB / 0.727 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.1886, allocations: 127.9 kB / 0.7271 GB, free: 0 / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.1887, allocations: 35.95 kB / 0.7271 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.1887, allocations: 35.75 kB / 0.7272 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.1891, allocations: 211.5 kB / 0.7274 GB, free: 15.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1891, allocations: 0 / 0.7274 GB, free: 15.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1891, allocations: 0 / 0.7274 GB, free: 15.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1891, allocations: 0 / 0.7274 GB, free: 15.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007339/0.1898, allocations: 470.2 kB / 0.7278 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1899, allocations: 16.03 kB / 0.7278 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.1899, allocations: 34.73 kB / 0.7279 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.1901, allocations: 24.83 kB / 0.7279 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.1904, allocations: 225 kB / 0.7281 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1905, allocations: 4.359 kB / 0.7281 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1905, allocations: 7.938 kB / 0.7281 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1907, allocations: 105 kB / 0.7282 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1907, allocations: 0 / 0.7282 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1907, allocations: 0 / 0.7282 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1908, allocations: 4 kB / 0.7282 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.1909, allocations: 55.83 kB / 0.7283 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.1912, allocations: 207.5 kB / 0.7285 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1915, allocations: 115.7 kB / 0.7286 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1916, allocations: 50.61 kB / 0.7286 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1917, allocations: 4 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.1919, allocations: 109.9 kB / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.1919, allocations: 0 / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005394/0.1925, allocations: 161.6 kB / 0.7289 GB, free: 13.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.1926, allocations: 132.5 kB / 0.729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1928, allocations: 191.1 kB / 0.7292 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1928, allocations: 29.7 kB / 0.7292 GB, free: 13.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.1929, allocations: 104.1 kB / 0.7293 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.1929, allocations: 31.73 kB / 0.7294 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.193, allocations: 29.88 kB / 0.7294 GB, free: 13.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1931, allocations: 326.8 kB / 0.7297 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1932, allocations: 27.98 kB / 0.7297 GB, free: 13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1934, allocations: 68.14 kB / 0.7298 GB, free: 12.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.1936, allocations: 95.38 kB / 0.7299 GB, free: 12.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1936, allocations: 3.938 kB / 0.7299 GB, free: 12.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003411/0.194, allocations: 133.8 kB / 0.73 GB, free: 12.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.194, allocations: 8.094 kB / 0.73 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.194, allocations: 8 kB / 0.73 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.194, allocations: 0 / 0.73 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1941, allocations: 19.98 kB / 0.7301 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1941, allocations: 7.938 kB / 0.7301 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.1942, allocations: 11.94 kB / 0.7301 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1942, allocations: 4 kB / 0.7301 GB, free: 12.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001253/0.1943, allocations: 131.1 kB / 0.7302 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.1944, allocations: 23.89 kB / 0.7302 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.1944, allocations: 17.39 kB / 0.7302 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1944, allocations: 0 / 0.7302 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.1945, allocations: 4 kB / 0.7302 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1945, allocations: 0 / 0.7302 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.1947, allocations: 213.5 kB / 0.7305 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1947, allocations: 0 / 0.7305 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.1947, allocations: 15.98 kB / 0.7305 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1947, allocations: 3.938 kB / 0.7305 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1948, allocations: 4 kB / 0.7305 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1948, allocations: 3.938 kB / 0.7305 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1948, allocations: 4 kB / 0.7305 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.1951, allocations: 170.6 kB / 0.7306 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.1952, allocations: 89.02 kB / 0.7307 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.1952, allocations: 3.984 kB / 0.7307 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1953, allocations: 8 kB / 0.7307 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.1954, allocations: 11.98 kB / 0.7308 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1954, allocations: 4 kB / 0.7308 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000147/0.1955, allocations: 144.1 kB / 0.7309 GB, free: 11.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1955, allocations: 3.938 kB / 0.7309 GB, free: 11.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002975/0.1958, allocations: 47.86 kB / 0.7309 GB, free: 11.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.002489/0.1983, allocations: 1.107 MB / 0.732 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.1986, allocations: 80.02 kB / 0.7321 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1986, allocations: 4.062 kB / 0.7321 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1988, allocations: 43.91 kB / 0.7321 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1991, allocations: 27.17 kB / 0.7322 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.2016, allocations: 1.745 MB / 0.7339 GB, free: 8.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.2019, allocations: 0.708 MB / 0.7346 GB, free: 7.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.655e-05/0.202, allocations: 20.62 kB / 0.7346 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.2021, allocations: 47.41 kB / 0.7346 GB, free: 7.891 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2021, allocations: 3.938 kB / 0.7346 GB, free: 7.887 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.2322, allocations: 4.382 MB / 0.7389 GB, free: 3.531 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.522, allocations: 9.938 kB / 0.7389 GB, free: 3.523 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.56090104393661] Failed to read output from testmodel.py, exit status != 0: 8.654782921075821 8.679755322 8.485977855 Calling exit ...