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.0009571/0.0009574, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006475/0.006475, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005672/0.005673, allocations: 0.9922 MB / 292.4 MB, free: 1.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 8.188 kB / 353.9 MB, free: 1.969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2245, allocations: 50.64 MB / 404.5 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.0004789/0.2251, allocations: 222.3 kB / 404.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.2269, allocations: 1.333 MB / 406.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.2269, allocations: 0 / 406.1 MB, free: 9.406 MB / 286.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 ‘Modelica.Utilities.Streams.readLine‘. [/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.001123/0.228, allocations: 247.4 kB / 406.3 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.2281, allocations: 22.56 kB / 406.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.526e-05/0.2281, allocations: 14.22 kB / 406.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.558e-05/0.2282, allocations: 13.09 kB / 406.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.055e-05/0.2282, allocations: 5.359 kB / 406.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.2282, allocations: 6.641 kB / 406.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.2283, allocations: 17.86 kB / 406.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2283, allocations: 5.062 kB / 406.4 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.2288, allocations: 312.9 kB / 406.7 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.2288, allocations: 16.8 kB / 406.7 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.2289, allocations: 41.66 kB / 406.8 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.2293, allocations: 285.4 kB / 407.1 MB, free: 9.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2293, allocations: 2.031 kB / 407.1 MB, free: 9.285 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2293, allocations: 0 / 407.1 MB, free: 9.285 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.2293, allocations: 0 / 407.1 MB, free: 9.285 MB / 286.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.0003263/0.2296, allocations: 435.6 kB / 407.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2297, allocations: 13.81 kB / 407.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.2297, allocations: 111.8 kB / 407.6 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.2297, allocations: 78.53 kB / 407.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2299, allocations: 276 kB / 408 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2299, allocations: 152.6 kB / 408.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2299, allocations: 156 kB / 408.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.491e-05/0.23, allocations: 105.9 kB / 408.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.23, allocations: 79.28 kB / 408.4 MB, free: 7.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.23, allocations: 152.1 kB / 408.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.23, allocations: 152 kB / 408.7 MB, free: 7.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.23, allocations: 156.2 kB / 408.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.2302, allocations: 457.6 kB / 409.3 MB, free: 6.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.646e-05/0.2303, allocations: 172.3 kB / 409.5 MB, free: 6.793 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.2303, allocations: 80.83 kB / 409.6 MB, free: 6.711 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.2303, allocations: 83.2 kB / 409.7 MB, free: 6.629 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.17e-05/0.2304, allocations: 74 kB / 409.7 MB, free: 6.547 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.214e-06/0.2304, allocations: 5.531 kB / 409.7 MB, free: 6.543 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.2306, allocations: 66.12 kB / 409.8 MB, free: 6.477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.2306, allocations: 132.2 kB / 409.9 MB, free: 6.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2307, allocations: 140.5 kB / 410.1 MB, free: 6.223 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.2307, allocations: 27.86 kB / 410.1 MB, free: 6.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.2308, allocations: 87.22 kB / 410.2 MB, free: 6.109 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.719e-06/0.2308, allocations: 0.8125 kB / 410.2 MB, free: 6.109 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.2308, allocations: 11.47 kB / 410.2 MB, free: 6.094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.2309, allocations: 320.3 kB / 410.5 MB, free: 5.777 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.2309, allocations: 1.031 kB / 410.5 MB, free: 5.777 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.2309, allocations: 1.781 kB / 410.5 MB, free: 5.777 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/0.2309, allocations: 65.94 kB / 410.6 MB, free: 5.703 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2309, allocations: 0 / 410.6 MB, free: 5.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.771e-05/0.231, allocations: 71.12 kB / 410.6 MB, free: 5.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.231, allocations: 31.7 kB / 410.7 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.231, allocations: 1.75 kB / 410.7 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/0.231, allocations: 4.094 kB / 410.7 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.231, allocations: 0 / 410.7 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.231, allocations: 8.938 kB / 410.7 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.2311, allocations: 2.625 kB / 410.7 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.2311, allocations: 1.062 kB / 410.7 MB, free: 5.59 MB / 286.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.483e-05/0.2311, allocations: 142.9 kB / 410.8 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.2312, allocations: 7.094 kB / 410.8 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.21e-05/0.2312, allocations: 7.188 kB / 410.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2312, allocations: 0 / 410.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2312, allocations: 5.734 kB / 410.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2312, allocations: 3.938 kB / 410.9 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.577e-05/0.2313, allocations: 166.5 kB / 411 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2313, allocations: 4.5 kB / 411 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.2313, allocations: 0 / 411 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2313, allocations: 1.703 kB / 411 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.2313, allocations: 0 / 411 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2313, allocations: 2.406 kB / 411 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2313, allocations: 0 / 411 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.083e-05/0.2314, allocations: 100.3 kB / 411.1 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.2314, allocations: 85.61 kB / 411.2 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.2314, allocations: 2.219 kB / 411.2 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.2315, allocations: 3.672 kB / 411.2 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.2315, allocations: 2.031 kB / 411.2 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.2315, allocations: 0 / 411.2 MB, free: 5.031 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.023e-05/0.2316, allocations: 113.9 kB / 411.3 MB, free: 4.957 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2316, allocations: 0 / 411.3 MB, free: 4.957 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.2319, allocations: 102.9 kB / 411.4 MB, free: 4.934 MB / 286.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.0007586/0.2327, allocations: 0.9185 MB / 412.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.873e-05/0.2328, allocations: 61.36 kB / 412.4 MB, free: 4.164 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2328, allocations: 0 / 412.4 MB, free: 4.164 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/0.2328, allocations: 57.27 kB / 412.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.2329, allocations: 7.438 kB / 412.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.2337, allocations: 1.289 MB / 413.8 MB, free: 2.914 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.369e-05/0.2338, allocations: 0.6809 MB / 414.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.34e-05/0.2339, allocations: 9.406 kB / 414.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.2339, allocations: 18.38 kB / 414.5 MB, free: 2.211 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2339, allocations: 0 / 414.5 MB, free: 2.211 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.2552, allocations: 3.407 MB / 417.9 MB, free: 1.805 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001202/0.2554, allocations: 228.5 kB / 418.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.933, allocations: 3.375 kB / 418.1 MB, free: 1.547 MB / 286.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)