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.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-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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: "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008259/0.008259, allocations: 102 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006075/0.006075, allocations: 1.007 MB / 291.5 MB, free: 13.74 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 63.89 kB / 402.5 MB, free: 32.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1085, allocations: 49.66 MB / 452.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001855/0.1104, allocations: 0.4929 MB / 452.6 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1126, allocations: 1.345 MB / 454 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.1127, allocations: 8 kB / 454 MB, free: 12.64 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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-master/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-master/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-master/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.001593/0.1143, allocations: 298.4 kB / 454.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.1144, allocations: 27.91 kB / 454.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.093e-05/0.1144, allocations: 15.98 kB / 454.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1145, allocations: 35.84 kB / 454.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1146, allocations: 3.984 kB / 454.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.1146, allocations: 8 kB / 454.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.1147, allocations: 27.91 kB / 454.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1147, allocations: 0 / 454.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/0.1153, allocations: 331.5 kB / 454.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.1154, allocations: 27.97 kB / 454.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.1155, allocations: 11.94 kB / 454.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004828/0.1159, allocations: 291.4 kB / 455 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.116, allocations: 0 / 455 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.116, allocations: 0 / 455 MB, free: 11.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.116, allocations: 0 / 455 MB, free: 11.59 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.0005039/0.1165, allocations: 446 kB / 455.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1165, allocations: 12.03 kB / 455.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.1166, allocations: 106 kB / 455.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.1167, allocations: 88.12 kB / 455.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1169, allocations: 284.2 kB / 455.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.117, allocations: 154.9 kB / 456.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.117, allocations: 150.9 kB / 456.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.255e-05/0.1171, allocations: 108.9 kB / 456.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.1171, allocations: 75.28 kB / 456.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.1172, allocations: 158.6 kB / 456.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/0.1172, allocations: 150.6 kB / 456.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.1173, allocations: 150.6 kB / 456.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.1176, allocations: 469.9 kB / 457.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.139e-05/0.1177, allocations: 173.1 kB / 457.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.1177, allocations: 84.14 kB / 457.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1177, allocations: 79.22 kB / 457.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.1179, allocations: 67.31 kB / 457.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.1179, allocations: 0 / 457.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.1181, allocations: 37.7 kB / 457.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1181, allocations: 55.41 kB / 457.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1183, allocations: 145.8 kB / 457.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1183, allocations: 29.64 kB / 458 MB, free: 8.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.1184, allocations: 92.14 kB / 458.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.1184, allocations: 8.031 kB / 458.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.1184, allocations: 9.719 kB / 458.1 MB, free: 8.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1185, allocations: 318.8 kB / 458.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.1186, allocations: 3.984 kB / 458.4 MB, free: 7.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.1186, allocations: 0 / 458.4 MB, free: 7.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.1186, allocations: 8.859 kB / 458.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1186, allocations: 0 / 458.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.353e-05/0.1187, allocations: 45.69 kB / 458.4 MB, free: 7.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1187, allocations: 6.344 kB / 458.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1187, allocations: 0 / 458.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1187, allocations: 0 / 458.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.628e-05/0.1188, allocations: 3.938 kB / 458.5 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1188, allocations: 7.938 kB / 458.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.1188, allocations: 0 / 458.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1188, allocations: 0 / 458.5 MB, free: 7.891 MB / 334.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.426e-05/0.1189, allocations: 122.5 kB / 458.6 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1189, allocations: 11.84 kB / 458.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.119, allocations: 15.55 kB / 458.6 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.119, allocations: 0 / 458.6 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.119, allocations: 3.938 kB / 458.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.119, allocations: 0 / 458.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1192, allocations: 169.6 kB / 458.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1192, allocations: 0 / 458.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-06/0.1192, allocations: 0 / 458.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1192, allocations: 3.984 kB / 458.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1192, allocations: 0 / 458.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1192, allocations: 0 / 458.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1192, allocations: 8 kB / 458.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.1193, allocations: 65.02 kB / 458.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.1194, allocations: 89 kB / 458.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1194, allocations: 7.984 kB / 459 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.1194, allocations: 4 kB / 459 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.1195, allocations: 0 / 459 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.1195, allocations: 0 / 459 MB, free: 7.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.1196, allocations: 127.7 kB / 459.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1196, allocations: 0 / 459.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.12, allocations: 103.9 kB / 459.2 MB, free: 7.074 MB / 334.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.0009389/0.1209, allocations: 0.8748 MB / 460.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.098e-05/0.121, allocations: 11.94 kB / 460.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.121, allocations: 0 / 460.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.121, allocations: 4 kB / 460.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.1212, allocations: 15.92 kB / 460.1 MB, free: 6.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1223, allocations: 1.266 MB / 461.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1225, allocations: 0.6844 MB / 462 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.1226, allocations: 19.92 kB / 462.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.1226, allocations: 27.42 kB / 462.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1226, allocations: 4.031 kB / 462.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.1459, allocations: 3.874 MB / 466 MB, free: 304 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.049, allocations: 4.062 kB / 466 MB, free: 300 kB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)