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.12.0/package.mo", uses=false) 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: "" <> 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.00134/0.00134, allocations: 112.5 kB / 15.73 MB, free: 76 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.00136/0.00136, allocations: 190.6 kB / 16.67 MB, free: 6.539 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.007198/0.007198, allocations: 1.02 MB / 291.6 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003167/0.003167, allocations: 67.89 kB / 402.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3519, allocations: 49.63 MB / 452.1 MB, free: 22.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001338/0.3532, allocations: 0.5043 MB / 452.6 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3548, allocations: 1.343 MB / 454 MB, free: 20.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.3548, allocations: 2.875 kB / 454 MB, free: 20.91 MB / 350.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.001129/0.356, allocations: 291.8 kB / 454.3 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.304e-05/0.356, allocations: 35.02 kB / 454.3 MB, free: 20.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.314e-05/0.356, allocations: 9.375 kB / 454.3 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.3561, allocations: 19.09 kB / 454.3 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.3561, allocations: 6.625 kB / 454.3 MB, free: 20.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.3562, allocations: 5.438 kB / 454.3 MB, free: 20.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.3563, allocations: 23.23 kB / 454.4 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3563, allocations: 0 / 454.4 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.3566, allocations: 333.9 kB / 454.7 MB, free: 20.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.3567, allocations: 12.48 kB / 454.7 MB, free: 20.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.3567, allocations: 21.69 kB / 454.7 MB, free: 20.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.357, allocations: 278.2 kB / 455 MB, free: 20.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.357, allocations: 0 / 455 MB, free: 20.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.357, allocations: 3.188 kB / 455 MB, free: 20.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3571, allocations: 0 / 455 MB, free: 20.52 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.0003669/0.3574, allocations: 469.4 kB / 455.4 MB, free: 20.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3575, allocations: 14.16 kB / 455.5 MB, free: 20.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.3575, allocations: 106 kB / 455.6 MB, free: 19.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.3576, allocations: 79.28 kB / 455.6 MB, free: 19.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3577, allocations: 268.8 kB / 455.9 MB, free: 19.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3577, allocations: 150.9 kB / 456 MB, free: 19.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.3577, allocations: 154.9 kB / 456.2 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.67e-05/0.3578, allocations: 108.7 kB / 456.3 MB, free: 19.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3578, allocations: 79.28 kB / 456.4 MB, free: 19.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.3578, allocations: 154.5 kB / 456.5 MB, free: 18.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.3578, allocations: 155.1 kB / 456.7 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.3579, allocations: 150.6 kB / 456.8 MB, free: 18.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.3581, allocations: 468.9 kB / 457.3 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.636e-05/0.3581, allocations: 165.1 kB / 457.5 MB, free: 17.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.3581, allocations: 80.14 kB / 457.5 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.3581, allocations: 84.02 kB / 457.6 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.762e-05/0.3582, allocations: 78.45 kB / 457.7 MB, free: 17.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.3582, allocations: 0 / 457.7 MB, free: 17.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.3584, allocations: 63.14 kB / 457.8 MB, free: 17.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3584, allocations: 136.9 kB / 457.9 MB, free: 17.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3585, allocations: 150.5 kB / 458 MB, free: 17.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-06/0.3586, allocations: 25.7 kB / 458.1 MB, free: 17.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.3586, allocations: 91.39 kB / 458.1 MB, free: 17.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.3586, allocations: 0 / 458.1 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.3586, allocations: 16.88 kB / 458.2 MB, free: 17.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.432e-05/0.3587, allocations: 318 kB / 458.5 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.3587, allocations: 3.219 kB / 458.5 MB, free: 16.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.3587, allocations: 0 / 458.5 MB, free: 16.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.3587, allocations: 59.58 kB / 458.5 MB, free: 16.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3587, allocations: 0 / 458.5 MB, free: 16.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.436e-05/0.3588, allocations: 73.23 kB / 458.6 MB, free: 16.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3588, allocations: 31.89 kB / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3588, allocations: 0 / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3588, allocations: 3.062 kB / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3588, allocations: 0 / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3588, allocations: 0 / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.3589, allocations: 7.031 kB / 458.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3589, allocations: 0 / 458.6 MB, free: 16.76 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 5.381e-05/0.3589, allocations: 146.6 kB / 458.8 MB, free: 16.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.359, allocations: 11.09 kB / 458.8 MB, free: 16.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.2e-05/0.359, allocations: 10.27 kB / 458.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.359, allocations: 0 / 458.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.359, allocations: 3.938 kB / 458.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.359, allocations: 7.922 kB / 458.8 MB, free: 16.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.97e-05/0.3591, allocations: 165 kB / 459 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3591, allocations: 0 / 459 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3591, allocations: 0 / 459 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3591, allocations: 0 / 459 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.3591, allocations: 0 / 459 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3591, allocations: 0 / 459 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3591, allocations: 7.094 kB / 459 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.961e-05/0.3592, allocations: 95.73 kB / 459.1 MB, free: 16.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.3592, allocations: 83.77 kB / 459.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3592, allocations: 3.125 kB / 459.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.3593, allocations: 3.094 kB / 459.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.3593, allocations: 11.45 kB / 459.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.3593, allocations: 4 kB / 459.2 MB, free: 16.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.3594, allocations: 115.6 kB / 459.3 MB, free: 16.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3594, allocations: 0 / 459.3 MB, free: 16.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.3597, allocations: 98.83 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.0008642/0.3606, allocations: 0.913 MB / 460.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.217e-05/0.3607, allocations: 64.39 kB / 460.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3607, allocations: 0 / 460.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.3607, allocations: 58.62 kB / 460.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.3608, allocations: 15.16 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.0007663/0.3616, allocations: 1.292 MB / 461.7 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.94e-05/0.3617, allocations: 0.681 MB / 462.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.3617, allocations: 11.88 kB / 462.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.3618, allocations: 23.33 kB / 462.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3618, allocations: 0 / 462.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.3868, allocations: 3.651 MB / 466.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.157, allocations: 3.719 kB / 466.1 MB, free: 12.66 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)