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.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.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.006371/0.006371, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001445/0.001445, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.007273/0.007273, allocations: 1.01 MB / 291.6 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.89 kB / 402.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2507, allocations: 49.64 MB / 452.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001446/0.2522, allocations: 0.4988 MB / 452.6 MB, free: 21.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2539, allocations: 1.339 MB / 454 MB, free: 20.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.2539, allocations: 11.12 kB / 454 MB, free: 20.88 MB / 350.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.001381/0.2553, allocations: 290.6 kB / 454.3 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.2554, allocations: 32.91 kB / 454.3 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.239e-05/0.2554, allocations: 11.02 kB / 454.3 MB, free: 20.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.2555, allocations: 12.86 kB / 454.3 MB, free: 20.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.2555, allocations: 3.938 kB / 454.3 MB, free: 20.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.479e-05/0.2556, allocations: 13.66 kB / 454.3 MB, free: 20.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.143e-05/0.2557, allocations: 17.3 kB / 454.4 MB, free: 20.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.2557, allocations: 0 / 454.4 MB, free: 20.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.2561, allocations: 338.8 kB / 454.7 MB, free: 20.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.2561, allocations: 15.97 kB / 454.7 MB, free: 20.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.2562, allocations: 14.47 kB / 454.7 MB, free: 20.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.2566, allocations: 291.1 kB / 455 MB, free: 20.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2566, allocations: 0 / 455 MB, free: 20.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2566, allocations: 0 / 455 MB, free: 20.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2566, allocations: 0 / 455 MB, free: 20.49 MB / 350.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.0003929/0.257, allocations: 456.8 kB / 455.4 MB, free: 20.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.257, allocations: 9 kB / 455.5 MB, free: 20.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.2571, allocations: 109.1 kB / 455.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.2571, allocations: 87.34 kB / 455.7 MB, free: 19.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2573, allocations: 266.4 kB / 455.9 MB, free: 19.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.2573, allocations: 150.9 kB / 456.1 MB, free: 19.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.2573, allocations: 150.9 kB / 456.2 MB, free: 19.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.442e-05/0.2574, allocations: 108.1 kB / 456.3 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2574, allocations: 79.22 kB / 456.4 MB, free: 19.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.2574, allocations: 158.5 kB / 456.5 MB, free: 18.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.2575, allocations: 158.5 kB / 456.7 MB, free: 18.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.224e-05/0.2575, allocations: 150.6 kB / 456.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.2577, allocations: 467.9 kB / 457.3 MB, free: 18.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.026e-05/0.2578, allocations: 172.5 kB / 457.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.2578, allocations: 84.08 kB / 457.6 MB, free: 17.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.2578, allocations: 79.22 kB / 457.6 MB, free: 17.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.806e-05/0.2579, allocations: 71.17 kB / 457.7 MB, free: 17.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.214e-06/0.2579, allocations: 0 / 457.7 MB, free: 17.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.2581, allocations: 72.27 kB / 457.8 MB, free: 17.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.2581, allocations: 132.5 kB / 457.9 MB, free: 17.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.2582, allocations: 145.9 kB / 458 MB, free: 17.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.2582, allocations: 25.7 kB / 458.1 MB, free: 17.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.2583, allocations: 86.86 kB / 458.2 MB, free: 17.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.2583, allocations: 2.75 kB / 458.2 MB, free: 17.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.2583, allocations: 13.72 kB / 458.2 MB, free: 17.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.2584, allocations: 316.7 kB / 458.5 MB, free: 16.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.2584, allocations: 4.125 kB / 458.5 MB, free: 16.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.2584, allocations: 3 kB / 458.5 MB, free: 16.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.2584, allocations: 62.98 kB / 458.5 MB, free: 16.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2584, allocations: 0 / 458.5 MB, free: 16.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.763e-05/0.2585, allocations: 70.56 kB / 458.6 MB, free: 16.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.2585, allocations: 35.08 kB / 458.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2585, allocations: 0 / 458.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2586, allocations: 2.688 kB / 458.7 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.2586, allocations: 96 / 458.7 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2586, allocations: 4 kB / 458.7 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.2586, allocations: 2.719 kB / 458.7 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2586, allocations: 0 / 458.7 MB, free: 16.73 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 6.284e-05/0.2587, allocations: 144.4 kB / 458.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.2587, allocations: 6.625 kB / 458.8 MB, free: 16.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.405e-05/0.2587, allocations: 10.25 kB / 458.8 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2587, allocations: 0 / 458.8 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2587, allocations: 3.234 kB / 458.8 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.2587, allocations: 3.938 kB / 458.8 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.085e-05/0.2588, allocations: 171.8 kB / 459 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2588, allocations: 0 / 459 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.2588, allocations: 0 / 459 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.2588, allocations: 0 / 459 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.2588, allocations: 2.719 kB / 459 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.2589, allocations: 0 / 459 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2589, allocations: 0 / 459 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.638e-05/0.2589, allocations: 104.6 kB / 459.1 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.259, allocations: 89.69 kB / 459.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.259, allocations: 0 / 459.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.259, allocations: 2.906 kB / 459.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.259, allocations: 6.141 kB / 459.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2591, allocations: 4 kB / 459.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.2591, allocations: 117.9 kB / 459.3 MB, free: 16.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2591, allocations: 0 / 459.3 MB, free: 16.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.2595, allocations: 95.98 kB / 459.4 MB, free: 16.04 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.0009287/0.2604, allocations: 0.9245 MB / 460.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.05e-05/0.2605, allocations: 64.41 kB / 460.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2605, allocations: 0 / 460.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/0.2605, allocations: 54.41 kB / 460.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.2607, allocations: 11.02 kB / 460.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008008/0.2615, allocations: 1.292 MB / 461.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2616, allocations: 0.6881 MB / 462.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.198e-05/0.2616, allocations: 10.3 kB / 462.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.2617, allocations: 27.97 kB / 462.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2617, allocations: 0 / 462.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.2882, allocations: 3.644 MB / 466.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.952, allocations: 4.562 kB / 466.1 MB, free: 12.63 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 & /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)