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.001591/0.001591, allocations: 108 kB / 15.61 MB, free: 152 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.001862/0.001862, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005859/0.005859, allocations: 1.005 MB / 291.4 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 352.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08811, allocations: 49.65 MB / 401.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001596/0.08974, allocations: 487.2 kB / 402.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.09157, allocations: 1.337 MB / 403.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.09161, allocations: 4 kB / 403.6 MB, free: 3.238 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/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.001162/0.09278, allocations: 309.5 kB / 403.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.09283, allocations: 27.91 kB / 404 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.842e-05/0.09288, allocations: 11.98 kB / 404 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.845e-05/0.09293, allocations: 11.98 kB / 404 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.09297, allocations: 4 kB / 404 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.093, allocations: 11.98 kB / 404 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.922e-05/0.09309, allocations: 19.86 kB / 404 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.09311, allocations: 0 / 404 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.0935, allocations: 319.6 kB / 404.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.09356, allocations: 19.98 kB / 404.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.09361, allocations: 27.84 kB / 404.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.09395, allocations: 275.5 kB / 404.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09396, allocations: 0 / 404.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09397, allocations: 0 / 404.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.09398, allocations: 0 / 404.6 MB, free: 2.223 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.0004344/0.09442, allocations: 449.2 kB / 405.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.09446, allocations: 8.031 kB / 405.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.09451, allocations: 110 kB / 405.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.09458, allocations: 96.05 kB / 405.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.09476, allocations: 271.5 kB / 405.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.09481, allocations: 150.9 kB / 405.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.09486, allocations: 150.9 kB / 405.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.721e-05/0.09492, allocations: 108.9 kB / 406 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.09494, allocations: 75.28 kB / 406 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.095, allocations: 162.5 kB / 406.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.09505, allocations: 150.6 kB / 406.3 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.0951, allocations: 150.6 kB / 406.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.09537, allocations: 461.9 kB / 406.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.716e-05/0.09544, allocations: 169.1 kB / 407.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.09547, allocations: 84.14 kB / 407.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.09551, allocations: 83.16 kB / 407.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.986e-05/0.09561, allocations: 69.11 kB / 407.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.505e-06/0.09562, allocations: 0 / 407.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.09577, allocations: 67.41 kB / 407.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.09584, allocations: 132.5 kB / 407.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.09597, allocations: 153.7 kB / 407.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.09599, allocations: 25.7 kB / 407.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.09603, allocations: 88.14 kB / 407.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.09605, allocations: 0 / 407.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.09608, allocations: 13.66 kB / 407.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.09618, allocations: 322.8 kB / 408.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.0962, allocations: 4.125 kB / 408.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.09621, allocations: 0 / 408.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.09625, allocations: 60.27 kB / 408.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.09626, allocations: 0 / 408.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.225e-05/0.09634, allocations: 75.23 kB / 408.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.09637, allocations: 33.7 kB / 408.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.09638, allocations: 0 / 408.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.0964, allocations: 3.938 kB / 408.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.0964, allocations: 3.938 kB / 408.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.09642, allocations: 8.094 kB / 408.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.09645, allocations: 4 kB / 408.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.09646, allocations: 0 / 408.3 MB, free: 14.25 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 8.777e-05/0.09655, allocations: 143.5 kB / 408.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.09658, allocations: 3.938 kB / 408.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.0966, allocations: 11.53 kB / 408.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.09661, allocations: 0 / 408.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.09662, allocations: 0 / 408.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.09662, allocations: 0 / 408.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.09673, allocations: 169.6 kB / 408.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.09674, allocations: 0 / 408.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.09674, allocations: 0 / 408.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.09675, allocations: 0 / 408.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.09676, allocations: 4 kB / 408.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.09677, allocations: 0 / 408.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.09677, allocations: 0 / 408.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.86e-05/0.09687, allocations: 98.67 kB / 408.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.09693, allocations: 93.06 kB / 408.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.09695, allocations: 0 / 408.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.584e-05/0.09698, allocations: 4 kB / 408.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.097, allocations: 0 / 408.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.09701, allocations: 0 / 408.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.388e-05/0.09709, allocations: 115.2 kB / 408.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0971, allocations: 0 / 408.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.09744, allocations: 99.92 kB / 409 MB, free: 13.41 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.0009691/0.09842, allocations: 0.9292 MB / 410 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.967e-05/0.09852, allocations: 63.34 kB / 410 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.09853, allocations: 0 / 410 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.09856, allocations: 55.41 kB / 410.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.09872, allocations: 6.672 kB / 410.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.09979, allocations: 1.279 MB / 411.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1, allocations: 0.6844 MB / 412 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.465e-05/0.1001, allocations: 11.98 kB / 412.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.1001, allocations: 19.44 kB / 412.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1001, allocations: 0 / 412.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.1201, allocations: 3.616 MB / 415.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/6.839, allocations: 3.938 kB / 415.7 MB, free: 6.699 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)