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.001027/0.001027, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001073/0.001073, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 0.9938/0.9938, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.004112/0.004112, allocations: 0.7942 MB / 261.6 MB, free: 12.22 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.473e-06/1.473e-06, allocations: 0 / 331.3 MB, free: 3.961 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.467e-05, allocations: 2.312 kB / 331.4 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001653/0.001678, allocations: 1.308 MB / 332.7 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002915, allocations: 1.352 MB / 334 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.002946, allocations: 0 / 334 MB, free: 1.281 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.001006/0.003953, allocations: 264.3 kB / 334.3 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.004054, allocations: 75.73 kB / 334.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.065e-06/0.004057, allocations: 0 / 334.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.004117, allocations: 39.84 kB / 334.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.004148, allocations: 0 / 334.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.004185, allocations: 23.91 kB / 334.4 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.004267, allocations: 31.89 kB / 334.4 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.004275, allocations: 0 / 334.4 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.004556, allocations: 255.5 kB / 334.7 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.004605, allocations: 31.91 kB / 334.7 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.00462, allocations: 4 kB / 334.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.004926, allocations: 255.2 kB / 335 MB, free: 332 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004928, allocations: 4 kB / 335 MB, free: 328 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004929, allocations: 0 / 335 MB, free: 328 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004933, allocations: 0 / 335 MB, free: 328 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.0003044/0.005237, allocations: 427.8 kB / 335.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005273, allocations: 8.031 kB / 335.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.005329, allocations: 132.1 kB / 335.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.005454, allocations: 231.8 kB / 335.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.005505, allocations: 238.8 kB / 336 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.005557, allocations: 242.8 kB / 336.2 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.268e-05/0.00561, allocations: 145.5 kB / 336.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.005635, allocations: 127.4 kB / 336.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.005688, allocations: 246.5 kB / 336.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.005754, allocations: 246.3 kB / 337 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.005817, allocations: 238.4 kB / 337.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.006083, allocations: 0.572 MB / 337.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/0.006161, allocations: 265.4 kB / 338 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.006193, allocations: 130.9 kB / 338.2 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.00622, allocations: 127.1 kB / 338.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.006257, allocations: 152.6 kB / 338.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.006258, allocations: 0 / 338.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.929e-05/0.006317, allocations: 33.66 kB / 338.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.006404, allocations: 178.5 kB / 338.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.006508, allocations: 181.9 kB / 338.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.006515, allocations: 25.7 kB / 338.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.00655, allocations: 134.9 kB / 339 MB, free: 12.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.006552, allocations: 3.984 kB / 339 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.006569, allocations: 15.38 kB / 339 MB, free: 12.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.006665, allocations: 0.4883 MB / 339.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-06/0.00667, allocations: 8 kB / 339.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-06/0.006674, allocations: 3.938 kB / 339.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.0067, allocations: 119.2 kB / 339.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/0.006721, allocations: 119.2 kB / 339.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.811e-05/0.00676, allocations: 37.75 kB / 339.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.006797, allocations: 123.2 kB / 339.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/0.006825, allocations: 127.2 kB / 340 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.247e-05/0.006877, allocations: 242.3 kB / 340.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.407e-05/0.006901, allocations: 123.2 kB / 340.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001186/0.00702, allocations: 250.3 kB / 340.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.007072, allocations: 123.2 kB / 340.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.007093, allocations: 119.2 kB / 340.9 MB, free: 10.22 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 9.475e-05/0.007188, allocations: 402.9 kB / 341.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.007227, allocations: 148.8 kB / 341.4 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.007271, allocations: 160.1 kB / 341.5 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-05/0.007326, allocations: 272 kB / 341.8 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.055e-05/0.007377, allocations: 268 kB / 342.1 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.224e-05/0.007429, allocations: 272 kB / 342.3 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.00758, allocations: 0.4921 MB / 342.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/0.007609, allocations: 144.9 kB / 343 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.007639, allocations: 152.8 kB / 343.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.327e-05/0.007692, allocations: 264.1 kB / 343.4 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.007766, allocations: 272 kB / 343.6 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-05/0.007834, allocations: 268.1 kB / 343.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001977/0.008032, allocations: 268.1 kB / 344.2 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.008144, allocations: 451.9 kB / 344.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.008181, allocations: 160.8 kB / 344.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.008242, allocations: 268.1 kB / 345 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.008293, allocations: 144.9 kB / 345.2 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.008349, allocations: 276 kB / 345.4 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.008378, allocations: 149.2 kB / 345.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.73e-05/0.008425, allocations: 131.2 kB / 345.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008425, allocations: 7.938 kB / 345.7 MB, free: 5.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.008685, allocations: 83.66 kB / 345.8 MB, free: 5.062 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.000569/0.009254, allocations: 469.9 kB / 346.3 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.051e-05/0.009294, allocations: 3.938 kB / 346.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009296, allocations: 0 / 346.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.009297, allocations: 0 / 346.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.009578, allocations: 0.714 MB / 347 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.009882, allocations: 285.7 kB / 347.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.009917, allocations: 63.34 kB / 347.3 MB, free: 3.539 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.796e-06/0.009926, allocations: 0 / 347.3 MB, free: 3.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.009945, allocations: 16.44 kB / 347.3 MB, free: 3.523 MB / 314.7 MB Notification: Performance of SimCode: time 6.12e-07/0.009945, allocations: 0 / 347.3 MB, free: 3.523 MB / 314.7 MB Notification: Performance of Templates: time 0.003777/0.01372, allocations: 2.164 MB / 349.5 MB, free: 1.359 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.747376680839807]