Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.001347/0.001347, 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.001573/0.001573, allocations: 185 kB / 24.09 MB, free: 416 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 0.9926/0.9926, 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.004177/0.004177, allocations: 0.8055 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.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 331.8 MB, free: 18.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.969e-05, allocations: 2.312 kB / 331.8 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001522/0.001552, allocations: 1.245 MB / 333 MB, free: 17.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.003499, allocations: 2.251 MB / 335.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.003523, allocations: 0 / 335.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.003542, allocations: 0 / 335.3 MB, free: 15.12 MB / 266.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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001027/0.004569, allocations: 0.5214 MB / 335.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.554e-06/0.004572, allocations: 0 / 335.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.423e-05/0.004606, allocations: 11.94 kB / 335.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.00464, allocations: 0 / 335.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.004671, allocations: 7.938 kB / 335.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.004713, allocations: 7.984 kB / 335.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.584e-06/0.004721, allocations: 0 / 335.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005846/0.005305, allocations: 0.5187 MB / 336.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.005312, allocations: 0 / 336.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.045e-05/0.005322, allocations: 0 / 336.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.005739, allocations: 0.4909 MB / 336.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005742, allocations: 4 kB / 336.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005743, allocations: 0 / 336.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.005747, allocations: 3.938 kB / 336.9 MB, free: 13.55 MB / 266.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.0002388/0.005986, allocations: 463.5 kB / 337.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.006021, allocations: 8.031 kB / 337.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.00605, allocations: 124.1 kB / 337.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.793e-05/0.006108, allocations: 235.8 kB / 337.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.006129, allocations: 238.8 kB / 337.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.006147, allocations: 242.7 kB / 338.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.62e-05/0.006183, allocations: 145.5 kB / 338.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.006195, allocations: 123.1 kB / 338.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.006213, allocations: 246.4 kB / 338.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.006232, allocations: 242.4 kB / 338.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.00625, allocations: 242.3 kB / 339.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.006366, allocations: 0.5608 MB / 339.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.195e-05/0.006408, allocations: 261.4 kB / 339.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.00642, allocations: 134.9 kB / 340.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.006432, allocations: 119.2 kB / 340.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.006451, allocations: 156.5 kB / 340.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.006452, allocations: 0 / 340.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.38e-05/0.006495, allocations: 33.66 kB / 340.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.006525, allocations: 178.5 kB / 340.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.006581, allocations: 161.9 kB / 340.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-06/0.006585, allocations: 25.7 kB / 340.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.782e-05/0.006603, allocations: 130.9 kB / 340.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.91e-07/0.006603, allocations: 0 / 340.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.006617, allocations: 19.38 kB / 340.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.006658, allocations: 492.1 kB / 341.4 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-06/0.00666, allocations: 48 / 341.4 MB, free: 8.852 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-06/0.006664, allocations: 4 kB / 341.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.162e-05/0.006676, allocations: 123.2 kB / 341.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.006686, allocations: 127.1 kB / 341.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.795e-05/0.006714, allocations: 33.7 kB / 341.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.006731, allocations: 123.2 kB / 341.8 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.006744, allocations: 127.3 kB / 341.9 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.00677, allocations: 242.3 kB / 342.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.255e-05/0.006782, allocations: 123.1 kB / 342.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.006802, allocations: 246.3 kB / 342.5 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.00684, allocations: 119.2 kB / 342.6 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.006849, allocations: 123.2 kB / 342.7 MB, free: 7.477 MB / 266.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 5.057e-05/0.006899, allocations: 395 kB / 343.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.006924, allocations: 148.8 kB / 343.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.006952, allocations: 164 kB / 343.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.006973, allocations: 268 kB / 343.7 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.006993, allocations: 275.9 kB / 343.9 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.007014, allocations: 268.1 kB / 344.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.147e-05/0.007096, allocations: 476.5 kB / 344.7 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.007109, allocations: 148.9 kB / 344.8 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.007123, allocations: 152.8 kB / 345 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.281e-05/0.007146, allocations: 268.1 kB / 345.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.007168, allocations: 268.1 kB / 345.5 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-05/0.007193, allocations: 268 kB / 345.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.283e-05/0.007216, allocations: 268.1 kB / 346 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.096e-05/0.007287, allocations: 455.9 kB / 346.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.007307, allocations: 149.1 kB / 346.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.007337, allocations: 272.4 kB / 346.9 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.248e-05/0.00737, allocations: 148.9 kB / 347 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.007395, allocations: 276 kB / 347.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.007409, allocations: 144.9 kB / 347.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.2e-05/0.007431, allocations: 135.1 kB / 347.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007431, allocations: 0 / 347.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000339/0.00777, allocations: 159.5 kB / 347.7 MB, free: 2.289 MB / 266.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.0007569/0.008527, allocations: 0.6925 MB / 348.4 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.163e-05/0.008558, allocations: 3.938 kB / 348.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.00856, allocations: 0 / 348.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.008561, allocations: 0 / 348.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.008747, allocations: 0.7139 MB / 349.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.009073, allocations: 220.1 kB / 349.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.092e-05/0.009094, allocations: 55.22 kB / 349.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.807e-06/0.009102, allocations: 4 kB / 349.4 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.009128, allocations: 70.2 kB / 349.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.009129, allocations: 0 / 349.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of Templates: time 0.005385/0.01451, allocations: 4.156 MB / 353.6 MB, free: 12.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8545204368419945]