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: translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001014/0.001014, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005423/0.005423, allocations: 1.002 MB / 291.1 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.89 kB / 351.6 MB, free: 2.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08656, allocations: 49.65 MB / 401.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.1416/0.2282, allocations: 0.5558 MB / 401.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2298, allocations: 1.324 MB / 403.1 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.2298, allocations: 0.5 kB / 403.1 MB, free: 9.75 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.001135/0.2309, allocations: 273.3 kB / 403.4 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.231, allocations: 28.36 kB / 403.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.596e-05/0.231, allocations: 13.03 kB / 403.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.2311, allocations: 29.41 kB / 403.4 MB, free: 9.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.711e-05/0.2311, allocations: 3.531 kB / 403.4 MB, free: 9.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.2312, allocations: 14.33 kB / 403.4 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.2312, allocations: 22.64 kB / 403.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2313, allocations: 1.312 kB / 403.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.2316, allocations: 319.6 kB / 403.8 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.2317, allocations: 20.59 kB / 403.8 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.2317, allocations: 13.91 kB / 403.8 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.2321, allocations: 276 kB / 404.1 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2321, allocations: 2.406 kB / 404.1 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2321, allocations: 0 / 404.1 MB, free: 9.391 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2321, allocations: 5.062 kB / 404.1 MB, free: 9.387 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.0003214/0.2324, allocations: 406 kB / 404.5 MB, free: 8.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2325, allocations: 9.594 kB / 404.5 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.2325, allocations: 86.28 kB / 404.6 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2326, allocations: 251.9 kB / 404.8 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.2327, allocations: 154.9 kB / 405 MB, free: 8.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.2327, allocations: 152.1 kB / 405.1 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.774e-05/0.2327, allocations: 105.1 kB / 405.2 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2327, allocations: 76.22 kB / 405.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.2328, allocations: 153.7 kB / 405.4 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.2328, allocations: 154.6 kB / 405.6 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.2328, allocations: 155.6 kB / 405.8 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.233, allocations: 455.1 kB / 406.2 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.917e-05/0.233, allocations: 166.5 kB / 406.4 MB, free: 7.039 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.233, allocations: 80.14 kB / 406.4 MB, free: 6.957 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2331, allocations: 83.12 kB / 406.5 MB, free: 6.879 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.2332, allocations: 75.45 kB / 406.6 MB, free: 6.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.2332, allocations: 0 / 406.6 MB, free: 6.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001152/0.2333, allocations: 41.8 kB / 406.6 MB, free: 6.781 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.2333, allocations: 57.28 kB / 406.7 MB, free: 6.715 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/0.2334, allocations: 115.9 kB / 406.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.2334, allocations: 25.7 kB / 406.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.803e-05/0.2335, allocations: 82.06 kB / 406.9 MB, free: 6.496 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.2335, allocations: 5.078 kB / 406.9 MB, free: 6.492 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.2335, allocations: 12.06 kB / 406.9 MB, free: 6.477 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.2336, allocations: 320.7 kB / 407.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.2336, allocations: 0.7031 kB / 407.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.2336, allocations: 1.188 kB / 407.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.813e-05/0.2336, allocations: 9.062 kB / 407.2 MB, free: 6.148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2336, allocations: 3.938 kB / 407.3 MB, free: 6.145 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.306e-05/0.2336, allocations: 36.41 kB / 407.3 MB, free: 6.109 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2337, allocations: 9.078 kB / 407.3 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2337, allocations: 1.125 kB / 407.3 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2337, allocations: 96 / 407.3 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.927e-05/0.2337, allocations: 5.906 kB / 407.3 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2337, allocations: 0 / 407.3 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.2337, allocations: 4 kB / 407.3 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.2338, allocations: 1.25 kB / 407.3 MB, free: 6.098 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.362e-05/0.2338, allocations: 115.8 kB / 407.4 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.2338, allocations: 10.75 kB / 407.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.2339, allocations: 7 kB / 407.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2339, allocations: 0 / 407.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2339, allocations: 1.094 kB / 407.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2339, allocations: 4.656 kB / 407.4 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.701e-05/0.234, allocations: 158.8 kB / 407.6 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.234, allocations: 5.672 kB / 407.6 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-06/0.234, allocations: 0 / 407.6 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.234, allocations: 1.062 kB / 407.6 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.234, allocations: 0.7031 kB / 407.6 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.234, allocations: 0.7031 kB / 407.6 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.234, allocations: 1.094 kB / 407.6 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.545e-05/0.2341, allocations: 71.75 kB / 407.7 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.2341, allocations: 82.95 kB / 407.8 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2341, allocations: 1.812 kB / 407.8 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.2341, allocations: 4.016 kB / 407.8 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.2341, allocations: 1.125 kB / 407.8 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.2341, allocations: 0 / 407.8 MB, free: 5.594 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.2342, allocations: 97.89 kB / 407.9 MB, free: 5.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2342, allocations: 0 / 407.9 MB, free: 5.512 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.2345, allocations: 99.31 kB / 408 MB, free: 5.484 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.000589/0.2351, allocations: 394 kB / 408.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.34e-05/0.2352, allocations: 2.812 kB / 408.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2352, allocations: 1.438 kB / 408.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.811e-06/0.2352, allocations: 5.406 kB / 408.4 MB, free: 5.301 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.2353, allocations: 14.25 kB / 408.4 MB, free: 5.297 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001602/0.2355, allocations: 137.6 kB / 408.5 MB, free: 5.164 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.005e-05/0.2356, allocations: 0.6868 MB / 409.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.522e-05/0.2356, allocations: 8.531 kB / 409.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.2356, allocations: 11.84 kB / 409.2 MB, free: 4.457 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2356, allocations: 1.062 kB / 409.2 MB, free: 4.457 MB / 286.1 MB Notification: Performance of Templates: time 0.004919/0.2406, allocations: 2.442 MB / 411.7 MB, free: 4.195 MB / 286.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile (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 & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)