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.001403/0.001403, allocations: 79.73 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001563/0.001563, allocations: 157.6 kB / 23.01 MB, free: 4.941 MB / 14.72 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.501/1.501, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006816/0.006816, allocations: 0.8046 MB / 260.6 MB, free: 15.88 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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: KeyWordIO requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 67.91 kB / 383.3 MB, free: 5.027 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09972, allocations: 53.56 MB / 436.8 MB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001653/0.1014, allocations: 0.4932 MB / 437.3 MB, free: 14.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1037, allocations: 1.424 MB / 438.7 MB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.1038, allocations: 0 / 438.7 MB, free: 13.45 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.0/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.0/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.001466/0.1052, allocations: 318.2 kB / 439.1 MB, free: 13.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.1053, allocations: 31.91 kB / 439.1 MB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.208e-05/0.1053, allocations: 8 kB / 439.1 MB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.808e-05/0.1054, allocations: 35.89 kB / 439.1 MB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.1055, allocations: 4 kB / 439.1 MB, free: 13.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.1055, allocations: 15.94 kB / 439.1 MB, free: 13.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.1056, allocations: 19.97 kB / 439.2 MB, free: 13.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1056, allocations: 0 / 439.2 MB, free: 13.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000534/0.1061, allocations: 319.5 kB / 439.5 MB, free: 12.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.1062, allocations: 19.98 kB / 439.5 MB, free: 12.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.1062, allocations: 11.92 kB / 439.5 MB, free: 12.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.1067, allocations: 271.3 kB / 439.8 MB, free: 12.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1067, allocations: 3.938 kB / 439.8 MB, free: 12.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1067, allocations: 0 / 439.8 MB, free: 12.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1067, allocations: 4 kB / 439.8 MB, free: 12.41 MB / 414.1 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.0005061/0.1072, allocations: 341.5 kB / 440.1 MB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1072, allocations: 12.03 kB / 440.1 MB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.1073, allocations: 84.16 kB / 440.2 MB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1075, allocations: 197.8 kB / 440.4 MB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.1076, allocations: 150.9 kB / 440.5 MB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.1077, allocations: 150.9 kB / 440.7 MB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.959e-05/0.1077, allocations: 113.1 kB / 440.8 MB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.1078, allocations: 75.28 kB / 440.9 MB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.1079, allocations: 158.5 kB / 441 MB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.078e-05/0.1079, allocations: 154.5 kB / 441.2 MB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.62e-05/0.108, allocations: 158.6 kB / 441.3 MB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.1083, allocations: 401.6 kB / 441.7 MB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1084, allocations: 165.1 kB / 441.9 MB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.1085, allocations: 92.06 kB / 442 MB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.1085, allocations: 79.28 kB / 442.1 MB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.1086, allocations: 67.31 kB / 442.1 MB, free: 9.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 2.033e-06/0.1086, allocations: 4 kB / 442.1 MB, free: 9.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.1088, allocations: 41.59 kB / 442.2 MB, free: 9.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1088, allocations: 51.41 kB / 442.2 MB, free: 9.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1089, allocations: 109.8 kB / 442.3 MB, free: 9.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1089, allocations: 25.7 kB / 442.4 MB, free: 9.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.109, allocations: 88.14 kB / 442.4 MB, free: 9.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.109, allocations: 3.984 kB / 442.4 MB, free: 9.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.109, allocations: 13.77 kB / 442.5 MB, free: 9.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1092, allocations: 322.8 kB / 442.8 MB, free: 9.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.1092, allocations: 128 / 442.8 MB, free: 9.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.1092, allocations: 4 kB / 442.8 MB, free: 9.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.1092, allocations: 12.8 kB / 442.8 MB, free: 9.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1092, allocations: 0 / 442.8 MB, free: 9.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.567e-05/0.1093, allocations: 33.64 kB / 442.8 MB, free: 9.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1093, allocations: 14.75 kB / 442.8 MB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1093, allocations: 0 / 442.8 MB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1093, allocations: 0 / 442.8 MB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-05/0.1093, allocations: 3.984 kB / 442.8 MB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.1093, allocations: 0 / 442.8 MB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.1093, allocations: 4.094 kB / 442.8 MB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.1093, allocations: 0 / 442.8 MB, free: 9.164 MB / 414.1 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 9.101e-05/0.1094, allocations: 117.8 kB / 443 MB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.1094, allocations: 7.938 kB / 443 MB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.1095, allocations: 7.453 kB / 443 MB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1095, allocations: 4 kB / 443 MB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1095, allocations: 0 / 443 MB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1095, allocations: 3.938 kB / 443 MB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.1096, allocations: 105.3 kB / 443.1 MB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1096, allocations: 0 / 443.1 MB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-06/0.1096, allocations: 7.938 kB / 443.1 MB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1096, allocations: 0 / 443.1 MB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1096, allocations: 3.938 kB / 443.1 MB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1096, allocations: 256 / 443.1 MB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1096, allocations: 4 kB / 443.1 MB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.405e-05/0.1097, allocations: 69.08 kB / 443.2 MB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-06/0.1097, allocations: 0 / 443.2 MB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1097, allocations: 3.938 kB / 443.2 MB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.1097, allocations: 4 kB / 443.2 MB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.1097, allocations: 3.984 kB / 443.2 MB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.1097, allocations: 32 / 443.2 MB, free: 8.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.652e-05/0.1098, allocations: 95.28 kB / 443.3 MB, free: 8.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1098, allocations: 0 / 443.3 MB, free: 8.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.1102, allocations: 107.5 kB / 443.4 MB, free: 8.57 MB / 414.1 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.0008384/0.111, allocations: 384.5 kB / 443.8 MB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.426e-05/0.1111, allocations: 0 / 443.8 MB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.1111, allocations: 4 kB / 443.8 MB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.4e-06/0.1111, allocations: 0 / 443.8 MB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.1112, allocations: 11.98 kB / 443.8 MB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.1115, allocations: 132.7 kB / 443.9 MB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.1116, allocations: 63.47 kB / 444 MB, free: 8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.1116, allocations: 19.92 kB / 444 MB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.1116, allocations: 12.5 kB / 444 MB, free: 7.969 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1116, allocations: 0 / 444 MB, free: 7.969 MB / 414.1 MB Notification: Performance of Templates: time 0.006012/0.1176, allocations: 2.422 MB / 446.4 MB, free: 5.551 MB / 414.1 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 ida -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.494100913987495] Failed to read output from testmodel.py, exit status != 0: 0.12690068897791207 0.14165438600000002 0.031923685 Calling exit ...