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.0008309/0.0008309, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0007928/0.0007928, allocations: 212.6 kB / 23 MB, free: 2.98 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.9203/0.9203, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.7457/0.7457, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.0008921/0.0008921, allocations: 67.22 kB / 0.7194 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4653, allocations: 102 MB / 0.819 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002124/0.4674, allocations: 1.677 MB / 0.8206 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.4691, allocations: 1.715 MB / 0.8223 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.4692, allocations: 1.156 kB / 0.8223 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.4695, allocations: 45.75 kB / 0.8224 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.4698, allocations: 113.9 kB / 0.8225 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.4699, allocations: 96.02 kB / 0.8226 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.4701, allocations: 140.4 kB / 0.8227 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.4701, allocations: 9.062 kB / 0.8227 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.4703, allocations: 70.8 kB / 0.8228 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.4704, allocations: 53.16 kB / 0.8228 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.4704, allocations: 7.844 kB / 0.8228 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.4706, allocations: 108.1 kB / 0.8229 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.4706, allocations: 27.8 kB / 0.823 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.4707, allocations: 45.78 kB / 0.823 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.4709, allocations: 199.8 kB / 0.8232 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4709, allocations: 0 / 0.8232 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4709, allocations: 1.094 kB / 0.8232 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4709, allocations: 0 / 0.8232 GB, free: 14.61 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.0005226/0.4715, allocations: 402.8 kB / 0.8236 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.4715, allocations: 9.188 kB / 0.8236 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.4716, allocations: 20.2 kB / 0.8236 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.4718, allocations: 170.6 kB / 0.8238 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4719, allocations: 5.859 kB / 0.8238 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.4719, allocations: 6.75 kB / 0.8238 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.4721, allocations: 129.7 kB / 0.8239 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4721, allocations: 3.984 kB / 0.8239 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4721, allocations: 1.625 kB / 0.8239 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4721, allocations: 0 / 0.8239 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.4722, allocations: 59.14 kB / 0.824 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.4726, allocations: 156 kB / 0.8241 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.4728, allocations: 119.3 kB / 0.8242 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.4729, allocations: 48.05 kB / 0.8243 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.4729, allocations: 1.344 kB / 0.8243 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.4731, allocations: 120.3 kB / 0.8244 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.4731, allocations: 0 / 0.8244 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003389/0.4734, allocations: 173.8 kB / 0.8246 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.4735, allocations: 139.4 kB / 0.8247 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.4736, allocations: 202.7 kB / 0.8249 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.4736, allocations: 31.11 kB / 0.8249 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.4737, allocations: 105.4 kB / 0.825 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.4737, allocations: 25.75 kB / 0.825 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.4737, allocations: 23.86 kB / 0.8251 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.4738, allocations: 328.6 kB / 0.8254 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.4739, allocations: 36.19 kB / 0.8254 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-05/0.474, allocations: 93.67 kB / 0.8255 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.4741, allocations: 100.6 kB / 0.8256 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4741, allocations: 1.344 kB / 0.8256 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.4743, allocations: 146.9 kB / 0.8257 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4743, allocations: 5.062 kB / 0.8257 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4743, allocations: 5.344 kB / 0.8258 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4744, allocations: 1.188 kB / 0.8258 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.4744, allocations: 20.55 kB / 0.8258 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4744, allocations: 1.938 kB / 0.8258 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.4745, allocations: 12.33 kB / 0.8258 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.4745, allocations: 8.969 kB / 0.8258 GB, free: 12.48 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 7.674e-05/0.4746, allocations: 129.3 kB / 0.8259 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.4746, allocations: 19.5 kB / 0.8259 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.4748, allocations: 127 kB / 0.8261 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4748, allocations: 2.109 kB / 0.8261 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4748, allocations: 1.188 kB / 0.8261 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4748, allocations: 1.844 kB / 0.8261 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.4749, allocations: 147 kB / 0.8262 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4749, allocations: 1.094 kB / 0.8262 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.475, allocations: 22.06 kB / 0.8262 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.475, allocations: 3.938 kB / 0.8262 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.475, allocations: 3.234 kB / 0.8262 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.475, allocations: 6.781 kB / 0.8262 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.475, allocations: 0.6094 kB / 0.8262 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.4752, allocations: 182.6 kB / 0.8264 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.4752, allocations: 19.48 kB / 0.8264 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.4752, allocations: 4.188 kB / 0.8264 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.4753, allocations: 9.906 kB / 0.8264 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.4753, allocations: 12.22 kB / 0.8265 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.4753, allocations: 5.719 kB / 0.8265 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.464e-05/0.4754, allocations: 149.2 kB / 0.8266 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4754, allocations: 1.562 kB / 0.8266 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001957/0.4756, allocations: 46.66 kB / 0.8267 GB, free: 11.86 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.0008453/0.4764, allocations: 0.5301 MB / 0.8272 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.4766, allocations: 90.08 kB / 0.8273 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4766, allocations: 6.781 kB / 0.8273 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.4767, allocations: 42.11 kB / 0.8273 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.4769, allocations: 48.19 kB / 0.8273 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.4773, allocations: 288.8 kB / 0.8276 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.4774, allocations: 101.3 kB / 0.8277 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.4774, allocations: 20.77 kB / 0.8277 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.4774, allocations: 1.438 kB / 0.8277 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.003839/0.4813, allocations: 2.649 MB / 0.8303 GB, free: 10.98 MB / 0.6198 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: 6.078971229027957] Failed to read output from testmodel.py, exit status != 0: 0.48711122199893 0.49651996299999995 0.023763946 Calling exit ...