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.0008913/0.0008913, allocations: 79.73 kB / 20.75 MB, free: 3.742 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.0009069/0.0009069, allocations: 169 kB / 24.17 MB, free: 332 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.8674/0.8674, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.003919/0.003919, allocations: 0.8033 MB / 261.9 MB, free: 12.14 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.132e-06/1.132e-06, allocations: 0 / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.488e-06/1.062e-05, allocations: 5.266 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001294/0.001304, allocations: 1.266 MB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.003272, allocations: 2.271 MB / 282.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.003289, allocations: 0 / 282.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.003303, allocations: 7.938 kB / 282.1 MB, free: 7.895 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.001116/0.004419, allocations: 0.5098 MB / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.044e-06/0.004421, allocations: 0 / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 2.838e-05/0.004449, allocations: 11.92 kB / 282.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.808e-05/0.004478, allocations: 4 kB / 282.6 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.368e-05/0.004501, allocations: 8 kB / 282.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.004533, allocations: 3.938 kB / 282.6 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-06/0.004539, allocations: 4 kB / 282.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.005055, allocations: 0.5187 MB / 283.2 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-06/0.00506, allocations: 4 kB / 283.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.546e-06/0.005069, allocations: 4 kB / 283.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.005491, allocations: 0.4987 MB / 283.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.005492, allocations: 0 / 283.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.005492, allocations: 0 / 283.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.005495, allocations: 0 / 283.7 MB, free: 6.324 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.0002412/0.005736, allocations: 327.9 kB / 284 MB, free: 5.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.615e-05/0.005763, allocations: 12.03 kB / 284 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.005791, allocations: 76.22 kB / 284.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.005866, allocations: 189 kB / 284.3 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.005898, allocations: 154.9 kB / 284.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.005929, allocations: 158.9 kB / 284.6 MB, free: 5.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.777e-05/0.005967, allocations: 105.5 kB / 284.7 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.005984, allocations: 79.22 kB / 284.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.006013, allocations: 150.6 kB / 284.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.006043, allocations: 154.5 kB / 285 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.036e-05/0.006073, allocations: 154.6 kB / 285.2 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.006197, allocations: 353.3 kB / 285.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.186e-05/0.006249, allocations: 177 kB / 285.7 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.006267, allocations: 80.14 kB / 285.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.006282, allocations: 75.28 kB / 285.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.006312, allocations: 113.8 kB / 286 MB, free: 3.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.21e-07/0.006312, allocations: 0 / 286 MB, free: 3.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 3.588e-05/0.006348, allocations: 29.69 kB / 286 MB, free: 3.879 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.006387, allocations: 130.6 kB / 286.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.006447, allocations: 106.7 kB / 286.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.006453, allocations: 29.64 kB / 286.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.00647, allocations: 84.14 kB / 286.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-07/0.00647, allocations: 4 kB / 286.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.006485, allocations: 13.7 kB / 286.4 MB, free: 3.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.006548, allocations: 310.8 kB / 286.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-06/0.00655, allocations: 256 / 286.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.006553, allocations: 8 kB / 286.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.633e-05/0.006569, allocations: 79.28 kB / 286.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.006583, allocations: 75.28 kB / 286.8 MB, free: 3.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.932e-05/0.006613, allocations: 29.7 kB / 286.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.006633, allocations: 79.28 kB / 286.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.006648, allocations: 79.22 kB / 287 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.485e-05/0.006683, allocations: 158.5 kB / 287.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.66e-05/0.0067, allocations: 75.28 kB / 287.2 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.911e-05/0.006729, allocations: 158.4 kB / 287.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.006765, allocations: 75.33 kB / 287.5 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.006783, allocations: 95.2 kB / 287.6 MB, free: 2.258 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 6.45e-05/0.006847, allocations: 260.4 kB / 287.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.006877, allocations: 105 kB / 287.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.006906, allocations: 112.1 kB / 288 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-05/0.006938, allocations: 176.3 kB / 288.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-05/0.006974, allocations: 184.4 kB / 288.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-05/0.00701, allocations: 184.2 kB / 288.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.007117, allocations: 321.5 kB / 288.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.00714, allocations: 108.9 kB / 289 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.007161, allocations: 105 kB / 289.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.468e-05/0.007196, allocations: 180.3 kB / 289.3 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.007234, allocations: 180.2 kB / 289.4 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.469e-05/0.007269, allocations: 188.2 kB / 289.6 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09301/0.1003, allocations: 178.9 kB / 289.8 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.888e-05/0.1003, allocations: 304.1 kB / 290.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.1003, allocations: 106.2 kB / 290.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1004, allocations: 182.8 kB / 290.4 MB, free: 24.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.1004, allocations: 107.4 kB / 290.5 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.1004, allocations: 181.7 kB / 290.6 MB, free: 24.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1004, allocations: 110 kB / 290.8 MB, free: 23.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.961e-05/0.1004, allocations: 8.016 kB / 290.8 MB, free: 23.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1004, allocations: 0.5312 kB / 290.8 MB, free: 23.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.1008, allocations: 157.9 kB / 290.9 MB, free: 23.97 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.0008427/0.1017, allocations: 0.6784 MB / 291.6 MB, free: 23.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.653e-05/0.1017, allocations: 5.719 kB / 291.6 MB, free: 23.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1017, allocations: 0.9688 kB / 291.6 MB, free: 23.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1017, allocations: 4.75 kB / 291.6 MB, free: 23.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.1018, allocations: 457.2 kB / 292.1 MB, free: 23.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.1021, allocations: 180.7 kB / 292.2 MB, free: 23.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.72e-05/0.1021, allocations: 54.03 kB / 292.3 MB, free: 23.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.635e-06/0.1021, allocations: 4.938 kB / 292.3 MB, free: 23.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.1021, allocations: 52.36 kB / 292.3 MB, free: 23.09 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1021, allocations: 3.281 kB / 292.3 MB, free: 23.09 MB / 266.7 MB Notification: Performance of Templates: time 0.005858/0.108, allocations: 4.127 MB / 296.5 MB, free: 22.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=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.618406841997057]