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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 191.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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.00692/0.00692, allocations: 1.015 MB / 307.3 MB, free: 7.613 MB / 238.1 MB " [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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001981/0.001981, allocations: 64.08 kB / 427.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1089, allocations: 52.41 MB / 480.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001774/0.1107, allocations: 0.4967 MB / 480.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1135, allocations: 1.452 MB / 482.1 MB, free: 488 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.1135, allocations: 0 / 482.1 MB, free: 488 kB / 334.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.001591/0.1151, allocations: 326.1 kB / 482.4 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.1151, allocations: 27.91 kB / 482.4 MB, free: 136 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.222e-05/0.1152, allocations: 11.98 kB / 482.4 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.565e-05/0.1153, allocations: 15.98 kB / 482.4 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.1153, allocations: 0 / 482.4 MB, free: 108 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.1153, allocations: 11.98 kB / 482.5 MB, free: 96 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1155, allocations: 23.86 kB / 482.5 MB, free: 72 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1155, allocations: 0 / 482.5 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005882/0.1161, allocations: 363.5 kB / 482.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.1161, allocations: 15.98 kB / 482.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1162, allocations: 7.938 kB / 482.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.1166, allocations: 279.3 kB / 483.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.1166, allocations: 4 kB / 483.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1166, allocations: 4 kB / 483.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1166, allocations: 0 / 483.1 MB, free: 15.41 MB / 350.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.0004357/0.117, allocations: 351.2 kB / 483.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1171, allocations: 12.92 kB / 483.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.1171, allocations: 76.22 kB / 483.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1173, allocations: 193.8 kB / 483.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.1174, allocations: 150.9 kB / 483.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.1174, allocations: 154.9 kB / 484.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.565e-05/0.1175, allocations: 105.1 kB / 484.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.1176, allocations: 79.28 kB / 484.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/0.1176, allocations: 154.6 kB / 484.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.267e-05/0.1177, allocations: 150.6 kB / 484.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.992e-05/0.1178, allocations: 154.5 kB / 484.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.1181, allocations: 425 kB / 485.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1182, allocations: 173.1 kB / 485.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.1183, allocations: 80.14 kB / 485.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.882e-05/0.1183, allocations: 75.28 kB / 485.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.1185, allocations: 88.92 kB / 485.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.114e-06/0.1185, allocations: 0 / 485.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001826/0.1187, allocations: 71.34 kB / 485.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.1188, allocations: 132.5 kB / 485.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1189, allocations: 105.9 kB / 485.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1189, allocations: 25.7 kB / 485.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.1189, allocations: 88.25 kB / 485.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.119, allocations: 0 / 485.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.119, allocations: 13.72 kB / 485.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1191, allocations: 318.8 kB / 486.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.1191, allocations: 0 / 486.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.382e-05/0.1192, allocations: 4 kB / 486.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.1192, allocations: 56.27 kB / 486.3 MB, free: 12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1192, allocations: 0 / 486.3 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.321e-05/0.1193, allocations: 75.39 kB / 486.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.1193, allocations: 33.7 kB / 486.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1193, allocations: 0 / 486.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1193, allocations: 0 / 486.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1193, allocations: 0 / 486.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1194, allocations: 0 / 486.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.1194, allocations: 0 / 486.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1194, allocations: 3.938 kB / 486.4 MB, free: 11.87 MB / 350.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): 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 0.0001113/0.1195, allocations: 143.5 kB / 486.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.1195, allocations: 11.97 kB / 486.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.416e-05/0.1195, allocations: 3.156 kB / 486.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1195, allocations: 0 / 486.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1195, allocations: 0 / 486.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1195, allocations: 0 / 486.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1196, allocations: 124.8 kB / 486.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1197, allocations: 3.938 kB / 486.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.1197, allocations: 4 kB / 486.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1197, allocations: 0 / 486.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1197, allocations: 3.938 kB / 486.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1197, allocations: 256 / 486.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1197, allocations: 4 kB / 486.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.1198, allocations: 98.78 kB / 486.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.1198, allocations: 3.938 kB / 486.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1198, allocations: 4 kB / 486.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.598e-05/0.1198, allocations: 3.984 kB / 486.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.1198, allocations: 3.938 kB / 486.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1198, allocations: 0 / 486.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.912e-05/0.1199, allocations: 95.31 kB / 486.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1199, allocations: 3.938 kB / 486.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.1202, allocations: 99.59 kB / 487 MB, free: 11.19 MB / 350.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: 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.0008893/0.1211, allocations: 386.7 kB / 487.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1212, allocations: 55.41 kB / 487.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1212, allocations: 4 kB / 487.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.1213, allocations: 51.41 kB / 487.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.1214, allocations: 16.06 kB / 487.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.1217, allocations: 120.9 kB / 487.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.122, allocations: 0.6805 MB / 488.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.423e-05/0.122, allocations: 4 kB / 488.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.1221, allocations: 11.44 kB / 488.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1221, allocations: 3.938 kB / 488.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of Templates: time 0.006362/0.1284, allocations: 2.286 MB / 490.6 MB, free: 7.562 MB / 350.1 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=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.53003304079175] Failed to read output from testmodel.py, exit status != 0: 0.13590175844728947 0.15142671200000002 0.031725202 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0ff2a017b0>