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-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: 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.0007901/0.0007902, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.497/1.497, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005842/0.005842, allocations: 0.9885 MB / 293.1 MB, free: 1.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.000299, allocations: 8 kB / 354.5 MB, free: 1.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2487, allocations: 50.63 MB / 405.1 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001346/0.25, allocations: 0.9965 MB / 406.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2518, allocations: 1.196 MB / 407.3 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.2518, allocations: 1.062 kB / 407.3 MB, free: 9.441 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/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.001135/0.253, allocations: 209.3 kB / 407.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.298e-05/0.2531, allocations: 52.14 kB / 407.5 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.484e-06/0.2531, allocations: 0 / 407.5 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2532, allocations: 123.8 kB / 407.7 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.2533, allocations: 1.188 kB / 407.7 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.2533, allocations: 20.92 kB / 407.7 MB, free: 9.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2535, allocations: 43.17 kB / 407.7 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.2535, allocations: 4.969 kB / 407.7 MB, free: 9.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.2539, allocations: 252.5 kB / 408 MB, free: 9.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.2539, allocations: 32.06 kB / 408 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.254, allocations: 38.41 kB / 408 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.2542, allocations: 161.6 kB / 408.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2542, allocations: 0 / 408.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2542, allocations: 1 kB / 408.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.2543, allocations: 0 / 408.2 MB, free: 9.09 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.0003094/0.2546, allocations: 391.9 kB / 408.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2546, allocations: 9.281 kB / 408.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.2547, allocations: 77.84 kB / 408.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.2548, allocations: 257.8 kB / 408.9 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.2548, allocations: 156 kB / 409.1 MB, free: 8.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.2549, allocations: 150.9 kB / 409.2 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.1e-05/0.2549, allocations: 115.1 kB / 409.3 MB, free: 7.922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2549, allocations: 75.28 kB / 409.4 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.255, allocations: 156.8 kB / 409.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.255, allocations: 150.6 kB / 409.7 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.255, allocations: 154.6 kB / 409.9 MB, free: 7.395 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.2552, allocations: 453.6 kB / 410.3 MB, free: 6.914 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.2553, allocations: 170.1 kB / 410.5 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.2553, allocations: 85.36 kB / 410.6 MB, free: 6.652 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2553, allocations: 80.22 kB / 410.6 MB, free: 6.574 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.2553, allocations: 111.8 kB / 410.7 MB, free: 6.457 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2553, allocations: 0 / 410.7 MB, free: 6.457 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.218e-05/0.2554, allocations: 32.66 kB / 410.8 MB, free: 6.422 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.2554, allocations: 130.6 kB / 410.9 MB, free: 6.281 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2556, allocations: 139.7 kB / 411 MB, free: 6.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.2556, allocations: 29.7 kB / 411.1 MB, free: 6.133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.2556, allocations: 87.45 kB / 411.2 MB, free: 6.047 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.2556, allocations: 0 / 411.2 MB, free: 6.047 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.2556, allocations: 10.75 kB / 411.2 MB, free: 6.031 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.2557, allocations: 313.3 kB / 411.5 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-06/0.2557, allocations: 0 / 411.5 MB, free: 5.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-06/0.2557, allocations: 1.188 kB / 411.5 MB, free: 5.719 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.237e-05/0.2557, allocations: 75.28 kB / 411.5 MB, free: 5.645 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.2557, allocations: 75.28 kB / 411.6 MB, free: 5.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.154e-05/0.2558, allocations: 43.56 kB / 411.7 MB, free: 5.527 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.2558, allocations: 79.72 kB / 411.7 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.2558, allocations: 80.83 kB / 411.8 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.2559, allocations: 152.8 kB / 412 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.235e-05/0.2559, allocations: 80.19 kB / 412 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.2559, allocations: 156.7 kB / 412.2 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.256, allocations: 80.41 kB / 412.3 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.256, allocations: 79.22 kB / 412.4 MB, free: 4.84 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 6.8e-05/0.2561, allocations: 270.1 kB / 412.6 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.2561, allocations: 112.7 kB / 412.7 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.2562, allocations: 111.1 kB / 412.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.2562, allocations: 182.8 kB / 413 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/0.2562, allocations: 180.8 kB / 413.2 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.2563, allocations: 186.8 kB / 413.4 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.2564, allocations: 406.6 kB / 413.8 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.2564, allocations: 107.3 kB / 413.9 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.2564, allocations: 107.2 kB / 414 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-05/0.2565, allocations: 182.3 kB / 414.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.2565, allocations: 182.5 kB / 414.3 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.281e-05/0.2565, allocations: 177.4 kB / 414.5 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.231e-05/0.2566, allocations: 186.2 kB / 414.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.624e-05/0.2566, allocations: 314.3 kB / 415 MB, free: 2.066 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.2567, allocations: 187.6 kB / 415.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.2567, allocations: 183 kB / 415.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.2568, allocations: 106.6 kB / 415.5 MB, free: 1.57 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.2568, allocations: 181.1 kB / 415.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2569, allocations: 111.8 kB / 415.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.198e-05/0.2569, allocations: 113.4 kB / 415.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2569, allocations: 0 / 415.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.2574, allocations: 79.72 kB / 415.9 MB, free: 1.164 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.0006047/0.258, allocations: 397.1 kB / 416.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.194e-05/0.258, allocations: 1.75 kB / 416.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.258, allocations: 0 / 416.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.258, allocations: 0 / 416.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2583, allocations: 0.5292 MB / 416.9 MB, free: 404 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.2586, allocations: 251.1 kB / 417.1 MB, free: 168 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.2589, allocations: 0.6798 MB / 417.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.2589, allocations: 12.06 kB / 417.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2589, allocations: 1 kB / 417.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Templates: time 0.004318/0.2632, allocations: 2.079 MB / 419.9 MB, free: 15.22 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)