Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.001294/0.001294, allocations: 79.73 kB / 20.75 MB, free: 3.742 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.001525/0.001525, allocations: 169 kB / 24.17 MB, free: 332 kB / 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.01/1.01, allocations: 177.1 MB / 204.6 MB, free: 5.441 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.004062/0.004062, allocations: 0.7934 MB / 261.9 MB, free: 12.11 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.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.387e-05, allocations: 4.703 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.00125/0.001273, allocations: 0.5523 MB / 279.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.002739, allocations: 1.488 MB / 280.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.002766, allocations: 0 / 280.6 MB, free: 9.328 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.001056/0.003821, allocations: 289.4 kB / 280.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.003865, allocations: 31.91 kB / 281 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.237e-05/0.003907, allocations: 19.91 kB / 281 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.311e-05/0.00397, allocations: 27.92 kB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.004003, allocations: 0 / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.004041, allocations: 19.91 kB / 281 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.004078, allocations: 19.98 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.00409, allocations: 0 / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.004511, allocations: 355.4 kB / 281.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.004557, allocations: 19.97 kB / 281.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.004571, allocations: 4 kB / 281.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.004931, allocations: 327 kB / 281.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004934, allocations: 0 / 281.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004935, allocations: 0 / 281.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.004939, allocations: 0 / 281.7 MB, free: 8.246 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.0002543/0.005193, allocations: 308.1 kB / 282 MB, free: 7.922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.005221, allocations: 8.031 kB / 282 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.005263, allocations: 84.22 kB / 282.1 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.005376, allocations: 201 kB / 282.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.005411, allocations: 158.9 kB / 282.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.005441, allocations: 150.9 kB / 282.6 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.032e-05/0.005481, allocations: 105.5 kB / 282.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.005498, allocations: 75.47 kB / 282.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.005536, allocations: 162.7 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.005567, allocations: 154.6 kB / 283.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.062e-05/0.005597, allocations: 150.6 kB / 283.3 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.00574, allocations: 357.3 kB / 283.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/0.005796, allocations: 169.1 kB / 283.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.005817, allocations: 84.14 kB / 283.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.005834, allocations: 79.28 kB / 283.9 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.408e-05/0.005928, allocations: 67.31 kB / 284 MB, free: 5.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.944e-06/0.00593, allocations: 0 / 284 MB, free: 5.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 8.161e-05/0.006011, allocations: 37.69 kB / 284 MB, free: 5.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.006035, allocations: 51.41 kB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.006092, allocations: 114.6 kB / 284.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.006101, allocations: 25.7 kB / 284.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.975e-05/0.006121, allocations: 88.27 kB / 284.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.006133, allocations: 3.938 kB / 284.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.006151, allocations: 9.719 kB / 284.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.006218, allocations: 322.8 kB / 284.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-06/0.006222, allocations: 3.938 kB / 284.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-06/0.006225, allocations: 0 / 284.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.006244, allocations: 12.84 kB / 284.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.006245, allocations: 0 / 284.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.35e-05/0.006279, allocations: 29.7 kB / 284.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.006292, allocations: 8.875 kB / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.006295, allocations: 4 kB / 284.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.006305, allocations: 0 / 284.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-05/0.006321, allocations: 0 / 284.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/0.006324, allocations: 3.938 kB / 284.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.006336, allocations: 3.938 kB / 284.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.006339, allocations: 0 / 284.7 MB, free: 5.109 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): 1 * 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 5.258e-05/0.006392, allocations: 116.7 kB / 284.8 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.006399, allocations: 4 kB / 284.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.006421, allocations: 7.453 kB / 284.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006423, allocations: 4 kB / 284.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.51e-07/0.006424, allocations: 4 kB / 284.8 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.006429, allocations: 7.922 kB / 284.8 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.791e-05/0.006487, allocations: 65.91 kB / 284.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006488, allocations: 256 / 284.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-06/0.00649, allocations: 4 kB / 284.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.006492, allocations: 3.984 kB / 284.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-06/0.006495, allocations: 0 / 284.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006496, allocations: 0 / 284.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006496, allocations: 0 / 284.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.443e-05/0.006541, allocations: 72.98 kB / 285 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-06/0.006545, allocations: 4.031 kB / 285 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.006554, allocations: 0 / 285 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-06/0.006563, allocations: 4 kB / 285 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-06/0.006572, allocations: 3.984 kB / 285 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.006573, allocations: 0 / 285 MB, free: 4.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.164e-05/0.006585, allocations: 12.86 kB / 285 MB, free: 4.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006585, allocations: 4 kB / 285 MB, free: 4.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.006811, allocations: 107.5 kB / 285.1 MB, free: 4.645 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0006531/0.007464, allocations: 435.8 kB / 285.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.088e-05/0.007505, allocations: 8.859 kB / 285.5 MB, free: 4.297 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.007508, allocations: 64 / 285.5 MB, free: 4.297 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-06/0.007513, allocations: 16.8 kB / 285.6 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.469e-05/0.007578, allocations: 15.92 kB / 285.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001763/0.007754, allocations: 123.3 kB / 285.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.523e-05/0.007779, allocations: 55.36 kB / 285.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.371e-05/0.007803, allocations: 11.98 kB / 285.8 MB, free: 4.027 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.007836, allocations: 63.38 kB / 285.8 MB, free: 3.965 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007836, allocations: 0 / 285.8 MB, free: 3.965 MB / 266.7 MB Notification: Performance of Templates: time 0.004136/0.01197, allocations: 2.877 MB / 288.7 MB, free: 1.098 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7176331193186343]