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.001419/0.001419, allocations: 123.1 kB / 17.17 MB, free: 5.918 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.001461/0.001461, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9347/0.9347, allocations: 133.9 MB / 443.5 MB, free: 13.97 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.002054/0.002054, allocations: 67.27 kB / 0.6141 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2006, allocations: 85.85 MB / 0.6979 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003577/0.2042, allocations: 1.7 MB / 0.6996 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.2072, allocations: 1.704 MB / 0.7013 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2073, allocations: 1.375 kB / 0.7013 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.2076, allocations: 45.33 kB / 0.7013 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.208, allocations: 104.3 kB / 0.7014 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.2082, allocations: 93.64 kB / 0.7015 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.2085, allocations: 142.5 kB / 0.7016 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.2085, allocations: 5.578 kB / 0.7016 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.2088, allocations: 77.81 kB / 0.7017 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.209, allocations: 56.33 kB / 0.7018 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.209, allocations: 6.875 kB / 0.7018 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.2092, allocations: 113.8 kB / 0.7019 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.2093, allocations: 38.64 kB / 0.7019 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.2093, allocations: 42.73 kB / 0.702 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.2097, allocations: 206.2 kB / 0.7022 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2097, allocations: 0 / 0.7022 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2097, allocations: 4 kB / 0.7022 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.2097, allocations: 1.375 kB / 0.7022 GB, free: 10.28 MB / 0.5137 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.0008315/0.2106, allocations: 471.6 kB / 0.7026 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2106, allocations: 11.05 kB / 0.7026 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.759e-05/0.2106, allocations: 1.5 kB / 0.7026 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.2107, allocations: 40.06 kB / 0.7027 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.2108, allocations: 20.91 kB / 0.7027 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.2112, allocations: 229.3 kB / 0.7029 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.2112, allocations: 9.719 kB / 0.7029 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.2112, allocations: 2.625 kB / 0.7029 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.2115, allocations: 104.5 kB / 0.703 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2115, allocations: 3.938 kB / 0.703 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2116, allocations: 1.031 kB / 0.703 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2116, allocations: 4.938 kB / 0.703 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.2117, allocations: 48.36 kB / 0.7031 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.212, allocations: 215.3 kB / 0.7033 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.2123, allocations: 113.8 kB / 0.7034 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2125, allocations: 49.14 kB / 0.7034 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.2125, allocations: 5.656 kB / 0.7034 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.2128, allocations: 107.5 kB / 0.7035 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.2128, allocations: 1 kB / 0.7035 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0005978/0.2134, allocations: 162.5 kB / 0.7037 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.2135, allocations: 134.3 kB / 0.7038 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.2138, allocations: 195.2 kB / 0.704 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2138, allocations: 29.7 kB / 0.704 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.2139, allocations: 104.1 kB / 0.7041 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.2139, allocations: 31.77 kB / 0.7042 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.214, allocations: 25.7 kB / 0.7042 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.2141, allocations: 326.8 kB / 0.7045 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.2142, allocations: 31.98 kB / 0.7045 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2144, allocations: 64.2 kB / 0.7046 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.2146, allocations: 99.55 kB / 0.7047 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2146, allocations: 0 / 0.7047 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003182/0.2149, allocations: 141.7 kB / 0.7048 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2149, allocations: 4 kB / 0.7048 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.215, allocations: 4 kB / 0.7048 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.215, allocations: 0 / 0.7048 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2151, allocations: 24.08 kB / 0.7048 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2151, allocations: 4 kB / 0.7049 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.2152, allocations: 15.97 kB / 0.7049 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2152, allocations: 4 kB / 0.7049 GB, free: 7.508 MB / 0.5137 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.0001313/0.2153, allocations: 138.3 kB / 0.705 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.2154, allocations: 15.91 kB / 0.705 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.2154, allocations: 13.41 kB / 0.705 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.2154, allocations: 0 / 0.705 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2154, allocations: 4 kB / 0.705 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2154, allocations: 7.984 kB / 0.705 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.2156, allocations: 209.5 kB / 0.7052 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2156, allocations: 0 / 0.7052 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/0.2157, allocations: 15.98 kB / 0.7053 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2157, allocations: 0 / 0.7053 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2157, allocations: 4 kB / 0.7053 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2157, allocations: 0 / 0.7053 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2157, allocations: 0 / 0.7053 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.2161, allocations: 170.6 kB / 0.7054 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.2162, allocations: 97 kB / 0.7055 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.2162, allocations: 4 kB / 0.7055 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.2163, allocations: 4 kB / 0.7055 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.2163, allocations: 11.98 kB / 0.7055 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2163, allocations: 8 kB / 0.7055 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001483/0.2165, allocations: 144.1 kB / 0.7057 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2165, allocations: 0 / 0.7057 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002956/0.2168, allocations: 47.86 kB / 0.7057 GB, free: 6.523 MB / 0.5137 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.002498/0.2193, allocations: 1.114 MB / 0.7068 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.2196, allocations: 79.89 kB / 0.7069 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.2197, allocations: 0 / 0.7069 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2198, allocations: 40.16 kB / 0.7069 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.2201, allocations: 31.8 kB / 0.707 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.2228, allocations: 1.738 MB / 0.7087 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.2232, allocations: 0.708 MB / 0.7093 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000107/0.2233, allocations: 24.56 kB / 0.7094 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.2234, allocations: 43.42 kB / 0.7094 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.2234, allocations: 0 / 0.7094 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.2487, allocations: 4.416 MB / 0.7137 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.428, allocations: 4.062 kB / 0.7137 GB, free: 14.46 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.671307775948662] Failed to read output from testmodel.py, exit status != 0: 9.01354255800834 8.62451723 8.41184895 Calling exit ...