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.0009339/0.0009339, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001136/0.001136, allocations: 168.7 kB / 15.95 MB, free: 204 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.308/1.308, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005305/0.005305, allocations: 0.9963 MB / 292.1 MB, free: 1.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003045, allocations: 8 kB / 353.3 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2746, allocations: 50.62 MB / 403.9 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001145/0.2757, allocations: 0.9794 MB / 404.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2773, allocations: 1.141 MB / 406 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.2773, allocations: 0 / 406 MB, free: 9.344 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.0007628/0.2781, allocations: 229.8 kB / 406.3 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.923e-05/0.2781, allocations: 58.27 kB / 406.3 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.434e-06/0.2782, allocations: 1.188 kB / 406.3 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.2783, allocations: 83.64 kB / 406.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.81e-05/0.2783, allocations: 2.734 kB / 406.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.2783, allocations: 17.84 kB / 406.4 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.2785, allocations: 49.38 kB / 406.5 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.2785, allocations: 1.469 kB / 406.5 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.2789, allocations: 237.8 kB / 406.7 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.2789, allocations: 36.91 kB / 406.7 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.279, allocations: 28.98 kB / 406.8 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.2792, allocations: 167.9 kB / 406.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2792, allocations: 1.062 kB / 406.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2792, allocations: 4 kB / 406.9 MB, free: 9.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.2792, allocations: 0 / 406.9 MB, free: 9.078 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.0003514/0.2796, allocations: 421.6 kB / 407.3 MB, free: 8.668 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2796, allocations: 9.125 kB / 407.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.466e-05/0.2796, allocations: 105.8 kB / 407.5 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.2797, allocations: 82.59 kB / 407.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2799, allocations: 297.5 kB / 407.8 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2799, allocations: 163.5 kB / 408 MB, free: 8.023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2799, allocations: 150.6 kB / 408.1 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.439e-05/0.28, allocations: 102.2 kB / 408.2 MB, free: 7.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.28, allocations: 79.22 kB / 408.3 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.28, allocations: 152.6 kB / 408.5 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.28, allocations: 150.6 kB / 408.6 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.2801, allocations: 155.7 kB / 408.8 MB, free: 7.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.2803, allocations: 474.8 kB / 409.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.554e-05/0.2803, allocations: 166.2 kB / 409.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.2803, allocations: 84.89 kB / 409.5 MB, free: 6.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.2803, allocations: 80.34 kB / 409.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.2804, allocations: 105.8 kB / 409.7 MB, free: 6.309 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2804, allocations: 1.125 kB / 409.7 MB, free: 6.309 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.19e-05/0.2804, allocations: 37.23 kB / 409.7 MB, free: 6.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.2805, allocations: 127.5 kB / 409.8 MB, free: 6.133 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2807, allocations: 185.3 kB / 410 MB, free: 6.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-06/0.2807, allocations: 25.7 kB / 410 MB, free: 5.977 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.2807, allocations: 97.92 kB / 410.1 MB, free: 5.883 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.2807, allocations: 0 / 410.1 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2807, allocations: 3.938 kB / 410.1 MB, free: 5.879 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.2808, allocations: 320.5 kB / 410.4 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.2808, allocations: 0 / 410.4 MB, free: 5.562 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-06/0.2808, allocations: 0 / 410.4 MB, free: 5.562 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.166e-05/0.2808, allocations: 76.98 kB / 410.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.2808, allocations: 79.22 kB / 410.6 MB, free: 5.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.186e-05/0.2809, allocations: 46.48 kB / 410.6 MB, free: 5.363 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2809, allocations: 81.11 kB / 410.7 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.2809, allocations: 76.31 kB / 410.8 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.2809, allocations: 152.5 kB / 410.9 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.006e-05/0.281, allocations: 85.28 kB / 411 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.281, allocations: 155.6 kB / 411.2 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.2811, allocations: 83.44 kB / 411.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.2811, allocations: 81.36 kB / 411.3 MB, free: 4.676 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 5.765e-05/0.2811, allocations: 265.9 kB / 411.6 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.2812, allocations: 116.9 kB / 411.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.2812, allocations: 115.9 kB / 411.8 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.2812, allocations: 177.3 kB / 412 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/0.2813, allocations: 185.2 kB / 412.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.2813, allocations: 178.3 kB / 412.3 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2815, allocations: 425.6 kB / 412.8 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.2815, allocations: 101.7 kB / 412.9 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-05/0.2815, allocations: 102.7 kB / 413 MB, free: 2.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.149e-05/0.2815, allocations: 189.9 kB / 413.1 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.2815, allocations: 178 kB / 413.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-05/0.2816, allocations: 186 kB / 413.5 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-05/0.2816, allocations: 178 kB / 413.7 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.482e-05/0.2817, allocations: 316.7 kB / 414 MB, free: 1.906 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.2817, allocations: 194.2 kB / 414.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.2818, allocations: 185.8 kB / 414.4 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.2818, allocations: 105 kB / 414.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.2819, allocations: 178 kB / 414.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2819, allocations: 110.9 kB / 414.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.282, allocations: 154.6 kB / 414.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.282, allocations: 1.062 kB / 414.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.2824, allocations: 80.38 kB / 415 MB, free: 0.9922 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.0006669/0.2831, allocations: 1.034 MB / 416 MB, free: 116 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 2.787e-05/0.2831, allocations: 3.938 kB / 416 MB, free: 112 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2831, allocations: 3.938 kB / 416 MB, free: 108 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.2831, allocations: 2.219 kB / 416 MB, free: 108 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2835, allocations: 0.5247 MB / 416.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.2845, allocations: 0.8736 MB / 417.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.2847, allocations: 0.6935 MB / 418.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.2848, allocations: 11.28 kB / 418.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.2848, allocations: 35.62 kB / 418.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2848, allocations: 0 / 418.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.3015, allocations: 3.199 MB / 421.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/0.3018, allocations: 201.5 kB / 421.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/1.989, allocations: 1.688 kB / 421.5 MB, free: 13.63 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: