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.0009545/0.0009545, allocations: 75.73 kB / 20.97 MB, free: 3.578 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.001013/0.001013, allocations: 169 kB / 24.28 MB, free: 280 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.946/0.946, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.00392/0.00392, allocations: 0.8046 MB / 261.9 MB, free: 12.3 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 2.285e-06/2.285e-06, allocations: 7.938 kB / 331.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.16e-05, allocations: 8.219 kB / 331.4 MB, free: 19.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001533/0.001565, allocations: 1.227 MB / 332.6 MB, free: 18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.003345, allocations: 2.205 MB / 334.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.003369, allocations: 0 / 334.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.003386, allocations: 3.938 kB / 334.8 MB, free: 15.78 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.0007515/0.004137, allocations: 486.1 kB / 335.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.434e-06/0.00414, allocations: 0 / 335.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.792e-05/0.004178, allocations: 11.94 kB / 335.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.149e-05/0.004209, allocations: 4 kB / 335.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.004234, allocations: 3.938 kB / 335.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.004271, allocations: 4 kB / 335.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.004278, allocations: 0 / 335.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.004718, allocations: 0.4914 MB / 335.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-06/0.004723, allocations: 4 kB / 335.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.176e-05/0.004735, allocations: 3.984 kB / 335.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.005081, allocations: 474.7 kB / 336.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005083, allocations: 0 / 336.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005084, allocations: 4 kB / 336.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.005088, allocations: 0 / 336.3 MB, free: 14.31 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.0002693/0.005357, allocations: 451.6 kB / 336.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.005388, allocations: 8.031 kB / 336.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.005422, allocations: 128.1 kB / 336.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.005505, allocations: 227.8 kB / 337.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.005526, allocations: 238.8 kB / 337.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.005543, allocations: 238.8 kB / 337.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.783e-05/0.005581, allocations: 145.5 kB / 337.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.005594, allocations: 127.1 kB / 337.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.005614, allocations: 242.4 kB / 338 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.005636, allocations: 242.4 kB / 338.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.889e-05/0.005655, allocations: 242.4 kB / 338.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.005782, allocations: 0.5681 MB / 339.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.245e-05/0.005825, allocations: 265.4 kB / 339.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.005842, allocations: 134.8 kB / 339.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.005852, allocations: 123.2 kB / 339.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.005872, allocations: 156.6 kB / 339.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.005872, allocations: 0 / 339.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.203e-05/0.005924, allocations: 33.64 kB / 339.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.005951, allocations: 174.6 kB / 339.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.00602, allocations: 161.9 kB / 340.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-06/0.006024, allocations: 25.7 kB / 340.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.006042, allocations: 130.9 kB / 340.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.006045, allocations: 0 / 340.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.006058, allocations: 19.31 kB / 340.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.006101, allocations: 0.4884 MB / 340.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-06/0.006106, allocations: 3.938 kB / 340.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-06/0.00611, allocations: 0 / 340.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.134e-05/0.006121, allocations: 119.2 kB / 340.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.006131, allocations: 119.2 kB / 341 MB, free: 9.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.599e-05/0.006157, allocations: 33.7 kB / 341 MB, free: 9.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.006176, allocations: 127.2 kB / 341.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.006187, allocations: 123.1 kB / 341.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.006215, allocations: 246.3 kB / 341.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.083e-05/0.006226, allocations: 131.3 kB / 341.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.006244, allocations: 242.3 kB / 341.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.006276, allocations: 123.2 kB / 342 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.006286, allocations: 123.1 kB / 342.1 MB, free: 8.234 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.503e-05/0.006331, allocations: 395 kB / 342.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.006353, allocations: 152.8 kB / 342.6 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.006376, allocations: 152 kB / 342.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.006396, allocations: 280 kB / 343.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.006417, allocations: 264.1 kB / 343.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.006436, allocations: 268 kB / 343.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.752e-05/0.006513, allocations: 499.9 kB / 344.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.006524, allocations: 144.9 kB / 344.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.006536, allocations: 152.8 kB / 344.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.76e-05/0.006554, allocations: 264.1 kB / 344.6 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.006577, allocations: 272 kB / 344.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/0.006595, allocations: 272.1 kB / 345.2 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-05/0.006615, allocations: 272 kB / 345.4 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.298e-05/0.006668, allocations: 436 kB / 345.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.006685, allocations: 164.8 kB / 346 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.006712, allocations: 264.1 kB / 346.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.006743, allocations: 148.8 kB / 346.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.006768, allocations: 276.3 kB / 346.7 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.006779, allocations: 144.9 kB / 346.8 MB, free: 3.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.288e-05/0.006802, allocations: 131.2 kB / 346.9 MB, free: 3.191 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006802, allocations: 0 / 346.9 MB, free: 3.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.007087, allocations: 151.5 kB / 347.1 MB, free: 3.043 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.0007239/0.007811, allocations: 0.6741 MB / 347.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.952e-05/0.007851, allocations: 0 / 347.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.007852, allocations: 0 / 347.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.007853, allocations: 0 / 347.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.008037, allocations: 0.7062 MB / 348.5 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.008218, allocations: 212.1 kB / 348.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.053e-05/0.008239, allocations: 63.2 kB / 348.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.354e-06/0.008246, allocations: 4 kB / 348.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.387e-05/0.00826, allocations: 16.44 kB / 348.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.00826, allocations: 0 / 348.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of Templates: time 0.004204/0.01246, allocations: 3.244 MB / 352 MB, free: 14.14 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.688535940134898]