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.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.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.0007836/0.0007837, allocations: 91.84 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.0008082/0.0008082, 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.275/1.275, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005239/0.00524, allocations: 0.9884 MB / 292.1 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 12 kB / 353.3 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2577, allocations: 50.64 MB / 403.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0004608/0.2582, allocations: 218.4 kB / 404.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.26, allocations: 1.26 MB / 405.4 MB, free: 9.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.2601, allocations: 2.531 kB / 405.4 MB, free: 9.664 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.000841/0.2609, allocations: 266.7 kB / 405.7 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.518e-05/0.2609, allocations: 25.95 kB / 405.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.628e-05/0.261, allocations: 7.844 kB / 405.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.2611, allocations: 23.27 kB / 405.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.049e-05/0.2611, allocations: 2.25 kB / 405.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.18e-05/0.2611, allocations: 14.92 kB / 405.7 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.2612, allocations: 26.17 kB / 405.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.2612, allocations: 2.062 kB / 405.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.2616, allocations: 297.7 kB / 406.1 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.2617, allocations: 16.98 kB / 406.1 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.2617, allocations: 32.44 kB / 406.1 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.262, allocations: 191.2 kB / 406.3 MB, free: 9.418 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.262, allocations: 5.062 kB / 406.3 MB, free: 9.414 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.262, allocations: 0.6094 kB / 406.3 MB, free: 9.414 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.262, allocations: 0 / 406.3 MB, free: 9.414 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.0003199/0.2623, allocations: 420.2 kB / 406.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2624, allocations: 12.94 kB / 406.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.2624, allocations: 106.9 kB / 406.8 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.2625, allocations: 90.53 kB / 406.9 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2626, allocations: 266.3 kB / 407.2 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2626, allocations: 151.6 kB / 407.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2626, allocations: 150.6 kB / 407.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.708e-05/0.2627, allocations: 112.4 kB / 407.6 MB, free: 8.121 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2627, allocations: 75.28 kB / 407.6 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2627, allocations: 155.6 kB / 407.8 MB, free: 7.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.2628, allocations: 155.8 kB / 407.9 MB, free: 7.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.2628, allocations: 154.5 kB / 408.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.263, allocations: 469.8 kB / 408.6 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.263, allocations: 166.3 kB / 408.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.263, allocations: 80.14 kB / 408.8 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2631, allocations: 77.36 kB / 408.9 MB, free: 6.773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.2632, allocations: 75.22 kB / 408.9 MB, free: 6.711 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.864e-06/0.2632, allocations: 1.062 kB / 408.9 MB, free: 6.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001165/0.2633, allocations: 43.17 kB / 409 MB, free: 6.672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2634, allocations: 53.22 kB / 409 MB, free: 6.609 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2635, allocations: 155.2 kB / 409.2 MB, free: 6.492 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-06/0.2635, allocations: 26.5 kB / 409.2 MB, free: 6.461 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.2635, allocations: 91.73 kB / 409.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.2635, allocations: 2.109 kB / 409.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-06/0.2636, allocations: 0 / 409.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.2636, allocations: 315.8 kB / 409.6 MB, free: 6.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.2636, allocations: 0 / 409.6 MB, free: 6.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.2636, allocations: 2.188 kB / 409.6 MB, free: 6.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.13e-05/0.2636, allocations: 1.5 kB / 409.6 MB, free: 6.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2636, allocations: 4 kB / 409.6 MB, free: 6.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.469e-05/0.2637, allocations: 37.02 kB / 409.7 MB, free: 6.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2637, allocations: 9.609 kB / 409.7 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2637, allocations: 4.688 kB / 409.7 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2637, allocations: 1.469 kB / 409.7 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.668e-05/0.2638, allocations: 0 / 409.7 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2638, allocations: 0.75 kB / 409.7 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.2638, allocations: 3 kB / 409.7 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.2638, allocations: 0 / 409.7 MB, free: 6.012 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.552e-05/0.2639, allocations: 121.2 kB / 409.8 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.2639, allocations: 8.031 kB / 409.8 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.2639, allocations: 14.92 kB / 409.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2639, allocations: 2.516 kB / 409.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2639, allocations: 4.641 kB / 409.8 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2639, allocations: 0 / 409.8 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.675e-05/0.264, allocations: 162.2 kB / 410 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.264, allocations: 1.938 kB / 410 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-06/0.264, allocations: 2.562 kB / 410 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2641, allocations: 0.9375 kB / 410 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.2641, allocations: 4 kB / 410 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2641, allocations: 5.828 kB / 410 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2641, allocations: 0 / 410 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.563e-05/0.2641, allocations: 65.28 kB / 410.1 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.2642, allocations: 92.08 kB / 410.2 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2642, allocations: 2.359 kB / 410.2 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.621e-05/0.2642, allocations: 4.375 kB / 410.2 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.2642, allocations: 13.03 kB / 410.2 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2643, allocations: 1.578 kB / 410.2 MB, free: 5.488 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.63e-05/0.2643, allocations: 121.9 kB / 410.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2643, allocations: 0 / 410.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.2647, allocations: 100.9 kB / 410.4 MB, free: 5.375 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: 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 (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.0007394/0.2654, allocations: 0.8757 MB / 411.3 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.355e-05/0.2655, allocations: 3.641 kB / 411.3 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2655, allocations: 1.125 kB / 411.3 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/0.2655, allocations: 6.188 kB / 411.3 MB, free: 4.695 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.2656, allocations: 14.89 kB / 411.3 MB, free: 4.688 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.2663, allocations: 0.529 MB / 411.8 MB, free: 4.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.2664, allocations: 0.6814 MB / 412.5 MB, free: 3.598 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.2664, allocations: 16.75 kB / 412.5 MB, free: 3.598 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.2665, allocations: 24.42 kB / 412.5 MB, free: 3.586 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2665, allocations: 0 / 412.5 MB, free: 3.586 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.2807, allocations: 3.537 MB / 416.1 MB, free: 3.199 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001172/0.2809, allocations: 199.2 kB / 416.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.984, allocations: 4.906 kB / 416.3 MB, free: 2.957 MB / 286.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/linux/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) Environment - environmentSimulation: