Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.001804/0.001804, allocations: 88.72 kB / 19.44 MB, free: 356 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.002447/0.002447, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.007326/0.007326, allocations: 0.7933 MB / 260.4 MB, free: 12.28 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.063e-05, allocations: 6.25 kB / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001495/0.001525, allocations: 0.5033 MB / 330.3 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.00326, allocations: 1.437 MB / 331.8 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.003289, allocations: 4 kB / 331.8 MB, free: 17.32 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001444/0.004734, allocations: 332.7 kB / 332.1 MB, free: 17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.004786, allocations: 27.91 kB / 332.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.115e-05/0.004828, allocations: 4 kB / 332.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.21e-05/0.00488, allocations: 19.97 kB / 332.1 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.843e-05/0.004908, allocations: 0 / 332.1 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.004947, allocations: 15.92 kB / 332.1 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.005019, allocations: 11.98 kB / 332.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.005032, allocations: 4 kB / 332.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.005455, allocations: 327.3 kB / 332.5 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.005502, allocations: 12 kB / 332.5 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.005535, allocations: 4 kB / 332.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.005949, allocations: 319 kB / 332.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005951, allocations: 0 / 332.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005952, allocations: 0 / 332.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005956, allocations: 0 / 332.8 MB, free: 16.27 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000319/0.006275, allocations: 355.2 kB / 333.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.006305, allocations: 8.031 kB / 333.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.006369, allocations: 88.16 kB / 333.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.006478, allocations: 189.1 kB / 333.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.006499, allocations: 150.9 kB / 333.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.006516, allocations: 154.9 kB / 333.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.177e-05/0.006558, allocations: 101.5 kB / 333.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.006571, allocations: 75.47 kB / 333.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.006599, allocations: 158.7 kB / 334.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.006618, allocations: 154.6 kB / 334.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.006638, allocations: 154.5 kB / 334.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.006795, allocations: 397.6 kB / 334.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.304e-05/0.006838, allocations: 173.1 kB / 334.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.006853, allocations: 84.14 kB / 335 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.006867, allocations: 75.28 kB / 335.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.006968, allocations: 98.77 kB / 335.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.00697, allocations: 0 / 335.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001678/0.007137, allocations: 130.7 kB / 335.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.007169, allocations: 128.5 kB / 335.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.007229, allocations: 109.8 kB / 335.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.007235, allocations: 25.7 kB / 335.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.007263, allocations: 88.08 kB / 335.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.007276, allocations: 4 kB / 335.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.007298, allocations: 13.84 kB / 335.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.007334, allocations: 314.8 kB / 336 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.007349, allocations: 29.7 kB / 336 MB, free: 12.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.007358, allocations: 29.64 kB / 336 MB, free: 12.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.007386, allocations: 64.27 kB / 336.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007388, allocations: 0 / 336.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.037e-05/0.007448, allocations: 89.09 kB / 336.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.007472, allocations: 29.7 kB / 336.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007476, allocations: 4 kB / 336.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.007496, allocations: 8.031 kB / 336.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.007497, allocations: 0 / 336.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.007502, allocations: 0 / 336.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.00752, allocations: 0 / 336.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.007526, allocations: 4 kB / 336.2 MB, free: 12.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.157e-05/0.007578, allocations: 143.5 kB / 336.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.007594, allocations: 11.89 kB / 336.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-06/0.007603, allocations: 3.156 kB / 336.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.007606, allocations: 3.938 kB / 336.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.00761, allocations: 0 / 336.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.007612, allocations: 0 / 336.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.496e-05/0.007657, allocations: 109.3 kB / 336.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007657, allocations: 0 / 336.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.007658, allocations: 4 kB / 336.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.007659, allocations: 0 / 336.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.007665, allocations: 0 / 336.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007666, allocations: 0 / 336.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.007667, allocations: 3.938 kB / 336.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.357e-05/0.007741, allocations: 120.5 kB / 336.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.007746, allocations: 4 kB / 336.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.00776, allocations: 0 / 336.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.685e-05/0.007777, allocations: 8.281 kB / 336.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.007793, allocations: 3.938 kB / 336.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.007796, allocations: 4 kB / 336.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.788e-05/0.007824, allocations: 95.2 kB / 336.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007824, allocations: 3.938 kB / 336.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.008163, allocations: 95.66 kB / 336.8 MB, free: 11.89 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0008452/0.009009, allocations: 399.4 kB / 337.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.325e-05/0.009102, allocations: 114.8 kB / 337.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009104, allocations: 0 / 337.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.009123, allocations: 81.11 kB / 337.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.009279, allocations: 12.11 kB / 337.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.009476, allocations: 159.9 kB / 337.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.009511, allocations: 63.34 kB / 337.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.01e-05/0.009521, allocations: 0 / 337.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.009539, allocations: 16.5 kB / 337.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.00954, allocations: 0 / 337.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of Templates: time 0.00491/0.01445, allocations: 2.345 MB / 340 MB, free: 8.691 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.391169902984984]