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.0007456/0.0007456, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.000898/0.000898, allocations: 172.7 kB / 15.95 MB, free: 208 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.309/1.309, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005383/0.005383, allocations: 0.9813 MB / 292.1 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.000272, allocations: 8 kB / 353.3 MB, free: 2.355 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2589, allocations: 50.63 MB / 403.9 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.0005617/0.2595, allocations: 222.8 kB / 404.1 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.2618, allocations: 1.258 MB / 405.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.2618, allocations: 1.25 kB / 405.4 MB, free: 9.668 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.001343/0.2632, allocations: 271.5 kB / 405.7 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.584e-05/0.2633, allocations: 21.91 kB / 405.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.261e-05/0.2633, allocations: 12.8 kB / 405.7 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.641e-05/0.2634, allocations: 13.27 kB / 405.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.2634, allocations: 1.766 kB / 405.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.2635, allocations: 7.938 kB / 405.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2636, allocations: 20.36 kB / 405.7 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2636, allocations: 1.125 kB / 405.7 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007381/0.2643, allocations: 297 kB / 406 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.2644, allocations: 13.09 kB / 406 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.2645, allocations: 32.02 kB / 406.1 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.265, allocations: 193.3 kB / 406.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.265, allocations: 0 / 406.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.265, allocations: 1.062 kB / 406.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.265, allocations: 0 / 406.3 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.000511/0.2655, allocations: 446 kB / 406.7 MB, free: 9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.2656, allocations: 8.688 kB / 406.7 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.2656, allocations: 111.3 kB / 406.8 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.2657, allocations: 78.77 kB / 406.9 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.2659, allocations: 261.3 kB / 407.1 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.2659, allocations: 151.7 kB / 407.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.266, allocations: 151.2 kB / 407.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.646e-05/0.266, allocations: 110.2 kB / 407.5 MB, free: 8.121 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.266, allocations: 80.08 kB / 407.6 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.2661, allocations: 156 kB / 407.8 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.2661, allocations: 154.5 kB / 407.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.23e-05/0.2661, allocations: 152.1 kB / 408.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.2664, allocations: 459 kB / 408.5 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.123e-05/0.2665, allocations: 175.1 kB / 408.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.2665, allocations: 80.14 kB / 408.8 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.2665, allocations: 76.44 kB / 408.8 MB, free: 6.773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.2666, allocations: 75.89 kB / 408.9 MB, free: 6.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.394e-06/0.2666, allocations: 0 / 408.9 MB, free: 6.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001538/0.2668, allocations: 69.7 kB / 409 MB, free: 6.617 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.2669, allocations: 132.2 kB / 409.1 MB, free: 6.461 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.267, allocations: 139.7 kB / 409.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.267, allocations: 25.7 kB / 409.3 MB, free: 6.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.2671, allocations: 92.45 kB / 409.4 MB, free: 6.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.2671, allocations: 4.625 kB / 409.4 MB, free: 6.227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.2671, allocations: 0 / 409.4 MB, free: 6.227 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.2671, allocations: 315.7 kB / 409.7 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.2672, allocations: 4.125 kB / 409.7 MB, free: 5.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.2672, allocations: 6.422 kB / 409.7 MB, free: 5.906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.027e-05/0.2672, allocations: 27.42 kB / 409.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2672, allocations: 0 / 409.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.525e-05/0.2673, allocations: 64.94 kB / 409.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.2673, allocations: 36.5 kB / 409.8 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2673, allocations: 0.5938 kB / 409.8 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2673, allocations: 1.156 kB / 409.8 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.2673, allocations: 4.5 kB / 409.8 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2674, allocations: 4.094 kB / 409.8 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.2674, allocations: 2.875 kB / 409.8 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2674, allocations: 1.031 kB / 409.8 MB, free: 5.766 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 7.219e-05/0.2675, allocations: 140.8 kB / 410 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.2675, allocations: 7.891 kB / 410 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.859e-05/0.2675, allocations: 15.5 kB / 410 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2675, allocations: 0 / 410 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2675, allocations: 1.875 kB / 410 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2676, allocations: 3.938 kB / 410 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.055e-05/0.2676, allocations: 164.2 kB / 410.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2676, allocations: 0 / 410.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.2677, allocations: 1.125 kB / 410.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2677, allocations: 0.8906 kB / 410.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2677, allocations: 3.656 kB / 410.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2677, allocations: 3.953 kB / 410.2 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2677, allocations: 1.125 kB / 410.2 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.2678, allocations: 94.06 kB / 410.3 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.2678, allocations: 93.03 kB / 410.4 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.2678, allocations: 2.062 kB / 410.4 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.2679, allocations: 2.625 kB / 410.4 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.2679, allocations: 8.734 kB / 410.4 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.2679, allocations: 0 / 410.4 MB, free: 5.191 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.218e-05/0.268, allocations: 112.1 kB / 410.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.268, allocations: 0 / 410.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.2684, allocations: 96.56 kB / 410.6 MB, free: 5.082 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.0009631/0.2694, allocations: 0.9102 MB / 411.5 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.206e-05/0.2695, allocations: 63.5 kB / 411.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2695, allocations: 1.031 kB / 411.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.2695, allocations: 53.5 kB / 411.6 MB, free: 4.242 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2696, allocations: 13 kB / 411.6 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008137/0.2705, allocations: 0.5009 MB / 412.1 MB, free: 3.852 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.2706, allocations: 0.6834 MB / 412.8 MB, free: 3.152 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.2707, allocations: 9.047 kB / 412.8 MB, free: 3.152 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.2707, allocations: 27.33 kB / 412.8 MB, free: 3.137 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2707, allocations: 0.9062 kB / 412.8 MB, free: 3.137 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.2913, allocations: 3.364 MB / 416.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.2915, allocations: 216.4 kB / 416.4 MB, free: 2.512 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.963, allocations: 4 kB / 416.4 MB, free: 2.508 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: