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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.006366/0.006366, allocations: 0.8048 MB / 261.9 MB, free: 12.12 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 331.8 MB, free: 3.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.567e-05, allocations: 2.312 kB / 331.8 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001685/0.00171, allocations: 1.312 MB / 333.1 MB, free: 2.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.00293, allocations: 1.328 MB / 334.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.002958, allocations: 0 / 334.4 MB, free: 1.043 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.0009129/0.003871, allocations: 278.5 kB / 334.7 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.509e-05/0.003946, allocations: 71.73 kB / 334.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.204e-06/0.003948, allocations: 0 / 334.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.619e-05/0.003995, allocations: 35.84 kB / 334.8 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.742e-05/0.004022, allocations: 4 kB / 334.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.004058, allocations: 23.92 kB / 334.8 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.004125, allocations: 27.91 kB / 334.9 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.004132, allocations: 0 / 334.9 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.00441, allocations: 255.4 kB / 335.1 MB, free: 380 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.004453, allocations: 27.97 kB / 335.2 MB, free: 352 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.193e-05/0.004465, allocations: 7.938 kB / 335.2 MB, free: 344 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.004732, allocations: 251.3 kB / 335.4 MB, free: 92 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004734, allocations: 0 / 335.4 MB, free: 92 kB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004735, allocations: 0 / 335.4 MB, free: 92 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.004738, allocations: 0 / 335.4 MB, free: 92 kB / 298.7 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.0002725/0.005011, allocations: 435.9 kB / 335.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.005044, allocations: 8.031 kB / 335.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.005091, allocations: 132.1 kB / 336 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.005206, allocations: 239.7 kB / 336.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.005272, allocations: 238.8 kB / 336.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.005318, allocations: 238.8 kB / 336.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.829e-05/0.005397, allocations: 149.5 kB / 336.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.00542, allocations: 123.4 kB / 336.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.005467, allocations: 250.4 kB / 337.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.005512, allocations: 238.4 kB / 337.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.961e-05/0.005562, allocations: 238.4 kB / 337.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.005802, allocations: 0.5647 MB / 338.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.084e-05/0.005873, allocations: 261.4 kB / 338.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.005901, allocations: 130.8 kB / 338.6 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.005926, allocations: 123.1 kB / 338.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.005964, allocations: 156.6 kB / 338.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.005964, allocations: 0 / 338.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.631e-05/0.006011, allocations: 33.66 kB / 338.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.006058, allocations: 174.6 kB / 339.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.006147, allocations: 177.8 kB / 339.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.934e-06/0.006154, allocations: 29.7 kB / 339.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.006191, allocations: 138.9 kB / 339.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.61e-07/0.006191, allocations: 0 / 339.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.006208, allocations: 15.38 kB / 339.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.006429, allocations: 0.4884 MB / 339.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-06/0.006431, allocations: 0 / 339.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.006435, allocations: 3.938 kB / 339.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.006462, allocations: 119.2 kB / 340 MB, free: 11.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/0.006487, allocations: 119.2 kB / 340.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.961e-05/0.006526, allocations: 33.7 kB / 340.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.006561, allocations: 127.2 kB / 340.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.006589, allocations: 119.2 kB / 340.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.768e-05/0.006646, allocations: 246.3 kB / 340.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.763e-05/0.006674, allocations: 123.3 kB / 340.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.316e-05/0.006727, allocations: 258.2 kB / 341 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.006779, allocations: 119.2 kB / 341.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.006803, allocations: 119.2 kB / 341.3 MB, free: 10.01 MB / 314.7 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 0.0001031/0.006906, allocations: 402.9 kB / 341.7 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.00695, allocations: 152.8 kB / 341.8 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.006999, allocations: 156.1 kB / 342 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.405e-05/0.007053, allocations: 272 kB / 342.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-05/0.007103, allocations: 268.1 kB / 342.5 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.916e-05/0.007152, allocations: 276 kB / 342.8 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.0073, allocations: 484.5 kB / 343.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002598/0.00756, allocations: 148.9 kB / 343.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.007589, allocations: 148.8 kB / 343.5 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.328e-05/0.007643, allocations: 272 kB / 343.8 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.007704, allocations: 272 kB / 344.1 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.338e-05/0.007757, allocations: 264.1 kB / 344.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.405e-05/0.007812, allocations: 268.1 kB / 344.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.007927, allocations: 451.9 kB / 345 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.007965, allocations: 156.8 kB / 345.2 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.008029, allocations: 276.1 kB / 345.4 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.008082, allocations: 148.9 kB / 345.6 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.008134, allocations: 268 kB / 345.8 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.008167, allocations: 149.2 kB / 346 MB, free: 5.094 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.44e-05/0.008212, allocations: 135.2 kB / 346.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008212, allocations: 0 / 346.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.008458, allocations: 83.66 kB / 346.2 MB, free: 4.879 MB / 314.7 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.0004574/0.008916, allocations: 466.8 kB / 346.7 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.175e-05/0.008948, allocations: 7.938 kB / 346.7 MB, free: 4.465 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008949, allocations: 0 / 346.7 MB, free: 4.465 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.00895, allocations: 0 / 346.7 MB, free: 4.465 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.009216, allocations: 0.7101 MB / 347.4 MB, free: 3.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.009447, allocations: 281.7 kB / 347.7 MB, free: 3.445 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.034e-05/0.009477, allocations: 63.28 kB / 347.7 MB, free: 3.363 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.171e-05/0.009489, allocations: 8 kB / 347.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.00952, allocations: 70.2 kB / 347.8 MB, free: 3.285 MB / 314.7 MB Notification: Performance of SimCode: time 3.61e-07/0.009521, allocations: 0 / 347.8 MB, free: 3.285 MB / 314.7 MB Notification: Performance of Templates: time 0.003049/0.01257, allocations: 2.182 MB / 350 MB, free: 1.105 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile [Timeout 660] (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=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8410358568653464]