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.0008865/0.0008865, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000925/0.000925, allocations: 208.1 kB / 22.25 MB, free: 3.59 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 0.9482/0.9482, allocations: 230.6 MB / 256 MB, free: 9.605 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.7919/0.7919, allocations: 203.8 MB / 0.5042 GB, free: 10.49 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.00111/0.00111, allocations: 65.78 kB / 0.7182 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.618, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.00242/0.6204, allocations: 1.668 MB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.6226, allocations: 1.722 MB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.6226, allocations: 7.125 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.623, allocations: 42.11 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.6234, allocations: 104 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.6236, allocations: 102.2 kB / 0.8213 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.6238, allocations: 133.1 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.72e-05/0.6239, allocations: 18.58 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.6241, allocations: 66.42 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.6244, allocations: 57.64 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.6244, allocations: 7.5 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.6247, allocations: 106.7 kB / 0.8217 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.6247, allocations: 27.58 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.6248, allocations: 41.44 kB / 0.8218 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.6252, allocations: 197.9 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.6252, allocations: 4 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.296e-06/0.6253, allocations: 0 / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.6253, allocations: 0 / 0.822 GB, free: 14.3 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.000687/0.6259, allocations: 403.4 kB / 0.8224 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.626, allocations: 9.344 kB / 0.8224 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.626, allocations: 33.67 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.6262, allocations: 24.17 kB / 0.8224 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.6265, allocations: 165.3 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.6265, allocations: 2.281 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.6265, allocations: 11.72 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.6267, allocations: 136.7 kB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.6267, allocations: 0 / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.6267, allocations: 2.469 kB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.6268, allocations: 0 / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.6269, allocations: 54.42 kB / 0.8228 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.6271, allocations: 182.9 kB / 0.823 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.6274, allocations: 122.7 kB / 0.8231 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.032e-05/0.6275, allocations: 50.62 kB / 0.8231 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.6275, allocations: 4.094 kB / 0.8231 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.6277, allocations: 120.9 kB / 0.8232 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.755e-06/0.6277, allocations: 0 / 0.8232 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004256/0.6281, allocations: 175.8 kB / 0.8234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.6282, allocations: 131 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.6284, allocations: 207 kB / 0.8237 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.6284, allocations: 27.75 kB / 0.8238 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.6285, allocations: 104.6 kB / 0.8239 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.6285, allocations: 26.53 kB / 0.8239 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.6286, allocations: 27.41 kB / 0.8239 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6287, allocations: 323.7 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.6287, allocations: 36.45 kB / 0.8243 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.6288, allocations: 97.58 kB / 0.8243 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.629, allocations: 96.86 kB / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.629, allocations: 5.25 kB / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.6292, allocations: 142.5 kB / 0.8246 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6292, allocations: 5.219 kB / 0.8246 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.6292, allocations: 1.156 kB / 0.8246 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6293, allocations: 1.969 kB / 0.8246 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.6293, allocations: 20.69 kB / 0.8246 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.6294, allocations: 1.875 kB / 0.8246 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.6294, allocations: 7.672 kB / 0.8246 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.6294, allocations: 4.5 kB / 0.8246 GB, free: 12.1 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 9.647e-05/0.6295, allocations: 139.3 kB / 0.8248 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.6295, allocations: 15.17 kB / 0.8248 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.6297, allocations: 118.7 kB / 0.8249 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6297, allocations: 7.25 kB / 0.8249 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6297, allocations: 0 / 0.8249 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6298, allocations: 5.75 kB / 0.8249 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.6299, allocations: 177.3 kB / 0.8251 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6299, allocations: 2.219 kB / 0.8251 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.63, allocations: 24.03 kB / 0.8251 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.63, allocations: 1.125 kB / 0.8251 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.63, allocations: 12.38 kB / 0.8251 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.63, allocations: 0 / 0.8251 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.63, allocations: 1.188 kB / 0.8251 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.6302, allocations: 188.3 kB / 0.8253 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.6303, allocations: 17.61 kB / 0.8253 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.6303, allocations: 2.969 kB / 0.8253 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.6303, allocations: 7.75 kB / 0.8253 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.6304, allocations: 12.44 kB / 0.8253 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.6304, allocations: 9.5 kB / 0.8253 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000121/0.6305, allocations: 145.6 kB / 0.8255 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6305, allocations: 1.094 kB / 0.8255 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002363/0.6308, allocations: 51.5 kB / 0.8255 GB, free: 11.43 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 (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.001309/0.6321, allocations: 1.154 MB / 0.8266 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.6323, allocations: 88.11 kB / 0.8267 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6323, allocations: 0 / 0.8267 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.6324, allocations: 50.58 kB / 0.8268 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.6326, allocations: 32.53 kB / 0.8268 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.6343, allocations: 1.767 MB / 0.8285 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.697e-05/0.6344, allocations: 92.84 kB / 0.8286 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.415e-05/0.6345, allocations: 21.41 kB / 0.8286 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.6346, allocations: 61.77 kB / 0.8287 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of SimCode: time 6.82e-07/0.6346, allocations: 3.938 kB / 0.8287 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.6601, allocations: 5.159 MB / 0.8337 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/7.326, allocations: 5.156 kB / 0.8337 GB, free: 7.609 MB / 0.6198 GB " [Timeout remaining time 653] (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.424468820914626] Failed to read output from testmodel.py, exit status != 0: 7.421091021038592 7.430171542 6.802949833 Calling exit ...