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.001458/0.001458, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001712/0.001712, allocations: 165.3 kB / 22.76 MB, free: 1.652 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 1.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.007281/0.007281, allocations: 0.7926 MB / 260.4 MB, free: 12.28 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.432e-06/1.432e-06, allocations: 0 / 329.8 MB, free: 19.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.095e-05, allocations: 8.562 kB / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002018/0.002049, allocations: 1.234 MB / 331 MB, free: 18.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.004889, allocations: 2.204 MB / 333.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.004916, allocations: 0 / 333.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.004941, allocations: 0 / 333.2 MB, free: 15.82 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.001447/0.006388, allocations: 0.5059 MB / 333.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.529e-06/0.006393, allocations: 4 kB / 333.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.006438, allocations: 15.88 kB / 333.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.006479, allocations: 0 / 333.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.00651, allocations: 7.984 kB / 333.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.006618, allocations: 11.92 kB / 333.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.637e-06/0.006626, allocations: 0 / 333.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007878/0.007414, allocations: 0.5148 MB / 334.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.007423, allocations: 7.938 kB / 334.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.007444, allocations: 0 / 334.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000699/0.008143, allocations: 494.8 kB / 334.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.008147, allocations: 0 / 334.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.008149, allocations: 4 kB / 334.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.008154, allocations: 0 / 334.8 MB, free: 14.26 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.0004249/0.008578, allocations: 361.2 kB / 335.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.008615, allocations: 12.03 kB / 335.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.008657, allocations: 76.22 kB / 335.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.008752, allocations: 189 kB / 335.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.00878, allocations: 154.9 kB / 335.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.008797, allocations: 154.9 kB / 335.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.012e-05/0.008837, allocations: 101.5 kB / 335.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.008851, allocations: 79.22 kB / 335.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.008871, allocations: 154.6 kB / 336.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.008888, allocations: 154.6 kB / 336.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/0.008911, allocations: 150.6 kB / 336.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.009074, allocations: 405.5 kB / 336.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.009121, allocations: 169.2 kB / 336.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.009137, allocations: 80.14 kB / 337 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.009154, allocations: 79.28 kB / 337.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.009176, allocations: 105.8 kB / 337.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.009177, allocations: 0 / 337.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.204e-05/0.009249, allocations: 41.53 kB / 337.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.009276, allocations: 130.7 kB / 337.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.009362, allocations: 117.8 kB / 337.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.009367, allocations: 25.7 kB / 337.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.009402, allocations: 80.14 kB / 337.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.009404, allocations: 0 / 337.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.009423, allocations: 13.72 kB / 337.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.009465, allocations: 314.8 kB / 337.9 MB, free: 11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.009469, allocations: 0 / 337.9 MB, free: 11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-06/0.009471, allocations: 0 / 337.9 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.137e-05/0.009483, allocations: 75.28 kB / 338 MB, free: 10.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.009492, allocations: 79.28 kB / 338 MB, free: 10.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.775e-05/0.00954, allocations: 37.64 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.00956, allocations: 79.28 kB / 338.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.009576, allocations: 83.27 kB / 338.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/0.009612, allocations: 154.5 kB / 338.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-06/0.009621, allocations: 79.22 kB / 338.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.009641, allocations: 154.6 kB / 338.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.0097, allocations: 83.2 kB / 338.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.009709, allocations: 75.28 kB / 338.8 MB, free: 10.11 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.861e-05/0.009768, allocations: 264.4 kB / 339 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.009808, allocations: 104.9 kB / 339.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.009832, allocations: 112.1 kB / 339.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.009855, allocations: 184.2 kB / 339.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/0.009879, allocations: 180.2 kB / 339.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.009903, allocations: 184.5 kB / 339.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.01002, allocations: 360.8 kB / 340.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.01003, allocations: 105 kB / 340.2 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.346e-05/0.01004, allocations: 101 kB / 340.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-05/0.01007, allocations: 188.2 kB / 340.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.01009, allocations: 176.3 kB / 340.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.267e-05/0.01012, allocations: 180.2 kB / 340.8 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-05/0.01014, allocations: 188.2 kB / 341 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.634e-05/0.01021, allocations: 307.8 kB / 341.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.01022, allocations: 101 kB / 341.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.01027, allocations: 188.2 kB / 341.6 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.01033, allocations: 101 kB / 341.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.01035, allocations: 188.1 kB / 341.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01036, allocations: 105 kB / 342 MB, free: 6.672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.989e-05/0.01039, allocations: 91.52 kB / 342.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01039, allocations: 0 / 342.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004955/0.01089, allocations: 159.5 kB / 342.2 MB, free: 6.426 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.00128/0.01217, allocations: 0.6236 MB / 342.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.383e-05/0.01222, allocations: 0 / 342.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01222, allocations: 0 / 342.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.01223, allocations: 3.938 kB / 342.9 MB, free: 5.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.0125, allocations: 463.7 kB / 343.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.01274, allocations: 181.7 kB / 343.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.27e-05/0.01277, allocations: 55.36 kB / 343.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.558e-06/0.01278, allocations: 4 kB / 343.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.01281, allocations: 20.42 kB / 343.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01281, allocations: 0 / 343.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of Templates: time 0.006178/0.01899, allocations: 3.438 MB / 347 MB, free: 1.68 MB / 266.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=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.452313354006037]