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.001364/0.001364, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001527/0.001527, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9251/0.9251, allocations: 134 MB / 447.2 MB, free: 9.969 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="cs",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.001967/0.001967, allocations: 66.88 kB / 0.6192 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1853, allocations: 85.9 MB / 0.7031 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003169/0.1885, allocations: 1.68 MB / 0.7048 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.1911, allocations: 1.71 MB / 0.7064 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.1912, allocations: 4 kB / 0.7064 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.1914, allocations: 43.77 kB / 0.7065 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.1918, allocations: 107.5 kB / 0.7066 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.192, allocations: 95.64 kB / 0.7067 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1922, allocations: 139.5 kB / 0.7068 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.1922, allocations: 5.641 kB / 0.7068 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1924, allocations: 79.69 kB / 0.7069 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006996/0.1931, allocations: 47.72 kB / 0.7069 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1931, allocations: 8 kB / 0.7069 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.1933, allocations: 119.9 kB / 0.7071 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.1934, allocations: 31.84 kB / 0.7071 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.1934, allocations: 35.8 kB / 0.7071 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1938, allocations: 215.4 kB / 0.7073 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1938, allocations: 0 / 0.7073 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1938, allocations: 0 / 0.7073 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.1938, allocations: 0 / 0.7073 GB, free: 12.76 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.0006516/0.1944, allocations: 401.2 kB / 0.7077 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1945, allocations: 8.031 kB / 0.7077 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.38e-05/0.1945, allocations: 4.188 kB / 0.7077 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1945, allocations: 38.75 kB / 0.7078 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.1947, allocations: 20.88 kB / 0.7078 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.195, allocations: 163.1 kB / 0.7079 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.195, allocations: 4.125 kB / 0.7079 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.195, allocations: 11.98 kB / 0.708 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.1953, allocations: 122.7 kB / 0.7081 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1953, allocations: 3.938 kB / 0.7081 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1953, allocations: 8 kB / 0.7081 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1953, allocations: 0 / 0.7081 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.1955, allocations: 55.89 kB / 0.7081 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.1957, allocations: 182.5 kB / 0.7083 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.196, allocations: 119.7 kB / 0.7084 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1961, allocations: 46.61 kB / 0.7085 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1962, allocations: 4 kB / 0.7085 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.1964, allocations: 113.9 kB / 0.7086 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1964, allocations: 0 / 0.7086 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.000501/0.1969, allocations: 169.5 kB / 0.7087 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.197, allocations: 132.5 kB / 0.7089 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1972, allocations: 208.3 kB / 0.7091 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1972, allocations: 25.7 kB / 0.7091 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.1973, allocations: 116.4 kB / 0.7092 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1973, allocations: 23.8 kB / 0.7092 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.1974, allocations: 25.7 kB / 0.7092 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1975, allocations: 322.8 kB / 0.7096 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1976, allocations: 31.97 kB / 0.7096 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.1978, allocations: 94.22 kB / 0.7097 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.198, allocations: 111.3 kB / 0.7098 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.198, allocations: 192 / 0.7098 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003216/0.1983, allocations: 133.5 kB / 0.7099 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1983, allocations: 15.92 kB / 0.7099 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1983, allocations: 0 / 0.7099 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1984, allocations: 4 kB / 0.7099 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1985, allocations: 24.02 kB / 0.71 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.1985, allocations: 4 kB / 0.71 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.1986, allocations: 7.938 kB / 0.71 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.1986, allocations: 11.98 kB / 0.71 GB, free: 9.742 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.0001168/0.1987, allocations: 121.8 kB / 0.7101 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.1987, allocations: 15.91 kB / 0.7101 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.199, allocations: 139 kB / 0.7102 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.199, allocations: 0 / 0.7102 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.199, allocations: 0 / 0.7102 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.199, allocations: 4 kB / 0.7102 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1992, allocations: 176.6 kB / 0.7104 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1992, allocations: 0 / 0.7104 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.682e-05/0.1993, allocations: 15.98 kB / 0.7104 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1993, allocations: 0 / 0.7104 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1993, allocations: 4 kB / 0.7104 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1993, allocations: 0 / 0.7104 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1993, allocations: 4 kB / 0.7104 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1997, allocations: 182.6 kB / 0.7106 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.1997, allocations: 23.91 kB / 0.7106 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1997, allocations: 4.062 kB / 0.7106 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.1998, allocations: 11.98 kB / 0.7106 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.1999, allocations: 11.92 kB / 0.7107 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1999, allocations: 4 kB / 0.7107 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001485/0.2, allocations: 156.1 kB / 0.7108 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2, allocations: 0 / 0.7108 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000285/0.2003, allocations: 43.88 kB / 0.7109 GB, free: 8.758 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 (10): * Single equations (assignments): 8 * 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.002444/0.2028, allocations: 1.15 MB / 0.712 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.2031, allocations: 87.89 kB / 0.7121 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2031, allocations: 0 / 0.7121 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.2032, allocations: 51.89 kB / 0.7121 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2035, allocations: 45.72 kB / 0.7122 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.2059, allocations: 1.772 MB / 0.7139 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.206, allocations: 101.2 kB / 0.714 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.368e-05/0.2061, allocations: 20.62 kB / 0.714 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.2062, allocations: 43.41 kB / 0.714 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.2062, allocations: 3.938 kB / 0.714 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.2337, allocations: 4.815 MB / 0.7187 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.36, allocations: 9.625 kB / 0.7188 GB, free: 0.8398 MB / 0.5294 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.237670483067632] Failed to read output from testmodel.py, exit status != 0: 11.582863679970615 11.610045648 11.41159199 Calling exit ...