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.0008845/0.0008845, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0008667/0.0008667, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.911/0.911, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.01326/0.01326, allocations: 0.7944 MB / 261.5 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.044e-06/2.044e-06, allocations: 0 / 331.3 MB, free: 18.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.713e-05, allocations: 12.5 kB / 331.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001134/0.001161, allocations: 0.4967 MB / 331.8 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.002554, allocations: 1.472 MB / 333.3 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.002587, allocations: 0 / 333.3 MB, free: 16.95 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.001336/0.003923, allocations: 332.2 kB / 333.6 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.003974, allocations: 27.91 kB / 333.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.674e-05/0.00402, allocations: 11.88 kB / 333.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.004083, allocations: 23.97 kB / 333.7 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.004119, allocations: 0 / 333.7 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.00416, allocations: 15.92 kB / 333.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.004227, allocations: 11.98 kB / 333.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.004237, allocations: 0 / 333.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.004585, allocations: 323.4 kB / 334 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.004636, allocations: 12 kB / 334.1 MB, free: 16.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.004667, allocations: 7.984 kB / 334.1 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.005035, allocations: 315.1 kB / 334.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.005039, allocations: 0 / 334.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005041, allocations: 0 / 334.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.005047, allocations: 4 kB / 334.4 MB, free: 15.9 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.0003592/0.005406, allocations: 461.5 kB / 334.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.005452, allocations: 8.031 kB / 334.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.005516, allocations: 124.1 kB / 335 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.005655, allocations: 231.8 kB / 335.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.005684, allocations: 242.8 kB / 335.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.005708, allocations: 238.8 kB / 335.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.174e-05/0.00577, allocations: 149.5 kB / 335.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.005787, allocations: 123.3 kB / 335.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.005827, allocations: 254.5 kB / 336.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.005854, allocations: 238.4 kB / 336.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.005879, allocations: 242.4 kB / 336.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.006057, allocations: 0.572 MB / 337.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.006128, allocations: 269.4 kB / 337.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.006148, allocations: 130.8 kB / 337.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.006163, allocations: 119.2 kB / 337.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.006306, allocations: 112.4 kB / 337.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 3.367e-06/0.006309, allocations: 0 / 337.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.006473, allocations: 114.8 kB / 337.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.006507, allocations: 136.4 kB / 338.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.006562, allocations: 166.1 kB / 338.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-06/0.006567, allocations: 25.7 kB / 338.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.006587, allocations: 130.8 kB / 338.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.006602, allocations: 8 kB / 338.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.006624, allocations: 19.36 kB / 338.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.006665, allocations: 496.1 kB / 338.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.006682, allocations: 25.7 kB / 338.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.006691, allocations: 25.7 kB / 338.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.006718, allocations: 67.09 kB / 339 MB, free: 10.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00672, allocations: 0 / 339 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.84e-05/0.006769, allocations: 97.09 kB / 339.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.006793, allocations: 33.7 kB / 339.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006798, allocations: 0 / 339.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.006812, allocations: 3.938 kB / 339.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-06/0.006816, allocations: 0 / 339.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.006821, allocations: 0 / 339.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.601e-05/0.006837, allocations: 0 / 339.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.006843, allocations: 0 / 339.1 MB, free: 10.81 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 4.618e-05/0.006889, allocations: 186.3 kB / 339.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.006897, allocations: 7.953 kB / 339.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.144e-05/0.006909, allocations: 11.19 kB / 339.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.006911, allocations: 3.938 kB / 339.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.006914, allocations: 0 / 339.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006917, allocations: 0 / 339.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.089e-05/0.006958, allocations: 116.6 kB / 339.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006959, allocations: 0 / 339.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-07/0.006959, allocations: 0 / 339.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.00696, allocations: 0 / 339.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.006966, allocations: 0 / 339.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006967, allocations: 256 / 339.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006968, allocations: 3.938 kB / 339.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.638e-05/0.007025, allocations: 139.8 kB / 339.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.007031, allocations: 4 kB / 339.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.007046, allocations: 0 / 339.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.007055, allocations: 4 kB / 339.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.007067, allocations: 3.938 kB / 339.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.007069, allocations: 0 / 339.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.906e-05/0.007088, allocations: 131.2 kB / 339.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007088, allocations: 3.938 kB / 339.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.007323, allocations: 103.6 kB / 339.8 MB, free: 10.02 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.0006101/0.007933, allocations: 413.2 kB / 340.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.105e-05/0.008024, allocations: 122.5 kB / 340.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.008026, allocations: 4 kB / 340.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.008042, allocations: 92.73 kB / 340.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.008162, allocations: 11.98 kB / 340.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.008362, allocations: 154.3 kB / 340.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.177e-05/0.008384, allocations: 59.22 kB / 340.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.037e-05/0.008394, allocations: 0 / 340.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.008412, allocations: 12.5 kB / 340.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008412, allocations: 0 / 340.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of Templates: time 0.003988/0.0124, allocations: 2.752 MB / 343.4 MB, free: 6.375 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=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6267365398816764]