Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001167/0.001167, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001485/0.001485, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.014/1.014, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8304/0.8304, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_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.0009795/0.0009795, allocations: 67.89 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5351, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002173/0.5373, allocations: 1.733 MB / 0.8195 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.5392, allocations: 1.785 MB / 0.8213 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.5393, allocations: 11.88 kB / 0.8213 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.5396, allocations: 38.81 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.5398, allocations: 106.2 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.54, allocations: 96.14 kB / 0.8215 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.5402, allocations: 140.6 kB / 0.8217 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.5403, allocations: 12.03 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.5404, allocations: 80.19 kB / 0.8218 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.5405, allocations: 54.84 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.5406, allocations: 10.28 kB / 0.8218 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.5407, allocations: 120.6 kB / 0.8219 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.5408, allocations: 28.16 kB / 0.822 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.5408, allocations: 42.77 kB / 0.822 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.5411, allocations: 202.5 kB / 0.8222 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5411, allocations: 0 / 0.8222 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5411, allocations: 3.938 kB / 0.8222 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.5411, allocations: 7.719 kB / 0.8222 GB, free: 14.36 MB / 0.6198 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.0006756/0.5418, allocations: 395.9 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5418, allocations: 13.5 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.5419, allocations: 34.73 kB / 0.8226 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.542, allocations: 21.17 kB / 0.8226 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.5422, allocations: 173.7 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5422, allocations: 3.281 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.5423, allocations: 4.594 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.5424, allocations: 103.8 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5424, allocations: 0.7969 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.5425, allocations: 1.344 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5425, allocations: 1.719 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.5426, allocations: 50.23 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.5428, allocations: 190 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.5429, allocations: 113.8 kB / 0.8233 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.543, allocations: 53.89 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.543, allocations: 2.938 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.5432, allocations: 112.3 kB / 0.8234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.5432, allocations: 0 / 0.8234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.00033/0.5436, allocations: 167.3 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.5436, allocations: 132.4 kB / 0.8237 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.5438, allocations: 195.3 kB / 0.8239 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.5438, allocations: 27.92 kB / 0.8239 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.5438, allocations: 103.9 kB / 0.824 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.5439, allocations: 32.14 kB / 0.824 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.5439, allocations: 28.92 kB / 0.8241 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.544, allocations: 324 kB / 0.8244 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.5441, allocations: 35.23 kB / 0.8244 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.5442, allocations: 67.11 kB / 0.8245 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.5443, allocations: 99.17 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5443, allocations: 5.031 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.5445, allocations: 135 kB / 0.8247 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5445, allocations: 6.188 kB / 0.8247 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5445, allocations: 0 / 0.8247 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5445, allocations: 2.562 kB / 0.8247 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/0.5446, allocations: 23.91 kB / 0.8247 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5446, allocations: 1.281 kB / 0.8247 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.5447, allocations: 8.547 kB / 0.8247 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5447, allocations: 7.75 kB / 0.8248 GB, free: 12.21 MB / 0.6198 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 8.203e-05/0.5448, allocations: 132 kB / 0.8249 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.5448, allocations: 14.75 kB / 0.8249 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.545, allocations: 116.5 kB / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.545, allocations: 1.219 kB / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.545, allocations: 2.484 kB / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.545, allocations: 0 / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.5451, allocations: 180.4 kB / 0.8252 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5451, allocations: 1.375 kB / 0.8252 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.5451, allocations: 13.11 kB / 0.8252 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5451, allocations: 2.016 kB / 0.8252 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.5452, allocations: 7.234 kB / 0.8252 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5452, allocations: 1.344 kB / 0.8252 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5452, allocations: 1.062 kB / 0.8252 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.5454, allocations: 175.2 kB / 0.8254 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.5454, allocations: 17.61 kB / 0.8254 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.5454, allocations: 3.406 kB / 0.8254 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.827e-05/0.5455, allocations: 11.56 kB / 0.8254 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.5455, allocations: 7.062 kB / 0.8254 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.5455, allocations: 3.594 kB / 0.8254 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001152/0.5457, allocations: 142.5 kB / 0.8256 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.5457, allocations: 0 / 0.8256 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002236/0.5459, allocations: 49.64 kB / 0.8256 GB, free: 11.57 MB / 0.6198 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.001176/0.5471, allocations: 1.107 MB / 0.8267 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.5473, allocations: 82.89 kB / 0.8268 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5473, allocations: 0 / 0.8268 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.5473, allocations: 42.72 kB / 0.8268 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.5475, allocations: 36.31 kB / 0.8268 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.5492, allocations: 1.736 MB / 0.8285 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.5494, allocations: 0.7088 MB / 0.8292 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.353e-05/0.5494, allocations: 23.25 kB / 0.8292 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.5495, allocations: 54.53 kB / 0.8293 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5495, allocations: 0 / 0.8293 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.5749, allocations: 4.534 MB / 0.8337 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.525, allocations: 9.328 kB / 0.8337 GB, free: 7.637 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.715074888197705] Failed to read output from testmodel.py, exit status != 0: 7.623416490154341 7.638863769 7.094604346 Calling exit ...