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.001085/0.001085, allocations: 108 kB / 15.6 MB, free: 132 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.001009/0.001009, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006146/0.006146, allocations: 1.021 MB / 291.4 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 352.2 MB, free: 6.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08402/0.08525, allocations: 49.65 MB / 401.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002235/0.08753, allocations: 1.245 MB / 403.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.08911, allocations: 1.216 MB / 404.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.08914, allocations: 0 / 404.3 MB, free: 2.574 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.001067/0.09022, allocations: 258 kB / 404.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.09032, allocations: 67.8 kB / 404.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.09033, allocations: 3.938 kB / 404.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.09041, allocations: 35.84 kB / 404.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.09045, allocations: 4 kB / 404.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.669e-05/0.09048, allocations: 19.94 kB / 404.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.09065, allocations: 46.81 kB / 404.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.09066, allocations: 0 / 404.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.09101, allocations: 259.6 kB / 405 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.09109, allocations: 35.95 kB / 405 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.09113, allocations: 23.86 kB / 405 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.09144, allocations: 243.7 kB / 405.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09145, allocations: 0 / 405.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09146, allocations: 0 / 405.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.09147, allocations: 0 / 405.2 MB, free: 1.602 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.0004504/0.09192, allocations: 439.1 kB / 405.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.09196, allocations: 8.031 kB / 405.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.09202, allocations: 106 kB / 405.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.09208, allocations: 80.22 kB / 405.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.09229, allocations: 307.4 kB / 406.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.09234, allocations: 150.9 kB / 406.3 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.09239, allocations: 154.9 kB / 406.5 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.311e-05/0.09245, allocations: 108.9 kB / 406.6 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.09248, allocations: 75.28 kB / 406.6 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/0.09254, allocations: 150.6 kB / 406.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/0.09259, allocations: 150.6 kB / 406.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.09264, allocations: 154.6 kB / 407.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.09291, allocations: 473.9 kB / 407.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.09299, allocations: 169.1 kB / 407.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.09303, allocations: 80.19 kB / 407.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.09306, allocations: 91.22 kB / 407.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.09311, allocations: 109.8 kB / 408 MB, free: 14.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.09312, allocations: 0 / 408 MB, free: 14.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.495e-05/0.09319, allocations: 33.61 kB / 408 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.09325, allocations: 126.7 kB / 408.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.09345, allocations: 184.4 kB / 408.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.09347, allocations: 33.64 kB / 408.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.09351, allocations: 88.14 kB / 408.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.09352, allocations: 8 kB / 408.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.09354, allocations: 13.72 kB / 408.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.09364, allocations: 318.8 kB / 408.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.958e-06/0.09365, allocations: 0 / 408.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-06/0.09366, allocations: 4.031 kB / 408.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.09369, allocations: 75.28 kB / 408.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.257e-05/0.09371, allocations: 79.22 kB / 408.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.966e-05/0.09378, allocations: 37.64 kB / 409 MB, free: 13.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.09381, allocations: 83.28 kB / 409.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/0.09384, allocations: 83.22 kB / 409.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.487e-05/0.09389, allocations: 154.5 kB / 409.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.058e-05/0.09392, allocations: 79.27 kB / 409.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.585e-05/0.09397, allocations: 154.5 kB / 409.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.09406, allocations: 79.28 kB / 409.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.09409, allocations: 83.22 kB / 409.7 MB, free: 12.93 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: 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 9.928e-05/0.09419, allocations: 272.4 kB / 409.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.09426, allocations: 112.8 kB / 410.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.09431, allocations: 112.8 kB / 410.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/0.09436, allocations: 176.3 kB / 410.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.228e-05/0.09442, allocations: 192.2 kB / 410.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.893e-05/0.09449, allocations: 184.2 kB / 410.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.0947, allocations: 413.2 kB / 411.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-05/0.09474, allocations: 112.9 kB / 411.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.09478, allocations: 109 kB / 411.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-05/0.09485, allocations: 180.3 kB / 411.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.09491, allocations: 184.2 kB / 411.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-05/0.09496, allocations: 176.3 kB / 411.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-05/0.09502, allocations: 184.2 kB / 412 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.09514, allocations: 307.7 kB / 412.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.09522, allocations: 198 kB / 412.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.09529, allocations: 180.3 kB / 412.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.09539, allocations: 112.9 kB / 412.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.09544, allocations: 180.3 kB / 413 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.09548, allocations: 101 kB / 413.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.0956, allocations: 149.3 kB / 413.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.09561, allocations: 0 / 413.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.09596, allocations: 87.86 kB / 413.3 MB, free: 9.055 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: 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.0007884/0.09676, allocations: 1.034 MB / 414.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 2.777e-05/0.0968, allocations: 0 / 414.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.0968, allocations: 4 kB / 414.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.09681, allocations: 0 / 414.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.09717, allocations: 474.3 kB / 414.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.09869, allocations: 2.013 MB / 416.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.09891, allocations: 0.6885 MB / 417.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.787e-05/0.09894, allocations: 15.97 kB / 417.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.099, allocations: 35.42 kB / 417.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.099, allocations: 0 / 417.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.1196, allocations: 3.454 MB / 421 MB, free: 1.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/6.831, allocations: 14.23 kB / 421 MB, free: 1.305 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)