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-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.001009/0.001009, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001174/0.001174, allocations: 195.3 kB / 16.14 MB, free: 6.688 MB / 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: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006143/0.006143, allocations: 1.012 MB / 291 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 64.12 kB / 351.5 MB, free: 2.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07197/0.0731, allocations: 49.65 MB / 401.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.1266/0.1997, allocations: 0.5485 MB / 401.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.2015, allocations: 1.355 MB / 403 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.2015, allocations: 0 / 403 MB, free: 9.77 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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-master/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-master/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-master/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.00112/0.2027, allocations: 246.5 kB / 403.3 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.2027, allocations: 23.62 kB / 403.3 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.478e-05/0.2028, allocations: 13.3 kB / 403.3 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.2028, allocations: 34.31 kB / 403.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.2029, allocations: 8.938 kB / 403.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.153e-05/0.2029, allocations: 9.094 kB / 403.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.203, allocations: 26.97 kB / 403.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.203, allocations: 1.031 kB / 403.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.2034, allocations: 312.8 kB / 403.7 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.2035, allocations: 19.47 kB / 403.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.2035, allocations: 20.92 kB / 403.7 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.2039, allocations: 294.3 kB / 404 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2039, allocations: 3.766 kB / 404 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.2039, allocations: 0 / 404 MB, free: 9.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.2039, allocations: 0 / 404 MB, free: 9.402 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.0003749/0.2043, allocations: 434.5 kB / 404.5 MB, free: 8.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2044, allocations: 9.875 kB / 404.5 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.2044, allocations: 108.2 kB / 404.6 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.2045, allocations: 80.09 kB / 404.7 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.2046, allocations: 279.7 kB / 404.9 MB, free: 8.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.2047, allocations: 152.3 kB / 405.1 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.2047, allocations: 156 kB / 405.2 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.413e-05/0.2047, allocations: 112.9 kB / 405.3 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2048, allocations: 77.64 kB / 405.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.2048, allocations: 152.7 kB / 405.6 MB, free: 7.883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.2048, allocations: 150.6 kB / 405.7 MB, free: 7.734 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.2048, allocations: 150.6 kB / 405.9 MB, free: 7.586 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.205, allocations: 469.3 kB / 406.3 MB, free: 7.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.856e-05/0.2051, allocations: 170.2 kB / 406.5 MB, free: 6.922 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.2051, allocations: 82.61 kB / 406.6 MB, free: 6.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.2051, allocations: 79.22 kB / 406.6 MB, free: 6.762 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.2052, allocations: 71.58 kB / 406.7 MB, free: 6.703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 3.176e-06/0.2052, allocations: 0 / 406.7 MB, free: 6.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.2054, allocations: 44.03 kB / 406.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.2054, allocations: 51.41 kB / 406.8 MB, free: 6.602 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2055, allocations: 149.6 kB / 407 MB, free: 6.488 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.2055, allocations: 30.7 kB / 407 MB, free: 6.453 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/0.2056, allocations: 88.14 kB / 407.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.2056, allocations: 7.984 kB / 407.1 MB, free: 6.359 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.2056, allocations: 12.33 kB / 407.1 MB, free: 6.344 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.2056, allocations: 314.4 kB / 407.4 MB, free: 6.031 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.2057, allocations: 1.766 kB / 407.4 MB, free: 6.031 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.2057, allocations: 5 kB / 407.4 MB, free: 6.027 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.01e-05/0.2057, allocations: 15.98 kB / 407.4 MB, free: 6.012 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2057, allocations: 0 / 407.4 MB, free: 6.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.066e-05/0.2058, allocations: 37.58 kB / 407.5 MB, free: 5.977 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2058, allocations: 9.578 kB / 407.5 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2058, allocations: 0 / 407.5 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2058, allocations: 1.641 kB / 407.5 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.759e-05/0.2058, allocations: 0.6094 kB / 407.5 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2058, allocations: 1.219 kB / 407.5 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.2059, allocations: 1.875 kB / 407.5 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2059, allocations: 1.125 kB / 407.5 MB, free: 5.973 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.2059, allocations: 121 kB / 407.6 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.206, allocations: 15.19 kB / 407.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.206, allocations: 12.08 kB / 407.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.206, allocations: 2.078 kB / 407.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.206, allocations: 0 / 407.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.206, allocations: 1.375 kB / 407.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.2061, allocations: 165.4 kB / 407.8 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2061, allocations: 1.156 kB / 407.8 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-06/0.2061, allocations: 0 / 407.8 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.2062, allocations: 7.75 kB / 407.8 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.2062, allocations: 0 / 407.8 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2062, allocations: 0.7031 kB / 407.8 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2062, allocations: 1.703 kB / 407.8 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.457e-05/0.2062, allocations: 68.55 kB / 407.9 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.2063, allocations: 89.36 kB / 407.9 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2063, allocations: 2.656 kB / 407.9 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.2063, allocations: 8.984 kB / 408 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.2064, allocations: 4.547 kB / 408 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.2064, allocations: 0 / 408 MB, free: 5.453 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.477e-05/0.2065, allocations: 125.3 kB / 408.1 MB, free: 5.363 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2065, allocations: 0 / 408.1 MB, free: 5.363 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.2068, allocations: 104.4 kB / 408.2 MB, free: 5.336 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007927/0.2076, allocations: 0.8917 MB / 409.1 MB, free: 4.641 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.048e-05/0.2077, allocations: 7.219 kB / 409.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2077, allocations: 1.062 kB / 409.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.172e-06/0.2077, allocations: 2.312 kB / 409.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.2079, allocations: 11.61 kB / 409.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.2087, allocations: 1.271 MB / 410.4 MB, free: 3.473 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.863e-05/0.2088, allocations: 0.6804 MB / 411 MB, free: 2.777 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.2088, allocations: 16.97 kB / 411.1 MB, free: 2.777 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.2088, allocations: 24.7 kB / 411.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2088, allocations: 0 / 411.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/0.3517, allocations: 3.67 MB / 414.8 MB, free: 2.266 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/0.3519, allocations: 219.7 kB / 415 MB, free: 2.008 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.232, allocations: 0 / 415 MB, free: 2.008 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/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)