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.0008447/0.0008447, allocations: 96.7 kB / 20.21 MB, free: 4.223 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.0007991/0.0007991, allocations: 157.3 kB / 23.51 MB, free: 0.9141 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.9164/0.9164, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.00365/0.00365, allocations: 0.7866 MB / 261.1 MB, free: 12.29 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.353e-06/1.353e-06, allocations: 3.938 kB / 330.6 MB, free: 19.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.638e-05, allocations: 2.312 kB / 330.6 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001093/0.00111, allocations: 0.5059 MB / 331.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.002666, allocations: 1.453 MB / 332.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.002696, allocations: 0 / 332.5 MB, free: 17.3 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.001154/0.003851, allocations: 310 kB / 332.8 MB, free: 17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.696e-05/0.003888, allocations: 31.89 kB / 332.9 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.203e-05/0.00393, allocations: 7.938 kB / 332.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.003999, allocations: 27.97 kB / 332.9 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.004036, allocations: 7.984 kB / 332.9 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.004079, allocations: 15.94 kB / 332.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.004122, allocations: 15.97 kB / 332.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.004135, allocations: 4 kB / 332.9 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.004452, allocations: 331.3 kB / 333.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.004504, allocations: 15.98 kB / 333.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.004524, allocations: 7.984 kB / 333.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.004854, allocations: 323.1 kB / 333.6 MB, free: 16.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004856, allocations: 0 / 333.6 MB, free: 16.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004857, allocations: 0 / 333.6 MB, free: 16.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.004862, allocations: 0 / 333.6 MB, free: 16.23 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.0003054/0.005167, allocations: 337.5 kB / 333.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.005214, allocations: 8.031 kB / 333.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.005269, allocations: 80.22 kB / 334 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.005393, allocations: 201 kB / 334.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.00541, allocations: 154.9 kB / 334.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.005424, allocations: 150.9 kB / 334.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.347e-05/0.005458, allocations: 109.5 kB / 334.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.005467, allocations: 83.45 kB / 334.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.005487, allocations: 154.7 kB / 334.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.005501, allocations: 150.6 kB / 335 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.005518, allocations: 150.6 kB / 335.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.00566, allocations: 405.6 kB / 335.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.695e-05/0.005707, allocations: 169.1 kB / 335.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.005725, allocations: 80.14 kB / 335.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.005735, allocations: 83.22 kB / 335.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.005838, allocations: 71.31 kB / 335.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 3.125e-06/0.005841, allocations: 0 / 335.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.006001, allocations: 37.64 kB / 336 MB, free: 13.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.006026, allocations: 55.41 kB / 336 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.006102, allocations: 109.8 kB / 336.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.006108, allocations: 25.7 kB / 336.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.951e-05/0.006127, allocations: 96.23 kB / 336.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.006141, allocations: 0 / 336.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.851e-05/0.00616, allocations: 13.72 kB / 336.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.221e-05/0.006192, allocations: 314.8 kB / 336.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.006201, allocations: 3.938 kB / 336.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-06/0.006205, allocations: 256 / 336.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.706e-05/0.006222, allocations: 8.859 kB / 336.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006224, allocations: 4 kB / 336.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.369e-05/0.006258, allocations: 45.64 kB / 336.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.00627, allocations: 4.094 kB / 336.6 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006276, allocations: 4 kB / 336.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.00629, allocations: 3.938 kB / 336.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.386e-05/0.006314, allocations: 0 / 336.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.006321, allocations: 0 / 336.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.006332, allocations: 3.984 kB / 336.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.006338, allocations: 7.938 kB / 336.7 MB, free: 12.98 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 4.948e-05/0.006388, allocations: 117.8 kB / 336.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.006396, allocations: 0 / 336.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.006422, allocations: 15.42 kB / 336.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.006425, allocations: 3.938 kB / 336.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.006429, allocations: 4 kB / 336.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.006433, allocations: 0 / 336.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.871e-05/0.006492, allocations: 101.3 kB / 336.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006493, allocations: 0 / 336.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.006494, allocations: 0 / 336.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.006495, allocations: 0 / 336.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.006501, allocations: 0 / 336.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006502, allocations: 4 kB / 336.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.006503, allocations: 3.938 kB / 336.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.068e-05/0.006544, allocations: 69 kB / 337 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.006549, allocations: 4.031 kB / 337 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.00656, allocations: 4 kB / 337 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.006569, allocations: 3.984 kB / 337 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.006587, allocations: 3.938 kB / 337 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.006589, allocations: 4 kB / 337 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.181e-05/0.00661, allocations: 91.27 kB / 337.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006611, allocations: 0 / 337.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.006852, allocations: 103.6 kB / 337.2 MB, free: 12.4 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.0004922/0.007345, allocations: 400.3 kB / 337.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.352e-05/0.007418, allocations: 4 kB / 337.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.00742, allocations: 4 kB / 337.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/0.007423, allocations: 4.062 kB / 337.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.007539, allocations: 19.88 kB / 337.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001833/0.007722, allocations: 132.4 kB / 337.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.314e-05/0.007755, allocations: 63.34 kB / 337.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.236e-05/0.007778, allocations: 11.98 kB / 337.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.007797, allocations: 16.5 kB / 337.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of SimCode: time 3.31e-07/0.007797, allocations: 0 / 337.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Templates: time 0.003856/0.01165, allocations: 2.48 MB / 340.3 MB, free: 9.297 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=480 -s gbode -gbm=radauIIA3 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.6682690791785717]