Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",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.006112/0.006112, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.00147/0.00147, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.003 MB / 291.5 MB, free: 13.74 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 59.91 kB / 402.5 MB, free: 32.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07952/0.0816, allocations: 49.65 MB / 452.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002126/0.08376, allocations: 1.258 MB / 453.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.08553, allocations: 1.217 MB / 454.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.08558, allocations: 0 / 454.6 MB, free: 12 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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001112/0.0867, allocations: 261.2 kB / 454.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.913e-05/0.08681, allocations: 59.86 kB / 454.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.129e-06/0.08682, allocations: 0 / 454.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.814e-05/0.08691, allocations: 35.91 kB / 454.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.08695, allocations: 0 / 454.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.08699, allocations: 23.86 kB / 455 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.08715, allocations: 39.89 kB / 455 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.08716, allocations: 0 / 455 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.08755, allocations: 263.6 kB / 455.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.08764, allocations: 39.89 kB / 455.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.08768, allocations: 19.88 kB / 455.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.08805, allocations: 247.5 kB / 455.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.08806, allocations: 0 / 455.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.08807, allocations: 0 / 455.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.08808, allocations: 0 / 455.6 MB, free: 11.03 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.0005372/0.08862, allocations: 442.4 kB / 456 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.08867, allocations: 8.031 kB / 456 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/0.08873, allocations: 110 kB / 456.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.08881, allocations: 84.17 kB / 456.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.08906, allocations: 303.4 kB / 456.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.08912, allocations: 154.9 kB / 456.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.08918, allocations: 154.9 kB / 456.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.271e-05/0.08925, allocations: 108.9 kB / 456.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.08928, allocations: 79.28 kB / 457 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.08934, allocations: 154.5 kB / 457.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.0894, allocations: 150.6 kB / 457.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.08945, allocations: 158.6 kB / 457.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.08976, allocations: 465.9 kB / 457.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.08986, allocations: 177.1 kB / 458.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.0899, allocations: 88.14 kB / 458.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.08994, allocations: 79.22 kB / 458.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.08999, allocations: 105.8 kB / 458.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.08999, allocations: 0 / 458.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.012e-05/0.09008, allocations: 41.59 kB / 458.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.09016, allocations: 126.7 kB / 458.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.09038, allocations: 188.9 kB / 458.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.0904, allocations: 25.7 kB / 458.7 MB, free: 7.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.09045, allocations: 96.14 kB / 458.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.09046, allocations: 0 / 458.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.09048, allocations: 9.719 kB / 458.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.09061, allocations: 318.8 kB / 459.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.09063, allocations: 8 kB / 459.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.09064, allocations: 4.047 kB / 459.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.09067, allocations: 75.28 kB / 459.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/0.0907, allocations: 75.28 kB / 459.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.965e-05/0.09078, allocations: 41.67 kB / 459.3 MB, free: 7.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.09082, allocations: 79.28 kB / 459.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.09086, allocations: 83.22 kB / 459.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.139e-05/0.09093, allocations: 154.6 kB / 459.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.069e-05/0.09097, allocations: 83.2 kB / 459.7 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.573e-05/0.09103, allocations: 150.6 kB / 459.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.09113, allocations: 79.28 kB / 459.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.09117, allocations: 83.22 kB / 460 MB, free: 6.332 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001182/0.0913, allocations: 265.1 kB / 460.3 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.09137, allocations: 116.9 kB / 460.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.09144, allocations: 112.8 kB / 460.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/0.0915, allocations: 180.3 kB / 460.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.619e-05/0.09157, allocations: 188.2 kB / 460.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.047e-05/0.09164, allocations: 176.3 kB / 461 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.0919, allocations: 417.2 kB / 461.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.882e-05/0.09195, allocations: 116.8 kB / 461.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.092, allocations: 112.9 kB / 461.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.48e-05/0.09207, allocations: 180.2 kB / 461.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.09214, allocations: 180.3 kB / 462 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.624e-05/0.09221, allocations: 176.3 kB / 462.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.037e-05/0.09229, allocations: 188.2 kB / 462.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.09243, allocations: 311.7 kB / 462.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.09254, allocations: 194 kB / 462.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.09263, allocations: 184.3 kB / 463 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.09273, allocations: 112.9 kB / 463.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.09282, allocations: 180.2 kB / 463.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.09287, allocations: 104.9 kB / 463.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.093, allocations: 147.2 kB / 463.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09301, allocations: 0 / 463.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004126/0.09343, allocations: 79.73 kB / 463.7 MB, free: 2.461 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0009357/0.09437, allocations: 1.047 MB / 464.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.44e-05/0.09443, allocations: 7.938 kB / 464.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.09443, allocations: 0 / 464.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.09444, allocations: 0 / 464.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.09483, allocations: 455.7 kB / 465.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.09643, allocations: 2.02 MB / 467.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.09666, allocations: 0.6885 MB / 467.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3e-05/0.09669, allocations: 12 kB / 467.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.09676, allocations: 35.41 kB / 467.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09677, allocations: 0 / 467.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.1214, allocations: 3.493 MB / 471.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/7.869, allocations: 11.97 kB / 471.4 MB, free: 10.7 MB / 350.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadRealCSV_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_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)