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.0008812/0.0008814, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006647/0.006647, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005754/0.005754, allocations: 0.9999 MB / 292.4 MB, free: 1.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 15.92 kB / 353.8 MB, free: 2.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2427, allocations: 50.63 MB / 404.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001193/0.244, allocations: 0.9866 MB / 405.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.2456, allocations: 1.198 MB / 406.6 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.2456, allocations: 2.688 kB / 406.6 MB, free: 9.461 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.00111/0.2467, allocations: 211.9 kB / 406.8 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.2468, allocations: 48.88 kB / 406.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.2468, allocations: 0 / 406.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.247, allocations: 122.2 kB / 407 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.247, allocations: 2 kB / 407 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.247, allocations: 20.23 kB / 407 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.2472, allocations: 45.3 kB / 407.1 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.2472, allocations: 4.812 kB / 407.1 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.2475, allocations: 254.5 kB / 407.3 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.2476, allocations: 30.52 kB / 407.3 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.2476, allocations: 38.55 kB / 407.4 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.2479, allocations: 230.4 kB / 407.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.248, allocations: 0 / 407.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.248, allocations: 0 / 407.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.248, allocations: 1.156 kB / 407.6 MB, free: 9.082 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.0002736/0.2482, allocations: 395.9 kB / 408 MB, free: 8.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2483, allocations: 8.75 kB / 408 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.2483, allocations: 79.56 kB / 408.1 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2485, allocations: 256.2 kB / 408.3 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2485, allocations: 151.9 kB / 408.5 MB, free: 8.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.2485, allocations: 152 kB / 408.6 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.771e-05/0.2486, allocations: 118.2 kB / 408.7 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2486, allocations: 75.28 kB / 408.8 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.2486, allocations: 150.6 kB / 409 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.2486, allocations: 156.6 kB / 409.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.2486, allocations: 150.6 kB / 409.3 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.2488, allocations: 456.8 kB / 409.7 MB, free: 6.902 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.2489, allocations: 171.3 kB / 409.9 MB, free: 6.727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.2489, allocations: 80.14 kB / 410 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.2489, allocations: 76.36 kB / 410 MB, free: 6.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.249, allocations: 115.9 kB / 410.1 MB, free: 6.449 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.249, allocations: 0 / 410.1 MB, free: 6.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.954e-05/0.249, allocations: 36.72 kB / 410.2 MB, free: 6.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.2491, allocations: 127.8 kB / 410.3 MB, free: 6.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2492, allocations: 130.1 kB / 410.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.2492, allocations: 30.86 kB / 410.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.2492, allocations: 87.05 kB / 410.5 MB, free: 6.047 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.2492, allocations: 3.938 kB / 410.6 MB, free: 6.043 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.2493, allocations: 14.62 kB / 410.6 MB, free: 6.023 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.55e-05/0.2493, allocations: 321.6 kB / 410.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-06/0.2493, allocations: 0 / 410.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-06/0.2493, allocations: 0 / 410.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-06/0.2493, allocations: 76.34 kB / 411 MB, free: 5.629 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2493, allocations: 75.28 kB / 411 MB, free: 5.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.521e-05/0.2494, allocations: 35.44 kB / 411.1 MB, free: 5.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2494, allocations: 80.97 kB / 411.1 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2494, allocations: 84.22 kB / 411.2 MB, free: 5.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.2495, allocations: 155.5 kB / 411.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-06/0.2495, allocations: 77.34 kB / 411.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.2495, allocations: 159.6 kB / 411.6 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.2496, allocations: 76.5 kB / 411.7 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.2496, allocations: 80.31 kB / 411.8 MB, free: 4.828 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.042e-05/0.2496, allocations: 269.9 kB / 412 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.2497, allocations: 115.7 kB / 412.1 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.2497, allocations: 107.8 kB / 412.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.2497, allocations: 182.9 kB / 412.4 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.006e-05/0.2497, allocations: 177.3 kB / 412.6 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.2498, allocations: 186.5 kB / 412.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.2499, allocations: 407 kB / 413.2 MB, free: 3.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.2499, allocations: 106.9 kB / 413.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-05/0.2499, allocations: 110.6 kB / 413.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/0.2499, allocations: 178.2 kB / 413.6 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.25, allocations: 181.9 kB / 413.7 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.912e-05/0.25, allocations: 182.2 kB / 413.9 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.021e-05/0.25, allocations: 180.8 kB / 414.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.479e-05/0.2501, allocations: 307.5 kB / 414.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.2501, allocations: 191.8 kB / 414.6 MB, free: 1.859 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.2502, allocations: 182.5 kB / 414.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.2502, allocations: 106.9 kB / 414.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.2503, allocations: 184.3 kB / 415 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2503, allocations: 102.8 kB / 415.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.2503, allocations: 112.9 kB / 415.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2503, allocations: 0 / 415.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00035/0.2507, allocations: 75.62 kB / 415.3 MB, free: 1.168 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.0005303/0.2512, allocations: 416 kB / 415.7 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.639e-05/0.2513, allocations: 1.125 kB / 415.7 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2513, allocations: 4 kB / 415.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.2513, allocations: 0 / 415.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.2516, allocations: 0.5298 MB / 416.3 MB, free: 388 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.2519, allocations: 267.8 kB / 416.5 MB, free: 164 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2521, allocations: 0.6882 MB / 417.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.388e-05/0.2522, allocations: 2.844 kB / 417.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.2522, allocations: 16.72 kB / 417.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2522, allocations: 0 / 417.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of Templates: time 0.004421/0.2566, allocations: 1.803 MB / 419 MB, free: 15.25 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: