Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",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.0009087/0.0009087, 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.0008805/0.0008805, allocations: 177.3 kB / 15.95 MB, free: 216 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.268/1.268, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005397/0.005397, allocations: 0.9851 MB / 292 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 353.2 MB, free: 2 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2684, allocations: 50.62 MB / 403.8 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001179/0.2696, allocations: 0.9748 MB / 404.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.2713, allocations: 1.14 MB / 405.9 MB, free: 9.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.2714, allocations: 0 / 405.9 MB, free: 9.281 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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function ‘KeyWordIO.readRealCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeComponents: time 0.0007758/0.2722, allocations: 233.4 kB / 406.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.2722, allocations: 47.48 kB / 406.2 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.424e-06/0.2722, allocations: 0 / 406.2 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.949e-05/0.2723, allocations: 16.14 kB / 406.2 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.2723, allocations: 2.344 kB / 406.2 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.2724, allocations: 11.12 kB / 406.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2725, allocations: 29.81 kB / 406.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-06/0.2725, allocations: 5.406 kB / 406.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.2728, allocations: 207.4 kB / 406.5 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.2729, allocations: 35.05 kB / 406.5 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.56e-05/0.2729, allocations: 33.72 kB / 406.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.2731, allocations: 167.7 kB / 406.7 MB, free: 9.051 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.2731, allocations: 0 / 406.7 MB, free: 9.051 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2732, allocations: 1.094 kB / 406.7 MB, free: 9.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.2732, allocations: 0 / 406.7 MB, free: 9.051 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.0003466/0.2735, allocations: 418.1 kB / 407.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2736, allocations: 9.031 kB / 407.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.255e-05/0.2736, allocations: 106.9 kB / 407.2 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.2736, allocations: 81.38 kB / 407.3 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.2738, allocations: 300.4 kB / 407.6 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.2738, allocations: 158.5 kB / 407.7 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.2738, allocations: 152.7 kB / 407.9 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.295e-05/0.2739, allocations: 101 kB / 408 MB, free: 7.742 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2739, allocations: 76.47 kB / 408.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.2739, allocations: 162.5 kB / 408.2 MB, free: 7.508 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.2739, allocations: 154.5 kB / 408.4 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.274, allocations: 155.6 kB / 408.5 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.2742, allocations: 471.1 kB / 409 MB, free: 6.719 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.2742, allocations: 166.2 kB / 409.2 MB, free: 6.547 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2742, allocations: 85.47 kB / 409.2 MB, free: 6.465 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2742, allocations: 105.8 kB / 409.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.2742, allocations: 0.875 kB / 409.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.161e-05/0.2743, allocations: 36.61 kB / 409.4 MB, free: 6.316 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2743, allocations: 130.7 kB / 409.5 MB, free: 6.176 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.2745, allocations: 182.5 kB / 409.7 MB, free: 6.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.2745, allocations: 29.7 kB / 409.7 MB, free: 6.016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.2746, allocations: 95.72 kB / 409.8 MB, free: 5.926 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.2746, allocations: 0 / 409.8 MB, free: 5.926 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.2746, allocations: 0 / 409.8 MB, free: 5.926 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.2746, allocations: 320 kB / 410.1 MB, free: 5.609 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-06/0.2746, allocations: 0 / 410.1 MB, free: 5.609 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-06/0.2746, allocations: 0 / 410.1 MB, free: 5.609 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.05e-05/0.2746, allocations: 77.22 kB / 410.2 MB, free: 5.535 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.2747, allocations: 79.28 kB / 410.3 MB, free: 5.457 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.882e-05/0.2747, allocations: 43.36 kB / 410.3 MB, free: 5.414 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2747, allocations: 80.44 kB / 410.4 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2748, allocations: 76.08 kB / 410.5 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.2748, allocations: 152.3 kB / 410.6 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-06/0.2748, allocations: 80.25 kB / 410.7 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.2748, allocations: 156.3 kB / 410.8 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.2749, allocations: 87.66 kB / 410.9 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.2749, allocations: 76.34 kB / 411 MB, free: 4.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 7.317e-05/0.275, allocations: 266.3 kB / 411.3 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.275, allocations: 112.7 kB / 411.4 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.2751, allocations: 120 kB / 411.5 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.2751, allocations: 186 kB / 411.7 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/0.2751, allocations: 182.8 kB / 411.9 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.2752, allocations: 182 kB / 412 MB, free: 3.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.2753, allocations: 420.3 kB / 412.4 MB, free: 3.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.2753, allocations: 106.8 kB / 412.5 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.2753, allocations: 101.6 kB / 412.6 MB, free: 3.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-05/0.2754, allocations: 193.8 kB / 412.8 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.2754, allocations: 180.1 kB / 413 MB, free: 2.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.896e-05/0.2754, allocations: 180.8 kB / 413.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.201e-05/0.2754, allocations: 182.9 kB / 413.4 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.338e-05/0.2755, allocations: 311.4 kB / 413.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.2756, allocations: 197.1 kB / 413.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.2756, allocations: 186.4 kB / 414 MB, free: 1.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.2757, allocations: 109.2 kB / 414.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.2757, allocations: 178.1 kB / 414.3 MB, free: 1.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.2757, allocations: 106.6 kB / 414.4 MB, free: 1.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.2759, allocations: 156.2 kB / 414.6 MB, free: 1.059 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2759, allocations: 1.031 kB / 414.6 MB, free: 1.059 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.2762, allocations: 76.5 kB / 414.7 MB, free: 1.039 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0006515/0.2769, allocations: 1.031 MB / 415.7 MB, free: 156 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 2.923e-05/0.2769, allocations: 5.406 kB / 415.7 MB, free: 152 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2769, allocations: 0 / 415.7 MB, free: 152 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.2769, allocations: 0 / 415.7 MB, free: 152 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.2772, allocations: 0.5252 MB / 416.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.2783, allocations: 0.8689 MB / 417.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.2786, allocations: 0.6929 MB / 417.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.548e-05/0.2786, allocations: 11.98 kB / 417.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.2787, allocations: 31.7 kB / 417.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2787, allocations: 0 / 417.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.2952, allocations: 3.2 MB / 421 MB, free: 13.91 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.2955, allocations: 197.4 kB / 421.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.952, allocations: 3.984 kB / 421.2 MB, free: 13.66 MB / 302.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) Environment - environmentSimulation: