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.0008126/0.0008126, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008775/0.0008775, allocations: 215.9 kB / 23.01 MB, free: 3.109 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.8843/0.8843, allocations: 230.6 MB / 256.8 MB, free: 3.473 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.7449/0.7449, allocations: 203.8 MB / 0.5049 GB, free: 0.7031 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: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") [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.001403/0.001403, allocations: 68.84 kB / 0.7195 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4572, allocations: 102 MB / 0.8191 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002349/0.4595, allocations: 1.718 MB / 0.8208 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.4613, allocations: 1.794 MB / 0.8225 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.4614, allocations: 7.938 kB / 0.8225 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.4617, allocations: 39.77 kB / 0.8226 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.462, allocations: 111.4 kB / 0.8227 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.4622, allocations: 95.66 kB / 0.8228 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.4624, allocations: 143.5 kB / 0.8229 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.253e-05/0.4625, allocations: 5.641 kB / 0.8229 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.4627, allocations: 79.62 kB / 0.823 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.4628, allocations: 55.77 kB / 0.823 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.4628, allocations: 8 kB / 0.823 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.463, allocations: 119.9 kB / 0.8231 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.463, allocations: 23.86 kB / 0.8232 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.4631, allocations: 43.73 kB / 0.8232 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.4633, allocations: 209.9 kB / 0.8234 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4633, allocations: 0 / 0.8234 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4633, allocations: 0 / 0.8234 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4633, allocations: 4 kB / 0.8234 GB, free: 9.973 MB / 0.6042 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.0005108/0.4639, allocations: 401.1 kB / 0.8238 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4639, allocations: 9.469 kB / 0.8238 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.464, allocations: 20.88 kB / 0.8238 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.4643, allocations: 167.1 kB / 0.824 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4643, allocations: 4.375 kB / 0.824 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.4643, allocations: 12.12 kB / 0.824 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.4645, allocations: 101 kB / 0.8241 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.4645, allocations: 0 / 0.8241 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4645, allocations: 8 kB / 0.8241 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4645, allocations: 0 / 0.8241 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/0.4646, allocations: 55.89 kB / 0.8242 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.4648, allocations: 182.5 kB / 0.8243 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.465, allocations: 111.8 kB / 0.8244 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.465, allocations: 50.48 kB / 0.8245 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.465, allocations: 0 / 0.8245 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.4652, allocations: 121.9 kB / 0.8246 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.4652, allocations: 0 / 0.8246 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0003052/0.4655, allocations: 157.5 kB / 0.8248 GB, free: 8.414 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.4656, allocations: 132.5 kB / 0.8249 GB, free: 8.254 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.4657, allocations: 200.3 kB / 0.8251 GB, free: 8.051 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.4657, allocations: 29.95 kB / 0.8251 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.4658, allocations: 108.1 kB / 0.8252 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.4658, allocations: 27.78 kB / 0.8252 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.4658, allocations: 25.7 kB / 0.8253 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003355/0.4662, allocations: 326.8 kB / 0.8256 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.4662, allocations: 27.98 kB / 0.8256 GB, free: 7.492 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.4663, allocations: 72.2 kB / 0.8257 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.4664, allocations: 91.59 kB / 0.8258 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4664, allocations: 3.984 kB / 0.8258 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.4666, allocations: 137.5 kB / 0.8259 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4666, allocations: 10.19 kB / 0.8259 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4666, allocations: 0 / 0.8259 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4666, allocations: 0 / 0.8259 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.4667, allocations: 27.92 kB / 0.8259 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4667, allocations: 7.984 kB / 0.8259 GB, free: 7.117 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.4668, allocations: 7.984 kB / 0.8259 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4668, allocations: 8.094 kB / 0.8259 GB, free: 7.102 MB / 0.6042 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.148e-05/0.4669, allocations: 131.6 kB / 0.8261 GB, free: 6.969 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.4669, allocations: 19.89 kB / 0.8261 GB, free: 6.949 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.467, allocations: 107 kB / 0.8262 GB, free: 6.828 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.467, allocations: 7.984 kB / 0.8262 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.4671, allocations: 0 / 0.8262 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4671, allocations: 3.938 kB / 0.8262 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.4672, allocations: 180.6 kB / 0.8264 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4672, allocations: 0 / 0.8264 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.4672, allocations: 19.98 kB / 0.8264 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4672, allocations: 0 / 0.8264 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.4672, allocations: 0 / 0.8264 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4672, allocations: 4 kB / 0.8264 GB, free: 6.574 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4672, allocations: 0 / 0.8264 GB, free: 6.574 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.4674, allocations: 174.6 kB / 0.8266 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.4674, allocations: 23.83 kB / 0.8266 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.4674, allocations: 4 kB / 0.8266 GB, free: 6.352 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.4675, allocations: 8.109 kB / 0.8266 GB, free: 6.344 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.4675, allocations: 11.98 kB / 0.8266 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.4675, allocations: 8 kB / 0.8266 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.485e-05/0.4676, allocations: 140.1 kB / 0.8268 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.4676, allocations: 4 kB / 0.8268 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000202/0.4678, allocations: 43.88 kB / 0.8268 GB, free: 6.141 MB / 0.6042 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.0008099/0.4686, allocations: 0.5028 MB / 0.8273 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.4688, allocations: 83.88 kB / 0.8274 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4688, allocations: 0 / 0.8274 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.4689, allocations: 36.23 kB / 0.8274 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.4691, allocations: 42.31 kB / 0.8274 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.4695, allocations: 271.1 kB / 0.8277 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.4697, allocations: 0.708 MB / 0.8284 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.4697, allocations: 23.42 kB / 0.8284 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.4697, allocations: 0 / 0.8284 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of Templates: time 0.003411/0.4732, allocations: 2.582 MB / 0.8309 GB, free: 2.078 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8058638330549] Failed to read output from testmodel.py, exit status != 0: 0.4804722350090742 0.48812709499999996 0.023062456000000002 Calling exit ...