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-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.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",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.006865/0.006865, allocations: 107.5 kB / 15.74 MB, free: 6.035 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.001652/0.001653, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.00613/0.00613, allocations: 1.001 MB / 291.5 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.72 kB / 402.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1117, allocations: 49.64 MB / 452.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001678/0.1134, allocations: 0.5021 MB / 452.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.1155, allocations: 1.346 MB / 454 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.1156, allocations: 0 / 454 MB, free: 3.074 MB / 318.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.001759/0.1173, allocations: 309.5 kB / 454.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.808e-05/0.1174, allocations: 23.97 kB / 454.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.544e-05/0.1175, allocations: 7.938 kB / 454.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.23e-05/0.1175, allocations: 19.97 kB / 454.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.1176, allocations: 0 / 454.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.1176, allocations: 8 kB / 454.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1177, allocations: 19.92 kB / 454.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1178, allocations: 0 / 454.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006022/0.1184, allocations: 335.5 kB / 454.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.1185, allocations: 15.98 kB / 454.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.1185, allocations: 27.84 kB / 454.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.1191, allocations: 271.5 kB / 455 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1191, allocations: 0 / 455 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1191, allocations: 0 / 455 MB, free: 2.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1191, allocations: 0 / 455 MB, free: 2.059 MB / 318.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.0005219/0.1196, allocations: 451 kB / 455.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1197, allocations: 12.03 kB / 455.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.1198, allocations: 110 kB / 455.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.1198, allocations: 88.12 kB / 455.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1201, allocations: 275.4 kB / 455.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.1201, allocations: 162.8 kB / 456 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.1202, allocations: 158.9 kB / 456.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.196e-05/0.1202, allocations: 104.9 kB / 456.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.1203, allocations: 75.28 kB / 456.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/0.1203, allocations: 154.6 kB / 456.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.1204, allocations: 154.6 kB / 456.7 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.354e-05/0.1204, allocations: 150.6 kB / 456.8 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.1208, allocations: 465.9 kB / 457.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.1209, allocations: 173.1 kB / 457.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.1209, allocations: 80.14 kB / 457.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1209, allocations: 79.27 kB / 457.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.1211, allocations: 73.11 kB / 457.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.404e-06/0.1211, allocations: 0 / 457.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001838/0.1213, allocations: 71.33 kB / 457.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.1214, allocations: 136.6 kB / 457.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1215, allocations: 137.8 kB / 458 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1215, allocations: 29.7 kB / 458 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.1216, allocations: 84.14 kB / 458.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.1216, allocations: 3.906 kB / 458.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.1216, allocations: 13.72 kB / 458.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1218, allocations: 318.8 kB / 458.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.1218, allocations: 4 kB / 458.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.1218, allocations: 4 kB / 458.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.497e-05/0.1218, allocations: 64.2 kB / 458.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1218, allocations: 0 / 458.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.546e-05/0.1219, allocations: 71.33 kB / 458.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.122, allocations: 29.7 kB / 458.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.122, allocations: 0 / 458.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.122, allocations: 0 / 458.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.122, allocations: 3.938 kB / 458.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.122, allocations: 8.094 kB / 458.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.1221, allocations: 0 / 458.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1221, allocations: 0 / 458.6 MB, free: 14.09 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): 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 8.964e-05/0.1222, allocations: 143.5 kB / 458.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.1222, allocations: 7.938 kB / 458.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/0.1222, allocations: 3.531 kB / 458.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1222, allocations: 4 kB / 458.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1222, allocations: 0 / 458.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1222, allocations: 0 / 458.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.1224, allocations: 165.6 kB / 458.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1224, allocations: 4 kB / 459 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.1224, allocations: 0 / 459 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1224, allocations: 3.938 kB / 459 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1224, allocations: 0 / 459 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1224, allocations: 3.938 kB / 459 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1224, allocations: 0 / 459 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.1225, allocations: 98.67 kB / 459.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.1226, allocations: 93.12 kB / 459.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1226, allocations: 4 kB / 459.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.621e-05/0.1226, allocations: 0 / 459.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.1227, allocations: 8 kB / 459.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1227, allocations: 0 / 459.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.502e-05/0.1228, allocations: 115.2 kB / 459.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1228, allocations: 0 / 459.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.1232, allocations: 99.92 kB / 459.4 MB, free: 13.23 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: 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.001094/0.1243, allocations: 0.9284 MB / 460.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.1244, allocations: 55.41 kB / 460.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1244, allocations: 4 kB / 460.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.1244, allocations: 55.41 kB / 460.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.1246, allocations: 4 kB / 460.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1259, allocations: 1.283 MB / 461.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1262, allocations: 0.6958 MB / 462.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.711e-05/0.1262, allocations: 8 kB / 462.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.1262, allocations: 23.42 kB / 462.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1262, allocations: 0 / 462.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.1498, allocations: 3.66 MB / 466.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/7.93, allocations: 11.75 kB / 466.1 MB, free: 6.484 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)