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.004234/0.004234, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001021/0.001021, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006396/0.006396, allocations: 1.016 MB / 291.5 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 402.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2259, allocations: 49.64 MB / 452.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.00158/0.2275, allocations: 0.489 MB / 452.6 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.2297, allocations: 1.345 MB / 453.9 MB, free: 20.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.2297, allocations: 3.938 kB / 453.9 MB, free: 20.91 MB / 350.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.00146/0.2312, allocations: 310.7 kB / 454.2 MB, free: 20.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.2312, allocations: 36.56 kB / 454.3 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.751e-05/0.2313, allocations: 7.188 kB / 454.3 MB, free: 20.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.2313, allocations: 16.64 kB / 454.3 MB, free: 20.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.2314, allocations: 0 / 454.3 MB, free: 20.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.652e-05/0.2314, allocations: 10.22 kB / 454.3 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.2315, allocations: 17.58 kB / 454.3 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2315, allocations: 3.156 kB / 454.3 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.2319, allocations: 335.8 kB / 454.7 MB, free: 20.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.232, allocations: 19.92 kB / 454.7 MB, free: 20.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.232, allocations: 14.44 kB / 454.7 MB, free: 20.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.2323, allocations: 288.7 kB / 455 MB, free: 20.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2324, allocations: 0 / 455 MB, free: 20.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2324, allocations: 0 / 455 MB, free: 20.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.2324, allocations: 0 / 455 MB, free: 20.51 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.0003892/0.2328, allocations: 455.9 kB / 455.4 MB, free: 20.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2328, allocations: 11.69 kB / 455.4 MB, free: 20.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.2329, allocations: 110 kB / 455.5 MB, free: 19.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.2329, allocations: 79.38 kB / 455.6 MB, free: 19.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2331, allocations: 277.4 kB / 455.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2331, allocations: 150.9 kB / 456 MB, free: 19.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.2331, allocations: 154.9 kB / 456.2 MB, free: 19.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.729e-05/0.2332, allocations: 104.9 kB / 456.3 MB, free: 19.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2332, allocations: 75.28 kB / 456.4 MB, free: 19.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.2332, allocations: 157.7 kB / 456.5 MB, free: 18.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2332, allocations: 154.6 kB / 456.7 MB, free: 18.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.2333, allocations: 157.8 kB / 456.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.2335, allocations: 461.6 kB / 457.3 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/0.2335, allocations: 165.1 kB / 457.4 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.2335, allocations: 87.17 kB / 457.5 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.2336, allocations: 79.22 kB / 457.6 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.2337, allocations: 71.09 kB / 457.7 MB, free: 17.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.225e-06/0.2337, allocations: 0 / 457.7 MB, free: 17.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000157/0.2338, allocations: 68.2 kB / 457.7 MB, free: 17.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.2339, allocations: 139.1 kB / 457.9 MB, free: 17.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.234, allocations: 141.7 kB / 458 MB, free: 17.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.234, allocations: 25.7 kB / 458 MB, free: 17.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.2341, allocations: 90.2 kB / 458.1 MB, free: 17.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.2341, allocations: 0 / 458.1 MB, free: 17.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.2341, allocations: 12.41 kB / 458.1 MB, free: 17.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.2342, allocations: 314.8 kB / 458.4 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.2342, allocations: 6.844 kB / 458.5 MB, free: 16.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.2342, allocations: 7 kB / 458.5 MB, free: 16.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/0.2342, allocations: 59.05 kB / 458.5 MB, free: 16.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.2342, allocations: 0 / 458.5 MB, free: 16.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.102e-05/0.2343, allocations: 74.89 kB / 458.6 MB, free: 16.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.2343, allocations: 33.58 kB / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2344, allocations: 0 / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2344, allocations: 0 / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.2344, allocations: 0 / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.2344, allocations: 0 / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.2344, allocations: 6.812 kB / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.2344, allocations: 3.984 kB / 458.6 MB, free: 16.75 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 6.39e-05/0.2345, allocations: 148.1 kB / 458.8 MB, free: 16.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.2345, allocations: 6.812 kB / 458.8 MB, free: 16.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.432e-05/0.2345, allocations: 10.38 kB / 458.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2346, allocations: 0 / 458.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2346, allocations: 3.938 kB / 458.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2346, allocations: 2.719 kB / 458.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.881e-05/0.2346, allocations: 166.1 kB / 459 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2347, allocations: 0 / 459 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.2347, allocations: 7.422 kB / 459 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2347, allocations: 2.875 kB / 459 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2347, allocations: 3.938 kB / 459 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2347, allocations: 0 / 459 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2347, allocations: 0 / 459 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.7e-05/0.2348, allocations: 99.53 kB / 459.1 MB, free: 16.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.2348, allocations: 83.11 kB / 459.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2348, allocations: 6.781 kB / 459.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.631e-05/0.2349, allocations: 2.688 kB / 459.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.2349, allocations: 0 / 459.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2349, allocations: 0 / 459.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.875e-05/0.235, allocations: 117.5 kB / 459.3 MB, free: 16.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.235, allocations: 0 / 459.3 MB, free: 16.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.2353, allocations: 98.39 kB / 459.4 MB, free: 16.06 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.0007725/0.2361, allocations: 0.9296 MB / 460.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.906e-05/0.2362, allocations: 62.19 kB / 460.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.2362, allocations: 0 / 460.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.2362, allocations: 58.59 kB / 460.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.2364, allocations: 3.344 kB / 460.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.2372, allocations: 1.292 MB / 461.7 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.461e-05/0.2373, allocations: 0.692 MB / 462.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.185e-05/0.2373, allocations: 10.06 kB / 462.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.2373, allocations: 19.91 kB / 462.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2374, allocations: 0 / 462.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.2562, allocations: 3.654 MB / 466.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.001, allocations: 3.516 kB / 466.1 MB, free: 12.65 MB / 350.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 & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)