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.001026/0.001026, allocations: 83.59 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.001921/0.001921, allocations: 165 kB / 23.82 MB, free: 0.7422 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.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 5.176 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.004118/0.004118, allocations: 0.8062 MB / 261.5 MB, free: 12.11 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.403e-06/1.403e-06, allocations: 0 / 331.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.626e-05, allocations: 2.312 kB / 331.3 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001707/0.001733, allocations: 1.25 MB / 332.6 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.0044, allocations: 2.259 MB / 334.9 MB, free: 452 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.004422, allocations: 3.938 kB / 334.9 MB, free: 448 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.004443, allocations: 4 kB / 334.9 MB, free: 444 kB / 298.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.001229/0.005672, allocations: 0.5098 MB / 335.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.005675, allocations: 0 / 335.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.005715, allocations: 15.92 kB / 335.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.005747, allocations: 0 / 335.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.005772, allocations: 4 kB / 335.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.005817, allocations: 11.88 kB / 335.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-06/0.005824, allocations: 0 / 335.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007309/0.006555, allocations: 0.5226 MB / 335.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-06/0.006562, allocations: 0 / 335.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.006576, allocations: 0 / 335.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.007179, allocations: 0.4987 MB / 336.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.007183, allocations: 4 kB / 336.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.007185, allocations: 0 / 336.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.007189, allocations: 0 / 336.4 MB, free: 14.86 MB / 314.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.0003547/0.007543, allocations: 459.6 kB / 336.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.007579, allocations: 8.031 kB / 336.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.007633, allocations: 124.1 kB / 337 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.007748, allocations: 231.8 kB / 337.2 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.007802, allocations: 242.8 kB / 337.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.007855, allocations: 238.8 kB / 337.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.148e-05/0.007916, allocations: 153.4 kB / 337.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.007945, allocations: 131.1 kB / 338 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.007998, allocations: 238.4 kB / 338.2 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.008052, allocations: 238.4 kB / 338.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/0.008104, allocations: 238.4 kB / 338.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.008334, allocations: 0.5681 MB / 339.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.00842, allocations: 273.3 kB / 339.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.008456, allocations: 126.9 kB / 339.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.008483, allocations: 119.2 kB / 339.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.008526, allocations: 156.6 kB / 339.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.008527, allocations: 4 kB / 339.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.618e-05/0.008583, allocations: 33.64 kB / 339.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.008636, allocations: 178.5 kB / 340.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.008732, allocations: 165.9 kB / 340.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.008741, allocations: 25.7 kB / 340.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.008777, allocations: 130.9 kB / 340.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-06/0.008779, allocations: 0 / 340.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.008797, allocations: 19.38 kB / 340.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.00891, allocations: 492.1 kB / 340.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-06/0.008914, allocations: 0 / 340.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.008918, allocations: 0 / 340.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.008951, allocations: 123.2 kB / 341.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-05/0.008978, allocations: 123.2 kB / 341.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.463e-05/0.009023, allocations: 33.81 kB / 341.2 MB, free: 9.867 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.009061, allocations: 134 kB / 341.3 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.009091, allocations: 127.1 kB / 341.5 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.668e-05/0.009157, allocations: 246.3 kB / 341.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.112e-05/0.009188, allocations: 127.1 kB / 341.8 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002581/0.009446, allocations: 238.4 kB / 342.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.009501, allocations: 119.2 kB / 342.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.009529, allocations: 127.1 kB / 342.3 MB, free: 8.77 MB / 314.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 0.0001052/0.009634, allocations: 398.9 kB / 342.7 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.009683, allocations: 148.9 kB / 342.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.009731, allocations: 159.8 kB / 343 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.484e-05/0.009786, allocations: 268 kB / 343.3 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.732e-05/0.009843, allocations: 268.1 kB / 343.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.268e-05/0.009896, allocations: 272 kB / 343.8 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.01005, allocations: 495.9 kB / 344.3 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/0.01008, allocations: 148.8 kB / 344.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.01012, allocations: 148.9 kB / 344.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.807e-05/0.01017, allocations: 272 kB / 344.8 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/0.01024, allocations: 268.1 kB / 345.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.766e-05/0.01029, allocations: 268 kB / 345.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.566e-05/0.01035, allocations: 280 kB / 345.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.01051, allocations: 447.9 kB / 346.1 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.01057, allocations: 156.9 kB / 346.2 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.01064, allocations: 264.4 kB / 346.5 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.0107, allocations: 152.8 kB / 346.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.01076, allocations: 276 kB / 346.9 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.01079, allocations: 148.8 kB / 347 MB, free: 3.836 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.619e-05/0.01083, allocations: 131.4 kB / 347.2 MB, free: 3.707 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01083, allocations: 0 / 347.2 MB, free: 3.707 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003975/0.01123, allocations: 159.5 kB / 347.3 MB, free: 3.551 MB / 314.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.0009259/0.01216, allocations: 0.6822 MB / 348 MB, free: 2.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.99e-05/0.0122, allocations: 4 kB / 348 MB, free: 2.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0122, allocations: 3.938 kB / 348 MB, free: 2.938 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.0122, allocations: 4 kB / 348 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.01248, allocations: 0.7023 MB / 348.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.0129, allocations: 230.1 kB / 348.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.098e-05/0.01293, allocations: 55.36 kB / 349 MB, free: 1.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.544e-06/0.01294, allocations: 0 / 349 MB, free: 1.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.01296, allocations: 12.5 kB / 349 MB, free: 1.887 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01296, allocations: 0 / 349 MB, free: 1.887 MB / 314.7 MB Notification: Performance of Templates: time 0.005022/0.01798, allocations: 3.45 MB / 352.5 MB, free: 14.44 MB / 330.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.9644944109022617]