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: translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009954/0.0009953, 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.0009643/0.0009643, allocations: 189.2 kB / 16.25 MB, free: 6.641 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.238/1.238, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005581/0.005581, allocations: 1.01 MB / 291.1 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 59.91 kB / 351.6 MB, free: 2.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08112/0.08218, allocations: 49.65 MB / 401.2 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.1369/0.2191, allocations: 1.315 MB / 402.5 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.2207, allocations: 1.19 MB / 403.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.2207, allocations: 0.5625 kB / 403.7 MB, free: 9.246 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.001356/0.2222, allocations: 234.5 kB / 403.9 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.822e-05/0.2223, allocations: 59.61 kB / 404 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.2223, allocations: 0 / 404 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.2224, allocations: 42.06 kB / 404 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.2224, allocations: 3.062 kB / 404 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.2225, allocations: 22.41 kB / 404.1 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.2226, allocations: 47.73 kB / 404.1 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.2226, allocations: 1.969 kB / 404.1 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.223, allocations: 261.6 kB / 404.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.2231, allocations: 28.02 kB / 404.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.2231, allocations: 16.06 kB / 404.4 MB, free: 8.977 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.2234, allocations: 223.6 kB / 404.6 MB, free: 8.906 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2234, allocations: 0 / 404.6 MB, free: 8.906 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2235, allocations: 4 kB / 404.6 MB, free: 8.902 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2235, allocations: 1.406 kB / 404.6 MB, free: 8.902 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.0003182/0.2238, allocations: 396.8 kB / 405 MB, free: 8.504 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2238, allocations: 9 kB / 405 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.2239, allocations: 81.34 kB / 405.1 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.224, allocations: 266 kB / 405.4 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.2241, allocations: 150.9 kB / 405.5 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.2241, allocations: 156.5 kB / 405.7 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.102e-05/0.2241, allocations: 105.1 kB / 405.8 MB, free: 7.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2241, allocations: 77.19 kB / 405.9 MB, free: 7.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.2242, allocations: 154.5 kB / 406 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.2242, allocations: 150.6 kB / 406.1 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.2242, allocations: 156.4 kB / 406.3 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.2244, allocations: 457 kB / 406.7 MB, free: 6.719 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.2244, allocations: 165.7 kB / 406.9 MB, free: 6.547 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.2245, allocations: 85.98 kB / 407 MB, free: 6.461 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2245, allocations: 75.28 kB / 407.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.2245, allocations: 115.6 kB / 407.2 MB, free: 6.266 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.2245, allocations: 0 / 407.2 MB, free: 6.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.892e-05/0.2246, allocations: 31.11 kB / 407.2 MB, free: 6.234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.2246, allocations: 126.7 kB / 407.3 MB, free: 6.098 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2247, allocations: 140.8 kB / 407.5 MB, free: 5.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.017e-06/0.2247, allocations: 29.64 kB / 407.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/0.2247, allocations: 92.08 kB / 407.6 MB, free: 5.859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.2247, allocations: 0 / 407.6 MB, free: 5.859 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.2248, allocations: 10.97 kB / 407.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.752e-05/0.2248, allocations: 318 kB / 407.9 MB, free: 5.527 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.2248, allocations: 1.156 kB / 407.9 MB, free: 5.527 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-06/0.2248, allocations: 3.938 kB / 407.9 MB, free: 5.523 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.079e-05/0.2248, allocations: 78.75 kB / 408 MB, free: 5.449 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.2249, allocations: 75.28 kB / 408.1 MB, free: 5.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.807e-05/0.2249, allocations: 37.7 kB / 408.1 MB, free: 5.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2249, allocations: 85.72 kB / 408.2 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2249, allocations: 75.89 kB / 408.3 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.225, allocations: 155.7 kB / 408.4 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.063e-05/0.225, allocations: 77.28 kB / 408.5 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/0.225, allocations: 160.4 kB / 408.6 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.2251, allocations: 80.7 kB / 408.7 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.2251, allocations: 79.8 kB / 408.8 MB, free: 4.645 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.2252, allocations: 269.1 kB / 409.1 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.2252, allocations: 108 kB / 409.2 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.2252, allocations: 112.5 kB / 409.3 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.2252, allocations: 182 kB / 409.5 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-05/0.2253, allocations: 182 kB / 409.6 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.2253, allocations: 182 kB / 409.8 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2254, allocations: 407 kB / 410.2 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.2255, allocations: 103 kB / 410.3 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.558e-05/0.2255, allocations: 111.1 kB / 410.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/0.2255, allocations: 181 kB / 410.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.2255, allocations: 186.8 kB / 410.8 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.3e-05/0.2256, allocations: 181 kB / 411 MB, free: 2.387 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.167e-05/0.2256, allocations: 178.8 kB / 411.1 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.134e-05/0.2257, allocations: 306.2 kB / 411.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.2257, allocations: 201.1 kB / 411.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.2258, allocations: 182.7 kB / 411.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.2258, allocations: 102.5 kB / 411.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.2259, allocations: 181 kB / 412.1 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2259, allocations: 103.1 kB / 412.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.639e-05/0.2259, allocations: 116.9 kB / 412.3 MB, free: 1.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2259, allocations: 4 kB / 412.3 MB, free: 1 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.2263, allocations: 75.8 kB / 412.4 MB, free: 0.9805 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 (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.0006165/0.2269, allocations: 394.9 kB / 412.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 4.234e-05/0.227, allocations: 5.219 kB / 412.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.227, allocations: 0 / 412.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.227, allocations: 1.219 kB / 412.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.2273, allocations: 464.4 kB / 413.2 MB, free: 300 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.2276, allocations: 257.6 kB / 413.5 MB, free: 72 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2279, allocations: 0.687 MB / 414.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.442e-05/0.228, allocations: 5.312 kB / 414.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.228, allocations: 13.97 kB / 414.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.228, allocations: 3.938 kB / 414.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Templates: time 0.00507/0.2331, allocations: 1.833 MB / 416 MB, free: 15.16 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile (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 & ./KeyWordIO_KeyWordIO.Examples.ReadRealCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)