Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00162/0.00162, 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.00202/0.00202, allocations: 216.3 kB / 22.25 MB, free: 5.129 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.869/0.869, allocations: 134 MB / 446.4 MB, free: 10.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001954/0.001954, allocations: 63.06 kB / 0.6185 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.173, allocations: 85.9 MB / 0.7024 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003196/0.1762, allocations: 1.716 MB / 0.7041 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002692/0.1789, allocations: 1.796 MB / 0.7059 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.41e-05/0.1789, allocations: 3.938 kB / 0.7059 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.1792, allocations: 43.77 kB / 0.7059 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.1796, allocations: 103.5 kB / 0.706 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.1798, allocations: 95.64 kB / 0.7061 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.18, allocations: 143.5 kB / 0.7062 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.1801, allocations: 5.641 kB / 0.7062 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.1803, allocations: 75.66 kB / 0.7063 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.1808, allocations: 61.62 kB / 0.7064 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.1808, allocations: 8 kB / 0.7064 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.181, allocations: 111.9 kB / 0.7065 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.181, allocations: 27.91 kB / 0.7065 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.1811, allocations: 51.67 kB / 0.7066 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.1814, allocations: 207.5 kB / 0.7068 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1814, allocations: 0 / 0.7068 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1814, allocations: 4 kB / 0.7068 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.1814, allocations: 0 / 0.7068 GB, free: 12.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000686/0.1821, allocations: 405 kB / 0.7071 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1822, allocations: 12.02 kB / 0.7072 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.1822, allocations: 34.75 kB / 0.7072 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1824, allocations: 20.88 kB / 0.7072 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.1827, allocations: 163.1 kB / 0.7074 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1827, allocations: 12.38 kB / 0.7074 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.1827, allocations: 7.922 kB / 0.7074 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1829, allocations: 101 kB / 0.7075 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.183, allocations: 4 kB / 0.7075 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.183, allocations: 0 / 0.7075 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.183, allocations: 0 / 0.7075 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.1831, allocations: 55.89 kB / 0.7075 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.1834, allocations: 186.5 kB / 0.7077 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.1837, allocations: 119.6 kB / 0.7078 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1838, allocations: 50.61 kB / 0.7079 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1838, allocations: 4 kB / 0.7079 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.1841, allocations: 109.9 kB / 0.708 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1841, allocations: 0 / 0.708 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004774/0.1846, allocations: 161.5 kB / 0.7081 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.1846, allocations: 128.8 kB / 0.7083 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1849, allocations: 208.3 kB / 0.7085 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1849, allocations: 25.7 kB / 0.7085 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.185, allocations: 104.1 kB / 0.7086 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.185, allocations: 27.83 kB / 0.7086 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.185, allocations: 21.7 kB / 0.7086 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1852, allocations: 326.8 kB / 0.7089 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1853, allocations: 35.92 kB / 0.709 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1854, allocations: 64.27 kB / 0.709 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.1857, allocations: 95.33 kB / 0.7091 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1857, allocations: 7.969 kB / 0.7091 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003118/0.186, allocations: 133.5 kB / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.186, allocations: 4 kB / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.186, allocations: 0 / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.186, allocations: 4 kB / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1861, allocations: 23.92 kB / 0.7093 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.1861, allocations: 0 / 0.7093 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.1862, allocations: 20.2 kB / 0.7093 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1862, allocations: 0 / 0.7093 GB, free: 10.04 MB / 0.5294 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.0001224/0.1864, allocations: 134.4 kB / 0.7094 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1864, allocations: 15.91 kB / 0.7095 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.1867, allocations: 111.4 kB / 0.7096 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1867, allocations: 0 / 0.7096 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1867, allocations: 0 / 0.7096 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1867, allocations: 4 kB / 0.7096 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.1869, allocations: 184.6 kB / 0.7097 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1869, allocations: 0 / 0.7097 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/0.187, allocations: 15.98 kB / 0.7098 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.187, allocations: 0 / 0.7098 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.187, allocations: 4 kB / 0.7098 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.187, allocations: 3.938 kB / 0.7098 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.187, allocations: 3.984 kB / 0.7098 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.1873, allocations: 170.6 kB / 0.7099 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.1874, allocations: 15.89 kB / 0.71 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1874, allocations: 4 kB / 0.71 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.1875, allocations: 7.984 kB / 0.71 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.1875, allocations: 11.98 kB / 0.71 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1875, allocations: 4 kB / 0.71 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001651/0.1877, allocations: 148.1 kB / 0.7101 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1877, allocations: 0 / 0.7101 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002944/0.188, allocations: 43.86 kB / 0.7102 GB, free: 9.094 MB / 0.5294 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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.002376/0.1904, allocations: 1.109 MB / 0.7112 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.1907, allocations: 83.88 kB / 0.7113 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1907, allocations: 0 / 0.7113 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1908, allocations: 39.92 kB / 0.7114 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.1911, allocations: 34.59 kB / 0.7114 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1934, allocations: 1.741 MB / 0.7131 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1937, allocations: 0.708 MB / 0.7138 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.101e-05/0.1938, allocations: 28.62 kB / 0.7138 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.1939, allocations: 47.34 kB / 0.7139 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.1939, allocations: 0 / 0.7139 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.2262, allocations: 4.533 MB / 0.7183 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.99, allocations: 13.62 kB / 0.7183 GB, free: 0.8906 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.814868351000769] Failed to read output from testmodel.py, exit status != 0: 11.157405580997874 11.180149754 10.994368971 Calling exit ...