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.00137/0.00137, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001636/0.001636, allocations: 213.5 kB / 22.24 MB, free: 5.262 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.781 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.9163/0.9163, allocations: 134 MB / 446.4 MB, free: 9.945 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.002279/0.002279, allocations: 69.64 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2245, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003405/0.2279, allocations: 1.674 MB / 0.704 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.2308, allocations: 1.722 MB / 0.7057 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.2309, allocations: 0 / 0.7057 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.2313, allocations: 43.72 kB / 0.7057 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.2317, allocations: 111.5 kB / 0.7058 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.232, allocations: 91.67 kB / 0.7059 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.2323, allocations: 139.5 kB / 0.7061 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.2323, allocations: 5.641 kB / 0.7061 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.2326, allocations: 75.69 kB / 0.7061 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.2328, allocations: 61.67 kB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.2328, allocations: 4 kB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.2331, allocations: 111.9 kB / 0.7063 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.2331, allocations: 27.92 kB / 0.7063 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.2332, allocations: 35.73 kB / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.2336, allocations: 211.4 kB / 0.7066 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2336, allocations: 0 / 0.7066 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2336, allocations: 0 / 0.7066 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2336, allocations: 0 / 0.7066 GB, free: 12.74 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.0007674/0.2343, allocations: 401.2 kB / 0.7069 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2344, allocations: 11.97 kB / 0.707 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.2344, allocations: 34.75 kB / 0.707 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.2346, allocations: 28.88 kB / 0.707 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.2349, allocations: 163.1 kB / 0.7072 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.235, allocations: 4.312 kB / 0.7072 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.235, allocations: 7.938 kB / 0.7072 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.2353, allocations: 122.8 kB / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2353, allocations: 0 / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2353, allocations: 0 / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2353, allocations: 4 kB / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.2355, allocations: 59.89 kB / 0.7074 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.2358, allocations: 178.5 kB / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.2361, allocations: 115.7 kB / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.2362, allocations: 50.61 kB / 0.7077 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2362, allocations: 4 kB / 0.7077 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.2365, allocations: 121.9 kB / 0.7078 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2365, allocations: 0 / 0.7078 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0005366/0.237, allocations: 169.5 kB / 0.708 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.2371, allocations: 136.5 kB / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.2374, allocations: 208.3 kB / 0.7083 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2374, allocations: 25.7 kB / 0.7083 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.2375, allocations: 108.1 kB / 0.7084 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.2375, allocations: 24.09 kB / 0.7085 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.2376, allocations: 33.7 kB / 0.7085 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2377, allocations: 322.8 kB / 0.7088 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2378, allocations: 31.97 kB / 0.7088 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.238, allocations: 97.91 kB / 0.7089 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.2383, allocations: 99.61 kB / 0.709 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.2383, allocations: 11.94 kB / 0.709 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003276/0.2386, allocations: 133.5 kB / 0.7092 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.2386, allocations: 11.98 kB / 0.7092 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2386, allocations: 0 / 0.7092 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2387, allocations: 3.938 kB / 0.7092 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2388, allocations: 19.98 kB / 0.7092 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2388, allocations: 4 kB / 0.7092 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.2389, allocations: 15.97 kB / 0.7092 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.2389, allocations: 7.984 kB / 0.7092 GB, free: 9.719 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.0001316/0.2391, allocations: 125.8 kB / 0.7093 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.2391, allocations: 15.91 kB / 0.7093 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.2394, allocations: 123 kB / 0.7095 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2394, allocations: 7.984 kB / 0.7095 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2394, allocations: 0 / 0.7095 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2394, allocations: 0 / 0.7095 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.2396, allocations: 172.6 kB / 0.7096 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2396, allocations: 8 kB / 0.7096 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.2397, allocations: 15.98 kB / 0.7097 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2397, allocations: 0 / 0.7097 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.2397, allocations: 8 kB / 0.7097 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2397, allocations: 0 / 0.7097 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2397, allocations: 3.938 kB / 0.7097 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.2401, allocations: 186.6 kB / 0.7098 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.2401, allocations: 15.91 kB / 0.7099 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.2402, allocations: 8 kB / 0.7099 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.2403, allocations: 7.984 kB / 0.7099 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.2403, allocations: 11.98 kB / 0.7099 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.2403, allocations: 4 kB / 0.7099 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001651/0.2405, allocations: 152.1 kB / 0.71 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2405, allocations: 0 / 0.71 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003012/0.2408, allocations: 47.88 kB / 0.7101 GB, free: 8.738 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.002614/0.2434, allocations: 1.158 MB / 0.7112 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.2438, allocations: 87.89 kB / 0.7113 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.2438, allocations: 4 kB / 0.7113 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2439, allocations: 51.84 kB / 0.7114 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.2443, allocations: 36.89 kB / 0.7114 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.2469, allocations: 1.771 MB / 0.7131 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.247, allocations: 93.17 kB / 0.7132 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.2471, allocations: 20.64 kB / 0.7132 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2472, allocations: 51.41 kB / 0.7133 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.2472, allocations: 0 / 0.7133 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.2851, allocations: 5.156 MB / 0.7183 GB, free: 492 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.21, allocations: 7.938 kB / 0.7183 GB, free: 488 kB / 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: 15.07634478714317] Failed to read output from testmodel.py, exit status != 0: 11.377747836057097 11.407687472 11.168704452 Calling exit ...