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.0007217/0.0007217, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009227/0.001644, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007292/0.0007292, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009377/0.001667, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8878/0.8878, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08055/0.9684, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.003514/0.003514, allocations: 0.8036 MB / 244.8 MB, free: 14.07 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.004611, allocations: 0.6311 MB / 245.4 MB, free: 13.44 MB / 250.7 MB " [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 1.302e-06/1.302e-06, allocations: 0 / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.727e-06/1.003e-05, allocations: 2.312 kB / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001266/0.001276, allocations: 0.5435 MB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.00301, allocations: 1.501 MB / 248.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.003033, allocations: 0 / 248.7 MB, free: 10.14 MB / 250.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.001056/0.004089, allocations: 303 kB / 249 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.004136, allocations: 23.97 kB / 249 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.423e-05/0.00418, allocations: 23.91 kB / 249.1 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.004244, allocations: 11.94 kB / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.004282, allocations: 0 / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.004347, allocations: 27.91 kB / 249.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.004399, allocations: 8 kB / 249.1 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.00441, allocations: 0 / 249.1 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/0.004924, allocations: 347.3 kB / 249.4 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.00497, allocations: 11.98 kB / 249.5 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.004991, allocations: 4 kB / 249.5 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.005387, allocations: 271.2 kB / 249.7 MB, free: 9.137 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.005401, allocations: 0 / 249.7 MB, free: 9.137 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005401, allocations: 4 kB / 249.7 MB, free: 9.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.005417, allocations: 0 / 249.7 MB, free: 9.133 MB / 250.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.0003924/0.005809, allocations: 353.6 kB / 250.1 MB, free: 8.758 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.005837, allocations: 8.031 kB / 250.1 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.005884, allocations: 84.2 kB / 250.2 MB, free: 8.668 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.006005, allocations: 185.1 kB / 250.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.006052, allocations: 158.9 kB / 250.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.006091, allocations: 150.9 kB / 250.7 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.946e-05/0.006141, allocations: 101.5 kB / 250.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.006165, allocations: 79.47 kB / 250.8 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.006214, allocations: 166.7 kB / 251 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.006257, allocations: 150.6 kB / 251.1 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.319e-05/0.0063, allocations: 150.6 kB / 251.3 MB, free: 7.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.006472, allocations: 357.2 kB / 251.6 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/0.006541, allocations: 173.1 kB / 251.8 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.006566, allocations: 80.14 kB / 251.9 MB, free: 6.887 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.006586, allocations: 75.28 kB / 252 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.00669, allocations: 98.81 kB / 252.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.006691, allocations: 0 / 252.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001046/0.006796, allocations: 118.8 kB / 252.2 MB, free: 6.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.006841, allocations: 110.8 kB / 252.3 MB, free: 6.418 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.006905, allocations: 106.6 kB / 252.4 MB, free: 6.301 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.006914, allocations: 25.7 kB / 252.4 MB, free: 6.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.00694, allocations: 84.14 kB / 252.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.006952, allocations: 7.938 kB / 252.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.006978, allocations: 13.72 kB / 252.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.007061, allocations: 314.8 kB / 252.8 MB, free: 5.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.007075, allocations: 29.64 kB / 252.8 MB, free: 5.805 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.007089, allocations: 29.7 kB / 252.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.00713, allocations: 72.27 kB / 252.9 MB, free: 5.684 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007132, allocations: 0 / 252.9 MB, free: 5.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.728e-05/0.007189, allocations: 85.09 kB / 253 MB, free: 5.582 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.007223, allocations: 33.7 kB / 253.1 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.007226, allocations: 0 / 253.1 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.007233, allocations: 0 / 253.1 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.057e-06/0.007237, allocations: 0 / 253.1 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.007239, allocations: 3.938 kB / 253.1 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.007253, allocations: 0 / 253.1 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.007259, allocations: 7.984 kB / 253.1 MB, free: 5.531 MB / 250.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 6.75e-05/0.007326, allocations: 138.4 kB / 253.2 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-06/0.007335, allocations: 4 kB / 253.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-06/0.007344, allocations: 3.156 kB / 253.2 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007346, allocations: 4 kB / 253.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-07/0.007347, allocations: 0 / 253.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.007351, allocations: 3.938 kB / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.882e-05/0.007409, allocations: 69.88 kB / 253.3 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.00741, allocations: 3.938 kB / 253.3 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.007411, allocations: 0 / 253.3 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-06/0.007415, allocations: 4 kB / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.007416, allocations: 0 / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.00742, allocations: 8 kB / 253.3 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.007421, allocations: 256 / 253.3 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.007423, allocations: 4 kB / 253.3 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.275e-05/0.007496, allocations: 120.5 kB / 253.4 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.00751, allocations: 4 kB / 253.4 MB, free: 5.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.241e-05/0.007522, allocations: 0 / 253.4 MB, free: 5.105 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-06/0.007529, allocations: 3.984 kB / 253.4 MB, free: 5.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.007531, allocations: 4 kB / 253.4 MB, free: 5.098 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.387e-05/0.007545, allocations: 8.859 kB / 253.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007545, allocations: 0 / 253.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.007842, allocations: 111.6 kB / 253.6 MB, free: 4.977 MB / 250.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.0008383/0.00868, allocations: 466.7 kB / 254 MB, free: 4.633 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.49e-05/0.008765, allocations: 127.6 kB / 254.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.008769, allocations: 0 / 254.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.008803, allocations: 85.97 kB / 254.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.897e-05/0.008872, allocations: 7.281 kB / 254.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.009063, allocations: 165 kB / 254.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.009095, allocations: 55.36 kB / 254.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.124e-05/0.009106, allocations: 0 / 254.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.009176, allocations: 75.47 kB / 254.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009176, allocations: 0 / 254.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of Templates: time 0.004898/0.01407, allocations: 2.735 MB / 257.3 MB, free: 1.293 MB / 250.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.403720715083182]