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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.0008815/0.0008815, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009708/0.0009707, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.00538/0.00538, allocations: 0.989 MB / 292 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002788, allocations: 8 kB / 353.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2525, allocations: 50.63 MB / 403.8 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.0005805/0.2531, allocations: 219.4 kB / 404 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.2555, allocations: 1.262 MB / 405.3 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.2556, allocations: 0 / 405.3 MB, free: 9.672 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.001227/0.2568, allocations: 258.5 kB / 405.5 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.2569, allocations: 23.98 kB / 405.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.925e-05/0.2569, allocations: 15.31 kB / 405.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.257, allocations: 9.125 kB / 405.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.2571, allocations: 1.219 kB / 405.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.2571, allocations: 16.28 kB / 405.6 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.2572, allocations: 15.72 kB / 405.6 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.2572, allocations: 0.7188 kB / 405.6 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.2577, allocations: 260.1 kB / 405.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.2577, allocations: 14.16 kB / 405.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.2578, allocations: 32.05 kB / 405.9 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.2581, allocations: 188 kB / 406.1 MB, free: 9.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2581, allocations: 4 kB / 406.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2582, allocations: 1.438 kB / 406.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.2582, allocations: 0 / 406.1 MB, free: 9.438 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.0003892/0.2586, allocations: 439.8 kB / 406.5 MB, free: 9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2586, allocations: 9.844 kB / 406.5 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.2586, allocations: 109.8 kB / 406.7 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.2587, allocations: 79.89 kB / 406.7 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.2589, allocations: 266.7 kB / 407 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2589, allocations: 156.2 kB / 407.1 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.259, allocations: 155.5 kB / 407.3 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.65e-05/0.259, allocations: 106 kB / 407.4 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.2591, allocations: 75.94 kB / 407.5 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.2591, allocations: 151.7 kB / 407.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.2591, allocations: 154.6 kB / 407.8 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.592e-05/0.2592, allocations: 160.8 kB / 407.9 MB, free: 7.582 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.2594, allocations: 458.4 kB / 408.4 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.965e-05/0.2595, allocations: 170.7 kB / 408.5 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.2595, allocations: 83.22 kB / 408.6 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.2597, allocations: 75.45 kB / 408.7 MB, free: 6.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 3.768e-06/0.2597, allocations: 0 / 408.7 MB, free: 6.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001784/0.2599, allocations: 62.7 kB / 408.8 MB, free: 6.695 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.2599, allocations: 134.4 kB / 408.9 MB, free: 6.535 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.2601, allocations: 143.5 kB / 409 MB, free: 6.426 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.2601, allocations: 25.83 kB / 409.1 MB, free: 6.395 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.2601, allocations: 92.17 kB / 409.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.2602, allocations: 6.891 kB / 409.2 MB, free: 6.301 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.2602, allocations: 0 / 409.2 MB, free: 6.301 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.2603, allocations: 314.7 kB / 409.5 MB, free: 5.988 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.2603, allocations: 1.188 kB / 409.5 MB, free: 5.988 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/0.2603, allocations: 5.609 kB / 409.5 MB, free: 5.984 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.2603, allocations: 31.39 kB / 409.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2603, allocations: 0 / 409.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.833e-05/0.2604, allocations: 65.95 kB / 409.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.2605, allocations: 31.83 kB / 409.6 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2605, allocations: 7.953 kB / 409.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2605, allocations: 1.125 kB / 409.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/0.2605, allocations: 4.781 kB / 409.6 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2605, allocations: 0.9688 kB / 409.6 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.2606, allocations: 1.938 kB / 409.6 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.2606, allocations: 1.031 kB / 409.6 MB, free: 5.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.526e-05/0.2607, allocations: 140.9 kB / 409.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2607, allocations: 11.31 kB / 409.8 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.2608, allocations: 11.72 kB / 409.8 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2608, allocations: 3.953 kB / 409.8 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2608, allocations: 1.469 kB / 409.8 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2608, allocations: 0 / 409.8 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2609, allocations: 159.8 kB / 409.9 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2609, allocations: 1.031 kB / 409.9 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-06/0.2609, allocations: 0 / 409.9 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.261, allocations: 3.938 kB / 409.9 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.261, allocations: 5.703 kB / 409.9 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.261, allocations: 5.312 kB / 409.9 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.261, allocations: 3.953 kB / 410 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2611, allocations: 89.83 kB / 410 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2612, allocations: 87.69 kB / 410.1 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.2612, allocations: 1.938 kB / 410.1 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.2613, allocations: 4.156 kB / 410.1 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.2613, allocations: 3.953 kB / 410.1 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2613, allocations: 5.281 kB / 410.1 MB, free: 5.262 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.2614, allocations: 116.8 kB / 410.3 MB, free: 5.176 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2615, allocations: 0 / 410.3 MB, free: 5.176 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005878/0.2621, allocations: 101.5 kB / 410.4 MB, free: 5.148 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/0.2633, allocations: 0.9073 MB / 411.3 MB, free: 4.438 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.169e-05/0.2634, allocations: 63.19 kB / 411.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2634, allocations: 1.031 kB / 411.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.2634, allocations: 54.53 kB / 411.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.2636, allocations: 3.125 kB / 411.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.2646, allocations: 0.4919 MB / 411.9 MB, free: 3.926 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2647, allocations: 0.6848 MB / 412.6 MB, free: 3.23 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.611e-05/0.2648, allocations: 12.05 kB / 412.6 MB, free: 3.227 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.2648, allocations: 22.23 kB / 412.6 MB, free: 3.215 MB / 286.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2648, allocations: 0 / 412.6 MB, free: 3.215 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.2816, allocations: 3.362 MB / 416 MB, free: 2.828 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/0.2818, allocations: 204.1 kB / 416.2 MB, free: 2.59 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.976, allocations: 0 / 416.2 MB, free: 2.59 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) Environment - environmentSimulation: