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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 178.6 kB / 15.44 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.004921/0.004921, allocations: 1 MB / 17.19 MB, free: 6.09 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.283/1.283, allocations: 223.3 MB / 241.4 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007983/0.0007982, allocations: 99.7 kB / 292.8 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8 kB / 354.3 MB, free: 1.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2762, allocations: 50.63 MB / 404.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.0007106/0.277, allocations: 226.3 kB / 405.2 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.2793, allocations: 1.325 MB / 406.5 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.2794, allocations: 0 / 406.5 MB, free: 10.08 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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+X/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+X/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.001438/0.2808, allocations: 261.4 kB / 406.7 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.2809, allocations: 22.19 kB / 406.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.259e-05/0.2809, allocations: 9.406 kB / 406.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.281, allocations: 22.73 kB / 406.8 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.281, allocations: 6 kB / 406.8 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.2811, allocations: 6.812 kB / 406.8 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.2812, allocations: 20.84 kB / 406.8 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.2812, allocations: 1 kB / 406.8 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.2816, allocations: 315.8 kB / 407.1 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.2817, allocations: 11.84 kB / 407.1 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.2817, allocations: 42.39 kB / 407.2 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.2821, allocations: 286.6 kB / 407.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2821, allocations: 1.031 kB / 407.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2822, allocations: 0 / 407.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2822, allocations: 0 / 407.5 MB, free: 9.762 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.0003965/0.2826, allocations: 435.9 kB / 407.9 MB, free: 9.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2826, allocations: 9.094 kB / 407.9 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.2827, allocations: 108.3 kB / 408 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.2827, allocations: 82.53 kB / 408.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.2829, allocations: 272.6 kB / 408.4 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2829, allocations: 151.9 kB / 408.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.2829, allocations: 155.9 kB / 408.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.101e-05/0.283, allocations: 108.9 kB / 408.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.283, allocations: 76.41 kB / 408.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.283, allocations: 152.6 kB / 409 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.283, allocations: 150.6 kB / 409.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.2831, allocations: 151.7 kB / 409.3 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.2833, allocations: 466 kB / 409.7 MB, free: 7.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.23e-05/0.2833, allocations: 170.2 kB / 409.9 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.2833, allocations: 81.11 kB / 410 MB, free: 7.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2833, allocations: 80.25 kB / 410.1 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.574e-05/0.2834, allocations: 75.42 kB / 410.1 MB, free: 7.008 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.534e-06/0.2835, allocations: 0 / 410.1 MB, free: 7.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.2836, allocations: 69.58 kB / 410.2 MB, free: 6.938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2837, allocations: 132.4 kB / 410.3 MB, free: 6.781 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2838, allocations: 140.4 kB / 410.5 MB, free: 6.672 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.2838, allocations: 25.7 kB / 410.5 MB, free: 6.641 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.2839, allocations: 87.44 kB / 410.6 MB, free: 6.555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.2839, allocations: 5.734 kB / 410.6 MB, free: 6.551 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.2839, allocations: 9.719 kB / 410.6 MB, free: 6.535 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.284, allocations: 319.2 kB / 410.9 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.284, allocations: 1.062 kB / 410.9 MB, free: 6.219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.284, allocations: 2.016 kB / 410.9 MB, free: 6.219 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.284, allocations: 59.39 kB / 411 MB, free: 6.148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.284, allocations: 2.031 kB / 411 MB, free: 6.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.979e-05/0.2841, allocations: 83.41 kB / 411 MB, free: 6.062 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2841, allocations: 33.03 kB / 411.1 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2841, allocations: 0 / 411.1 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2841, allocations: 1.062 kB / 411.1 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.2841, allocations: 1.031 kB / 411.1 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2842, allocations: 3.938 kB / 411.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.2842, allocations: 2.125 kB / 411.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2842, allocations: 1.062 kB / 411.1 MB, free: 6.027 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.787e-05/0.2843, allocations: 141.8 kB / 411.2 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.2843, allocations: 11.03 kB / 411.2 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.553e-05/0.2843, allocations: 14.58 kB / 411.3 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2843, allocations: 0.9375 kB / 411.3 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2843, allocations: 4 kB / 411.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2843, allocations: 1 kB / 411.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.461e-05/0.2844, allocations: 164.1 kB / 411.4 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2844, allocations: 0.75 kB / 411.4 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-06/0.2844, allocations: 0.9688 kB / 411.4 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.2844, allocations: 0 / 411.4 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2844, allocations: 1.906 kB / 411.4 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2844, allocations: 0 / 411.4 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2844, allocations: 5.156 kB / 411.4 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.704e-05/0.2845, allocations: 101.6 kB / 411.5 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.2846, allocations: 83.98 kB / 411.6 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.2846, allocations: 2.375 kB / 411.6 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.2846, allocations: 3.156 kB / 411.6 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.2846, allocations: 0 / 411.6 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.2846, allocations: 1.859 kB / 411.6 MB, free: 5.453 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.371e-05/0.2847, allocations: 115.7 kB / 411.7 MB, free: 5.367 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2847, allocations: 1.062 kB / 411.7 MB, free: 5.367 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00037/0.2851, allocations: 102 kB / 411.8 MB, free: 5.336 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.0008145/0.2859, allocations: 0.9073 MB / 412.7 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.286, allocations: 70.44 kB / 412.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.286, allocations: 0 / 412.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.286, allocations: 55.89 kB / 412.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.2862, allocations: 4.516 kB / 412.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.2871, allocations: 1.286 MB / 414.1 MB, free: 3.301 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.2872, allocations: 0.6801 MB / 414.8 MB, free: 2.605 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.2873, allocations: 13.3 kB / 414.8 MB, free: 2.602 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.2873, allocations: 22.31 kB / 414.9 MB, free: 2.59 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2873, allocations: 0 / 414.9 MB, free: 2.59 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.302, allocations: 3.397 MB / 418.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.3022, allocations: 231.2 kB / 418.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.943, allocations: 0 / 418.5 MB, free: 1.934 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/linux/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)