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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.001409, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006192/0.006191, allocations: 0.9929 MB / 291.4 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.91 kB / 352.1 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1103, allocations: 49.64 MB / 401.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001816/0.1122, allocations: 495.1 kB / 402.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1143, allocations: 1.345 MB / 403.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.1144, allocations: 0 / 403.5 MB, free: 3.34 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.11.0+X/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.11.0+X/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.11.0+X/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.001273/0.1157, allocations: 299.9 kB / 403.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.1157, allocations: 27.97 kB / 403.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.743e-05/0.1158, allocations: 23.84 kB / 403.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.1158, allocations: 12 kB / 403.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.1159, allocations: 7.984 kB / 403.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.702e-05/0.1159, allocations: 8 kB / 403.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.116, allocations: 19.42 kB / 403.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.116, allocations: 0 / 403.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.1165, allocations: 323.6 kB / 404.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1165, allocations: 15.98 kB / 404.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.1166, allocations: 11.92 kB / 404.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.117, allocations: 263.6 kB / 404.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.117, allocations: 0 / 404.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.117, allocations: 0 / 404.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.117, allocations: 0 / 404.5 MB, free: 2.355 MB / 334.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.0004368/0.1174, allocations: 429.1 kB / 404.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1175, allocations: 8.031 kB / 404.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.1176, allocations: 80.22 kB / 405 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.1177, allocations: 255.8 kB / 405.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.1178, allocations: 154.9 kB / 405.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.1179, allocations: 154.9 kB / 405.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.337e-05/0.1179, allocations: 109.1 kB / 405.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.118, allocations: 75.28 kB / 405.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.118, allocations: 154.6 kB / 405.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.1182, allocations: 150.6 kB / 406 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1183, allocations: 150.6 kB / 406.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.1186, allocations: 461.9 kB / 406.6 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.1187, allocations: 165.1 kB / 406.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.1187, allocations: 84.14 kB / 406.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.1188, allocations: 75.28 kB / 407 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.1189, allocations: 80.98 kB / 407 MB, free: 15.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.175e-06/0.1189, allocations: 0 / 407 MB, free: 15.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001677/0.1191, allocations: 67.33 kB / 407.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.1192, allocations: 136.5 kB / 407.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.1193, allocations: 109.8 kB / 407.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1193, allocations: 25.7 kB / 407.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.1194, allocations: 80.14 kB / 407.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.1194, allocations: 0 / 407.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1194, allocations: 17.84 kB / 407.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1195, allocations: 314.8 kB / 407.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.1195, allocations: 0 / 407.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.1196, allocations: 4 kB / 407.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/0.1196, allocations: 64.19 kB / 407.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1196, allocations: 4 kB / 407.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.156e-05/0.1197, allocations: 71.19 kB / 407.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.1198, allocations: 37.8 kB / 408 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1198, allocations: 256 / 408 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1198, allocations: 3.984 kB / 408 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-06/0.1198, allocations: 7.984 kB / 408 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1198, allocations: 0 / 408 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.1198, allocations: 0 / 408 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1198, allocations: 4 kB / 408 MB, free: 14.6 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 9.101e-05/0.1199, allocations: 135.5 kB / 408.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.12, allocations: 7.938 kB / 408.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.263e-05/0.12, allocations: 7.125 kB / 408.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.12, allocations: 0 / 408.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.12, allocations: 0 / 408.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.12, allocations: 3.984 kB / 408.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.52e-05/0.1201, allocations: 153.7 kB / 408.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1201, allocations: 3.938 kB / 408.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.1201, allocations: 4 kB / 408.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1201, allocations: 0 / 408.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1201, allocations: 0 / 408.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.1202, allocations: 3.938 kB / 408.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1202, allocations: 0 / 408.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.364e-05/0.1203, allocations: 98.77 kB / 408.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.1203, allocations: 81.05 kB / 408.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1203, allocations: 4 kB / 408.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.1203, allocations: 0 / 408.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.1204, allocations: 0 / 408.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1204, allocations: 0 / 408.5 MB, free: 14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.213e-05/0.1204, allocations: 95.27 kB / 408.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1204, allocations: 4.031 kB / 408.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.1208, allocations: 95.98 kB / 408.7 MB, free: 13.8 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.0007532/0.1215, allocations: 393.4 kB / 409 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.1216, allocations: 59.34 kB / 409.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1217, allocations: 0 / 409.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.25e-05/0.1217, allocations: 59.39 kB / 409.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.1219, allocations: 11.94 kB / 409.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.1222, allocations: 125.1 kB / 409.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1225, allocations: 0.6805 MB / 410 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.343e-05/0.1225, allocations: 4 kB / 410 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.1225, allocations: 11.44 kB / 410 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1225, allocations: 0 / 410 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Templates: time 0.005422/0.128, allocations: 2.282 MB / 412.3 MB, free: 10.17 MB / 350.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile (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)