Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.12.0/package.mo", uses=false) Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",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.001293/0.001293, allocations: 108.6 kB / 15.79 MB, free: 6.023 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.001313/0.001313, allocations: 195.9 kB / 16.72 MB, free: 5.887 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.475/1.475, allocations: 225.6 MB / 243.1 MB, free: 3.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006743/0.006743, allocations: 1.013 MB / 297 MB, free: 4.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.89 kB / 413.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3018, allocations: 52.35 MB / 465.7 MB, free: 26.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001473/0.3033, allocations: 0.5071 MB / 466.2 MB, free: 26.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3049, allocations: 1.353 MB / 467.5 MB, free: 25.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.305, allocations: 3.219 kB / 467.5 MB, free: 25.39 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.12.0/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.12.0/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.12.0/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.001279/0.3062, allocations: 313.6 kB / 467.8 MB, free: 25.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.3063, allocations: 36.5 kB / 467.9 MB, free: 25.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.135e-05/0.3063, allocations: 3.125 kB / 467.9 MB, free: 25.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.3064, allocations: 34.09 kB / 467.9 MB, free: 25.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.3064, allocations: 2.812 kB / 467.9 MB, free: 25.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.87e-05/0.3065, allocations: 8.438 kB / 467.9 MB, free: 25.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.3065, allocations: 27.38 kB / 468 MB, free: 25.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.3066, allocations: 0 / 468 MB, free: 25.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.3069, allocations: 343.7 kB / 468.3 MB, free: 25.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.307, allocations: 12.95 kB / 468.3 MB, free: 25.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.307, allocations: 22.23 kB / 468.3 MB, free: 25.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.3073, allocations: 299.3 kB / 468.6 MB, free: 24.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3073, allocations: 3.469 kB / 468.6 MB, free: 24.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3073, allocations: 3.188 kB / 468.6 MB, free: 24.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.3073, allocations: 0 / 468.6 MB, free: 24.98 MB / 366.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.000385/0.3077, allocations: 436.4 kB / 469.1 MB, free: 24.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.3078, allocations: 9.656 kB / 469.1 MB, free: 24.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.3078, allocations: 112.5 kB / 469.2 MB, free: 24.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.3079, allocations: 79.31 kB / 469.3 MB, free: 24.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.308, allocations: 278 kB / 469.5 MB, free: 24.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.308, allocations: 158.9 kB / 469.7 MB, free: 23.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3081, allocations: 154.1 kB / 469.8 MB, free: 23.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.001e-05/0.3081, allocations: 104.9 kB / 469.9 MB, free: 23.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3081, allocations: 75.28 kB / 470 MB, free: 23.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.3081, allocations: 150.6 kB / 470.2 MB, free: 23.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.3082, allocations: 158.5 kB / 470.3 MB, free: 23.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.384e-05/0.3082, allocations: 153.8 kB / 470.5 MB, free: 23.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.3084, allocations: 463 kB / 470.9 MB, free: 22.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.491e-05/0.3084, allocations: 171.6 kB / 471.1 MB, free: 22.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.3084, allocations: 84.14 kB / 471.2 MB, free: 22.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3084, allocations: 79.22 kB / 471.2 MB, free: 22.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.3086, allocations: 73.61 kB / 471.3 MB, free: 22.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 2.013e-06/0.3086, allocations: 0 / 471.3 MB, free: 22.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.000125/0.3087, allocations: 42.34 kB / 471.3 MB, free: 22.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.3087, allocations: 55.34 kB / 471.4 MB, free: 22.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3088, allocations: 143.5 kB / 471.5 MB, free: 22.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.3088, allocations: 25.7 kB / 471.6 MB, free: 22.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.3088, allocations: 90.62 kB / 471.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.3089, allocations: 0 / 471.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.3089, allocations: 17.53 kB / 471.7 MB, free: 21.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.3089, allocations: 314.8 kB / 472 MB, free: 21.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-06/0.3089, allocations: 0 / 472 MB, free: 21.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-06/0.3089, allocations: 2.969 kB / 472 MB, free: 21.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.905e-05/0.3089, allocations: 15.2 kB / 472 MB, free: 21.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3089, allocations: 0 / 472 MB, free: 21.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.452e-05/0.309, allocations: 43.59 kB / 472 MB, free: 21.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.309, allocations: 5.688 kB / 472 MB, free: 21.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.309, allocations: 8.031 kB / 472.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.309, allocations: 0 / 472.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.906e-05/0.309, allocations: 0 / 472.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.309, allocations: 0 / 472.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.3091, allocations: 3.031 kB / 472.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.3091, allocations: 0 / 472.1 MB, free: 21.53 MB / 366.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): 1 * 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 5.361e-05/0.3091, allocations: 118.7 kB / 472.2 MB, free: 21.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.3092, allocations: 11.02 kB / 472.2 MB, free: 21.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.3092, allocations: 14.03 kB / 472.2 MB, free: 21.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3092, allocations: 4 kB / 472.2 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3092, allocations: 0 / 472.2 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.3092, allocations: 0 / 472.2 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.066e-05/0.3093, allocations: 165.9 kB / 472.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3093, allocations: 3.062 kB / 472.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-06/0.3093, allocations: 0 / 472.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3093, allocations: 0 / 472.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.3093, allocations: 0 / 472.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3093, allocations: 0 / 472.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3093, allocations: 0 / 472.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.831e-05/0.3093, allocations: 81.55 kB / 472.4 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.3094, allocations: 91.16 kB / 472.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3094, allocations: 3.469 kB / 472.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.3094, allocations: 3.094 kB / 472.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.3094, allocations: 0 / 472.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3094, allocations: 2.906 kB / 472.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.505e-05/0.3095, allocations: 114.1 kB / 472.7 MB, free: 20.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3095, allocations: 0 / 472.7 MB, free: 20.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.3098, allocations: 107.5 kB / 472.8 MB, free: 20.89 MB / 366.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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008572/0.3106, allocations: 0.8817 MB / 473.6 MB, free: 20.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.579e-05/0.3107, allocations: 7.094 kB / 473.6 MB, free: 20.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3107, allocations: 3.25 kB / 473.7 MB, free: 20.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-06/0.3107, allocations: 4.062 kB / 473.7 MB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.3109, allocations: 9.953 kB / 473.7 MB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.3116, allocations: 1.263 MB / 474.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.3117, allocations: 0.6856 MB / 475.6 MB, free: 18.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.369e-05/0.3118, allocations: 18.2 kB / 475.6 MB, free: 18.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.3118, allocations: 24.19 kB / 475.7 MB, free: 18.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3118, allocations: 3.938 kB / 475.7 MB, free: 18.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.3373, allocations: 3.851 MB / 479.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.037, allocations: 10.25 kB / 479.5 MB, free: 17.68 MB / 366.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)