Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.0009548/0.0009548, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009636/0.0009636, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9183/0.9183, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.004021/0.004021, allocations: 0.7944 MB / 261.5 MB, free: 12.27 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.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 331.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.589e-05, allocations: 6.25 kB / 331.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001315/0.001331, allocations: 1.237 MB / 332.6 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.003293, allocations: 2.216 MB / 334.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.003314, allocations: 0 / 334.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.003336, allocations: 3.938 kB / 334.8 MB, free: 15.45 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/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001014/0.00435, allocations: 482.1 kB / 335.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.765e-06/0.004353, allocations: 0 / 335.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.564e-05/0.004389, allocations: 7.938 kB / 335.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.78e-05/0.004417, allocations: 8 kB / 335.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.00444, allocations: 3.938 kB / 335.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.004477, allocations: 4 kB / 335.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.004485, allocations: 0 / 335.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.005018, allocations: 0.4915 MB / 335.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-06/0.005024, allocations: 7.938 kB / 335.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.17e-05/0.005036, allocations: 0 / 335.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.005433, allocations: 470.8 kB / 336.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005435, allocations: 0 / 336.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005435, allocations: 0 / 336.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005439, allocations: 0 / 336.3 MB, free: 13.99 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.0002432/0.005682, allocations: 463.6 kB / 336.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.005718, allocations: 12.03 kB / 336.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.00575, allocations: 124.1 kB / 336.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.183e-05/0.005822, allocations: 227.8 kB / 337.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.005844, allocations: 238.8 kB / 337.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.005862, allocations: 238.8 kB / 337.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.574e-05/0.005898, allocations: 149.5 kB / 337.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.005911, allocations: 127.1 kB / 337.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.005931, allocations: 238.4 kB / 338 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.005954, allocations: 242.4 kB / 338.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.005982, allocations: 238.4 kB / 338.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.006111, allocations: 0.572 MB / 339.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.108e-05/0.006162, allocations: 269.4 kB / 339.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.006179, allocations: 130.8 kB / 339.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.00619, allocations: 119.2 kB / 339.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.006209, allocations: 156.6 kB / 339.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.00621, allocations: 0 / 339.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.362e-05/0.006254, allocations: 29.64 kB / 339.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.006278, allocations: 170.6 kB / 339.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.006339, allocations: 165.9 kB / 340.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-06/0.006342, allocations: 25.7 kB / 340.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/0.006366, allocations: 130.9 kB / 340.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-06/0.006367, allocations: 0 / 340.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.006379, allocations: 15.38 kB / 340.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.711e-05/0.006417, allocations: 0.4884 MB / 340.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-06/0.006421, allocations: 7.938 kB / 340.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-06/0.006423, allocations: 0 / 340.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.085e-05/0.006434, allocations: 123.2 kB / 340.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.006443, allocations: 119.2 kB / 341 MB, free: 9.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.891e-05/0.006472, allocations: 29.7 kB / 341 MB, free: 9.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.00649, allocations: 123.2 kB / 341.1 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.006501, allocations: 127.1 kB / 341.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.006531, allocations: 246.4 kB / 341.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.19e-05/0.006543, allocations: 123.2 kB / 341.6 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.006565, allocations: 258.2 kB / 341.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.006597, allocations: 119.2 kB / 342 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.006608, allocations: 127.1 kB / 342.1 MB, free: 7.902 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.512e-05/0.006653, allocations: 395 kB / 342.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.006677, allocations: 148.8 kB / 342.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.006702, allocations: 148 kB / 342.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.006723, allocations: 280.1 kB / 343.1 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/0.006743, allocations: 268.1 kB / 343.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.006764, allocations: 280 kB / 343.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.034e-05/0.006844, allocations: 491.9 kB / 344.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.006856, allocations: 148.9 kB / 344.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.006869, allocations: 148.8 kB / 344.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.463e-05/0.006893, allocations: 268.1 kB / 344.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.006915, allocations: 272 kB / 344.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.897e-05/0.006934, allocations: 264.1 kB / 345.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.061e-05/0.006955, allocations: 275.9 kB / 345.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.334e-05/0.007008, allocations: 444 kB / 345.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.007025, allocations: 148.8 kB / 346 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.007054, allocations: 272.1 kB / 346.3 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.007086, allocations: 152.8 kB / 346.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.007113, allocations: 272.3 kB / 346.7 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.007127, allocations: 144.9 kB / 346.8 MB, free: 2.988 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.647e-05/0.007154, allocations: 131.2 kB / 347 MB, free: 2.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007154, allocations: 4 kB / 347 MB, free: 2.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.00748, allocations: 147.5 kB / 347.1 MB, free: 2.711 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.0007066/0.008187, allocations: 0.6702 MB / 347.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.407e-05/0.008221, allocations: 4 kB / 347.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.008222, allocations: 0 / 347.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.008223, allocations: 0 / 347.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.008409, allocations: 0.7023 MB / 348.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001676/0.008577, allocations: 216.1 kB / 348.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.175e-05/0.008599, allocations: 63.2 kB / 348.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.67e-06/0.008604, allocations: 4 kB / 348.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.008619, allocations: 16.44 kB / 348.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.00862, allocations: 0 / 348.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of Templates: time 0.004307/0.01293, allocations: 3.242 MB / 352 MB, free: 13.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealParameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8114757356233895]