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.001362/0.001362, 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.001603/0.001603, 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.9162/0.9162, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.003955/0.003955, allocations: 0.8036 MB / 261.6 MB, free: 12.23 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.423e-06/1.423e-06, allocations: 0 / 331.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.754e-05, allocations: 10.19 kB / 331.4 MB, free: 18.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001757/0.001774, allocations: 1.254 MB / 332.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.00424, allocations: 2.263 MB / 334.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.004261, allocations: 0 / 334.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.004287, allocations: 3.984 kB / 334.9 MB, free: 15.36 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.001068/0.005354, allocations: 0.5098 MB / 335.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.645e-06/0.005357, allocations: 0 / 335.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.005401, allocations: 19.91 kB / 335.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.00543, allocations: 4 kB / 335.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.609e-05/0.005456, allocations: 7.938 kB / 335.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.005509, allocations: 4 kB / 335.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.005518, allocations: 0 / 335.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006595/0.006177, allocations: 0.5187 MB / 335.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-06/0.006184, allocations: 0 / 335.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.006199, allocations: 4 kB / 335.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.00671, allocations: 0.4948 MB / 336.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.006712, allocations: 0 / 336.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006713, allocations: 0 / 336.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.006717, allocations: 4 kB / 336.4 MB, free: 13.79 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.0003017/0.007018, allocations: 455.6 kB / 336.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.007054, allocations: 12.03 kB / 336.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.007099, allocations: 124.1 kB / 337 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.007194, allocations: 227.8 kB / 337.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.007217, allocations: 238.8 kB / 337.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.007235, allocations: 246.7 kB / 337.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.736e-05/0.007272, allocations: 145.5 kB / 337.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.007286, allocations: 123.1 kB / 338 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.007308, allocations: 242.3 kB / 338.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.007331, allocations: 254.3 kB / 338.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.007353, allocations: 238.4 kB / 338.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.007508, allocations: 0.5642 MB / 339.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.007556, allocations: 265.4 kB / 339.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.007571, allocations: 126.9 kB / 339.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.007584, allocations: 131.1 kB / 339.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.007606, allocations: 152.6 kB / 339.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.007607, allocations: 0 / 339.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.613e-05/0.007663, allocations: 33.59 kB / 340 MB, free: 10.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.007692, allocations: 174.6 kB / 340.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.007763, allocations: 169.9 kB / 340.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-06/0.007767, allocations: 29.7 kB / 340.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.839e-05/0.007785, allocations: 130.9 kB / 340.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.007787, allocations: 0 / 340.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.007804, allocations: 15.38 kB / 340.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.781e-05/0.007842, allocations: 0.4884 MB / 340.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-06/0.007846, allocations: 0 / 340.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-06/0.007849, allocations: 3.984 kB / 341 MB, free: 9.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.166e-05/0.00786, allocations: 123.2 kB / 341.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.007869, allocations: 119.2 kB / 341.2 MB, free: 8.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.297e-05/0.007912, allocations: 33.69 kB / 341.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.00793, allocations: 123.2 kB / 341.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.007943, allocations: 127.3 kB / 341.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/0.007976, allocations: 250.3 kB / 341.7 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.435e-05/0.007991, allocations: 119.2 kB / 341.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.008012, allocations: 250.3 kB / 342.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.008063, allocations: 119.2 kB / 342.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.008072, allocations: 119.2 kB / 342.3 MB, free: 7.703 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 4.739e-05/0.008119, allocations: 402.9 kB / 342.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.008151, allocations: 144.9 kB / 342.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.008176, allocations: 152 kB / 343 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.008197, allocations: 280 kB / 343.3 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/0.008221, allocations: 264.1 kB / 343.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.008245, allocations: 276 kB / 343.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.008354, allocations: 491.9 kB / 344.3 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.008366, allocations: 152.8 kB / 344.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.008381, allocations: 152.8 kB / 344.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.007e-05/0.008401, allocations: 264.1 kB / 344.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.008425, allocations: 272 kB / 345.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-05/0.008446, allocations: 264.1 kB / 345.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-05/0.00847, allocations: 268 kB / 345.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.313e-05/0.008533, allocations: 452 kB / 346.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.008553, allocations: 160.8 kB / 346.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.008588, allocations: 268.4 kB / 346.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.008637, allocations: 144.9 kB / 346.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.008665, allocations: 284 kB / 346.9 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.008677, allocations: 148.9 kB / 347 MB, free: 2.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.851e-05/0.008705, allocations: 127.4 kB / 347.2 MB, free: 2.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008705, allocations: 0 / 347.2 MB, free: 2.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004708/0.009176, allocations: 159.5 kB / 347.3 MB, free: 2.488 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.0009733/0.01015, allocations: 0.6837 MB / 348 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.926e-05/0.01019, allocations: 3.938 kB / 348 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01019, allocations: 0 / 348 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.01019, allocations: 0 / 348 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.01046, allocations: 0.71 MB / 348.7 MB, free: 1.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.01086, allocations: 236 kB / 348.9 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.404e-05/0.01088, allocations: 55.22 kB / 349 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.927e-06/0.01089, allocations: 7.938 kB / 349 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.01091, allocations: 12.5 kB / 349 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01091, allocations: 0 / 349 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of Templates: time 0.007013/0.01793, allocations: 4.13 MB / 353.1 MB, free: 12.68 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.717267571017146]