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.001433/0.001433, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001611/0.001611, allocations: 169.6 kB / 24.87 MB, free: 8.883 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.9937/0.9937, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.01246/0.01246, allocations: 0.7991 MB / 262.7 MB, free: 12.09 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.713e-06/1.713e-06, allocations: 0 / 332.6 MB, free: 18.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.42e-05, allocations: 2.312 kB / 332.6 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002021/0.002045, allocations: 1.258 MB / 333.8 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.004747, allocations: 2.251 MB / 336.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.004772, allocations: 0 / 336.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.004795, allocations: 3.938 kB / 336.1 MB, free: 15.1 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.001473/0.006267, allocations: 0.5059 MB / 336.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.437e-06/0.006271, allocations: 0 / 336.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.787e-05/0.006309, allocations: 11.94 kB / 336.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.006345, allocations: 4 kB / 336.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.006375, allocations: 4 kB / 336.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.006416, allocations: 11.94 kB / 336.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.006424, allocations: 0 / 336.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005701/0.006994, allocations: 0.5187 MB / 337.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-06/0.007, allocations: 0 / 337.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.258e-05/0.007013, allocations: 4 kB / 337.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.007473, allocations: 0.4948 MB / 337.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.007478, allocations: 0 / 337.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.007479, allocations: 0 / 337.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.007483, allocations: 0 / 337.7 MB, free: 13.54 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.0002799/0.007763, allocations: 463.5 kB / 338.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.007793, allocations: 8.031 kB / 338.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.007824, allocations: 124.1 kB / 338.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.252e-05/0.007897, allocations: 235.8 kB / 338.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.007917, allocations: 238.8 kB / 338.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.007935, allocations: 246.8 kB / 338.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.32e-05/0.007968, allocations: 149.4 kB / 339.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.007982, allocations: 123.1 kB / 339.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.008, allocations: 238.4 kB / 339.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.008018, allocations: 242.4 kB / 339.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.008036, allocations: 238.4 kB / 339.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.008158, allocations: 0.553 MB / 340.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.008201, allocations: 277.3 kB / 340.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.234e-05/0.008214, allocations: 126.9 kB / 340.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.008222, allocations: 119.2 kB / 341 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.008241, allocations: 160.6 kB / 341.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.008242, allocations: 0 / 341.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.707e-05/0.008289, allocations: 29.66 kB / 341.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.008318, allocations: 178.5 kB / 341.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/0.008374, allocations: 157.9 kB / 341.5 MB, free: 9.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-06/0.008378, allocations: 25.7 kB / 341.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.717e-05/0.008395, allocations: 134.9 kB / 341.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-07/0.008395, allocations: 3.938 kB / 341.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.008408, allocations: 19.38 kB / 341.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.008444, allocations: 492.1 kB / 342.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-06/0.008447, allocations: 4 kB / 342.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-06/0.008451, allocations: 0 / 342.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.193e-05/0.008463, allocations: 119.2 kB / 342.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.008472, allocations: 119.2 kB / 342.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.258e-05/0.008505, allocations: 37.81 kB / 342.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.008521, allocations: 123.2 kB / 342.5 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.008535, allocations: 131.1 kB / 342.7 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.008558, allocations: 242.4 kB / 342.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-06/0.008567, allocations: 127.1 kB / 343 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.008584, allocations: 242.3 kB / 343.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.00862, allocations: 123.2 kB / 343.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.00863, allocations: 123.1 kB / 343.5 MB, free: 7.473 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.078e-05/0.008681, allocations: 398.9 kB / 343.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.008705, allocations: 148.9 kB / 344 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.008728, allocations: 160 kB / 344.2 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.008746, allocations: 264.1 kB / 344.5 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.008765, allocations: 272 kB / 344.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.008784, allocations: 272 kB / 345 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.345e-05/0.008868, allocations: 480.5 kB / 345.5 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.00888, allocations: 148.8 kB / 345.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.008892, allocations: 149.1 kB / 345.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2e-05/0.008912, allocations: 268.1 kB / 346 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.008933, allocations: 276 kB / 346.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.02e-05/0.008954, allocations: 272 kB / 346.5 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/0.008972, allocations: 268 kB / 346.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.795e-05/0.00903, allocations: 444 kB / 347.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.009049, allocations: 156.8 kB / 347.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.009074, allocations: 264.4 kB / 347.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/0.009107, allocations: 152.8 kB / 347.8 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.009132, allocations: 276.1 kB / 348.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.009144, allocations: 148.9 kB / 348.2 MB, free: 2.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.15e-05/0.009175, allocations: 131.1 kB / 348.3 MB, free: 2.441 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009175, allocations: 3.938 kB / 348.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003422/0.009518, allocations: 163.5 kB / 348.5 MB, free: 2.277 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.0008682/0.01039, allocations: 0.6763 MB / 349.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.667e-05/0.01042, allocations: 4 kB / 349.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01042, allocations: 3.938 kB / 349.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.01043, allocations: 0 / 349.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.01062, allocations: 0.71 MB / 349.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.01094, allocations: 224.1 kB / 350.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.038e-05/0.01096, allocations: 63.2 kB / 350.2 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.514e-06/0.01097, allocations: 0 / 350.2 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.01099, allocations: 70.2 kB / 350.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01099, allocations: 0 / 350.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of Templates: time 0.005162/0.01615, allocations: 4.146 MB / 354.4 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.876758307684213]