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.0009392/0.0009392, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002349, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009438/0.0009438, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002208, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9947/0.9947, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09989/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7439/0.7439, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2335/0.9774, allocations: 49.13 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.425e-05, allocations: 6.188 kB / 449.9 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.00237/0.002385, allocations: 1.783 MB / 451.7 MB, free: 2.844 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004005/0.006389, allocations: 1.836 MB / 453.6 MB, free: 1.012 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.006458, allocations: 0 / 453.6 MB, free: 1.012 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.006634, allocations: 49.02 kB / 453.6 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.006872, allocations: 105.9 kB / 453.7 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.007059, allocations: 105.2 kB / 453.8 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.007247, allocations: 141.9 kB / 454 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.007288, allocations: 10.3 kB / 454 MB, free: 0.625 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.007493, allocations: 115.7 kB / 454.1 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.007613, allocations: 44.78 kB / 454.1 MB, free: 480 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.007631, allocations: 4 kB / 454.1 MB, free: 476 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.007818, allocations: 116.9 kB / 454.2 MB, free: 360 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.007865, allocations: 23.86 kB / 454.3 MB, free: 336 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.007901, allocations: 27.88 kB / 454.3 MB, free: 308 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.008147, allocations: 168.2 kB / 454.5 MB, free: 140 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.008158, allocations: 0 / 454.5 MB, free: 140 kB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.008158, allocations: 0.5938 kB / 454.5 MB, free: 140 kB / 426.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.008167, allocations: 0 / 454.5 MB, free: 140 kB / 426.7 MB 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.0005249/0.008692, allocations: 395.6 kB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.008723, allocations: 8.031 kB / 454.8 MB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.008878, allocations: 102.8 kB / 454.9 MB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.009076, allocations: 156.4 kB / 455.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.009091, allocations: 4.375 kB / 455.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.009107, allocations: 4.375 kB / 455.1 MB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.009266, allocations: 126 kB / 455.2 MB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.009273, allocations: 0 / 455.2 MB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.009283, allocations: 4.562 kB / 455.2 MB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.009288, allocations: 0 / 455.2 MB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.009332, allocations: 19.42 kB / 455.3 MB, free: 15.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.009438, allocations: 93.73 kB / 455.3 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.009548, allocations: 80.41 kB / 455.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.009609, allocations: 31.69 kB / 455.5 MB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.00962, allocations: 4 kB / 455.5 MB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.009732, allocations: 89.58 kB / 455.5 MB, free: 14.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 7.51e-07/0.009733, allocations: 0 / 455.5 MB, free: 14.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001531/0.009886, allocations: 89.7 kB / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.009923, allocations: 106.8 kB / 455.7 MB, free: 14.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.01006, allocations: 184.5 kB / 455.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.01008, allocations: 29.7 kB / 455.9 MB, free: 14.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.01011, allocations: 100 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.01014, allocations: 19.86 kB / 456.1 MB, free: 14.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.01018, allocations: 30.47 kB / 456.1 MB, free: 14.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.01032, allocations: 326.8 kB / 456.4 MB, free: 13.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.01034, allocations: 12.27 kB / 456.4 MB, free: 13.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.01039, allocations: 69.86 kB / 456.5 MB, free: 13.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.603e-05/0.01045, allocations: 58.16 kB / 456.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01045, allocations: 0.7188 kB / 456.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001013/0.01056, allocations: 85.16 kB / 456.6 MB, free: 13.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.01057, allocations: 8.562 kB / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.01057, allocations: 7.984 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.01058, allocations: 1.5 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.01067, allocations: 19.98 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-06/0.01067, allocations: 0 / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.01072, allocations: 21.95 kB / 456.7 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.01073, allocations: 3.938 kB / 456.7 MB, free: 13.61 MB / 442.7 MB 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 6.831e-05/0.01079, allocations: 120.7 kB / 456.8 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.01082, allocations: 11.98 kB / 456.8 MB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.01092, allocations: 79.03 kB / 456.9 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01092, allocations: 4.656 kB / 456.9 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.01093, allocations: 3.984 kB / 456.9 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01093, allocations: 2.641 kB / 456.9 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.01403, allocations: 93.86 kB / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01403, allocations: 1.094 kB / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.01408, allocations: 23.92 kB / 457 MB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.0141, allocations: 15.89 kB / 457 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.0141, allocations: 0.625 kB / 457 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.01411, allocations: 7.938 kB / 457.1 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01412, allocations: 0.625 kB / 457.1 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01412, allocations: 0.625 kB / 457.1 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.01423, allocations: 120.4 kB / 457.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.01425, allocations: 0.625 kB / 457.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.01429, allocations: 4.594 kB / 457.2 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01432, allocations: 19.91 kB / 457.2 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.01434, allocations: 4.594 kB / 457.2 MB, free: 13.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.864e-05/0.01439, allocations: 61.52 kB / 457.3 MB, free: 12.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01439, allocations: 0 / 457.3 MB, free: 12.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000206/0.0146, allocations: 49.2 kB / 457.3 MB, free: 12.94 MB / 442.7 MB 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.001706/0.01631, allocations: 0.6965 MB / 458 MB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.01641, allocations: 46.42 kB / 458.1 MB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.01642, allocations: 4 kB / 458.1 MB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.01647, allocations: 37.56 kB / 458.1 MB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01669, allocations: 193.6 kB / 458.3 MB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.02063, allocations: 259.7 kB / 458.5 MB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.94e-05/0.02067, allocations: 75.19 kB / 458.6 MB, free: 12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.02073, allocations: 15.73 kB / 458.6 MB, free: 11.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.02083, allocations: 83.34 kB / 458.7 MB, free: 11.91 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02083, allocations: 0 / 458.7 MB, free: 11.91 MB / 442.7 MB Notification: Performance of Templates: time 0.007827/0.02865, allocations: 2.911 MB / 461.6 MB, free: 9.285 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.665649937465787]