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.001342/0.001342, allocations: 110.4 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.003255/0.003255, 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.984 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.8795/0.8795, allocations: 134 MB / 446.4 MB, free: 10.17 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.00203/0.00203, allocations: 70.67 kB / 0.6185 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1728, allocations: 85.9 MB / 0.7024 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003516/0.1763, allocations: 1.72 MB / 0.7041 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.1793, allocations: 1.796 MB / 0.7059 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1794, allocations: 3.938 kB / 0.7059 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.1797, allocations: 43.77 kB / 0.7059 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.1801, allocations: 107.5 kB / 0.706 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1804, allocations: 95.66 kB / 0.7061 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.1807, allocations: 135.5 kB / 0.7062 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.042e-05/0.1807, allocations: 9.625 kB / 0.7062 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.181, allocations: 79.64 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1812, allocations: 55.75 kB / 0.7064 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1812, allocations: 8 kB / 0.7064 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1814, allocations: 115.9 kB / 0.7065 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.1815, allocations: 23.91 kB / 0.7065 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.1816, allocations: 47.69 kB / 0.7066 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.182, allocations: 207.4 kB / 0.7068 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.182, allocations: 7.984 kB / 0.7068 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.182, allocations: 0 / 0.7068 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.182, allocations: 0 / 0.7068 GB, free: 12.9 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.0007811/0.1828, allocations: 401.1 kB / 0.7071 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1828, allocations: 8.031 kB / 0.7072 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.1829, allocations: 42.73 kB / 0.7072 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.1831, allocations: 16.89 kB / 0.7072 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.1834, allocations: 171.1 kB / 0.7074 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1834, allocations: 384 / 0.7074 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1834, allocations: 11.94 kB / 0.7074 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.1837, allocations: 101 kB / 0.7075 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1837, allocations: 0 / 0.7075 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1837, allocations: 7.938 kB / 0.7075 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1837, allocations: 0 / 0.7075 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.1839, allocations: 55.89 kB / 0.7075 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.1842, allocations: 186.5 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1844, allocations: 119.6 kB / 0.7078 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1846, allocations: 46.61 kB / 0.7079 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1846, allocations: 4 kB / 0.7079 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.1848, allocations: 117.9 kB / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.1848, allocations: 0 / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0005206/0.1854, allocations: 161.5 kB / 0.7081 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.1854, allocations: 128.8 kB / 0.7083 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1857, allocations: 200.3 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1857, allocations: 29.7 kB / 0.7085 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.1858, allocations: 108.1 kB / 0.7086 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.1858, allocations: 27.78 kB / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1858, allocations: 21.72 kB / 0.7086 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.186, allocations: 326.8 kB / 0.709 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1861, allocations: 31.98 kB / 0.709 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1862, allocations: 64.52 kB / 0.709 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.1865, allocations: 99.38 kB / 0.7091 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1865, allocations: 3.938 kB / 0.7091 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003185/0.1868, allocations: 133.5 kB / 0.7093 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1868, allocations: 4 kB / 0.7093 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1868, allocations: 0 / 0.7093 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1868, allocations: 4 kB / 0.7093 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1869, allocations: 23.92 kB / 0.7093 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.187, allocations: 96 / 0.7093 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.187, allocations: 23.92 kB / 0.7093 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1871, allocations: 4 kB / 0.7093 GB, free: 9.98 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.000122/0.1872, allocations: 125.8 kB / 0.7094 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.1872, allocations: 11.91 kB / 0.7095 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.1875, allocations: 111 kB / 0.7096 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1875, allocations: 0 / 0.7096 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1875, allocations: 4 kB / 0.7096 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1875, allocations: 7.984 kB / 0.7096 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.1877, allocations: 176.6 kB / 0.7097 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1877, allocations: 192 / 0.7097 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-05/0.1878, allocations: 15.98 kB / 0.7098 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1878, allocations: 3.938 kB / 0.7098 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1878, allocations: 4 kB / 0.7098 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1878, allocations: 4.062 kB / 0.7098 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1878, allocations: 4 kB / 0.7098 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.1881, allocations: 174.6 kB / 0.7099 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.1882, allocations: 23.89 kB / 0.71 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1882, allocations: 0 / 0.71 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.1883, allocations: 4 kB / 0.71 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.1883, allocations: 11.98 kB / 0.71 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.1884, allocations: 7.984 kB / 0.71 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001476/0.1885, allocations: 148.1 kB / 0.7101 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1885, allocations: 0 / 0.7101 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003049/0.1888, allocations: 43.88 kB / 0.7102 GB, free: 9.031 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.002368/0.1912, allocations: 1.1 MB / 0.7112 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.1915, allocations: 79.89 kB / 0.7113 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1915, allocations: 0 / 0.7113 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.1916, allocations: 43.91 kB / 0.7114 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1919, allocations: 46.7 kB / 0.7114 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.1943, allocations: 1.735 MB / 0.7131 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1947, allocations: 0.7118 MB / 0.7138 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.081e-05/0.1948, allocations: 28.86 kB / 0.7138 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.1949, allocations: 43.42 kB / 0.7139 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.1949, allocations: 0 / 0.7139 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.2322, allocations: 4.531 MB / 0.7183 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.05, allocations: 8.375 kB / 0.7183 GB, free: 0.8359 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 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.795349402120337] Failed to read output from testmodel.py, exit status != 0: 11.206994911888614 11.225332696 11.040119352 Calling exit ...