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.00076/0.00076, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008004/0.0008004, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8234/0.8234, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.003466/0.003466, allocations: 0.7868 MB / 260.7 MB, free: 12.47 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.253e-06/1.253e-06, allocations: 0 / 383.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.725e-05, allocations: 2.281 kB / 383.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001372/0.001389, allocations: 1.218 MB / 384.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.003309, allocations: 2.126 MB / 386.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.003326, allocations: 4 kB / 386.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.003343, allocations: 0 / 386.9 MB, free: 11.84 MB / 362.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.0007935/0.004136, allocations: 480.8 kB / 387.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.00414, allocations: 0 / 387.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.474e-05/0.004174, allocations: 15.92 kB / 387.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.004207, allocations: 4 kB / 387.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.454e-05/0.004231, allocations: 7.938 kB / 387.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.004287, allocations: 3.984 kB / 387.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.004294, allocations: 0 / 387.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.004793, allocations: 499.3 kB / 387.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-06/0.004799, allocations: 11.94 kB / 387.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.038e-05/0.004809, allocations: 0 / 387.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.00521, allocations: 470.9 kB / 388.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005212, allocations: 0 / 388.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005213, allocations: 0 / 388.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.005217, allocations: 3.938 kB / 388.3 MB, free: 10.37 MB / 362.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.000277/0.005494, allocations: 345.4 kB / 388.7 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.005528, allocations: 12.03 kB / 388.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.005565, allocations: 76.22 kB / 388.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.954e-05/0.005665, allocations: 185 kB / 388.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.0057, allocations: 154.9 kB / 389.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.005729, allocations: 154.9 kB / 389.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.177e-05/0.005781, allocations: 109.5 kB / 389.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.005804, allocations: 79.22 kB / 389.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.005837, allocations: 154.5 kB / 389.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.005869, allocations: 154.5 kB / 389.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.005902, allocations: 150.6 kB / 389.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.006074, allocations: 397.6 kB / 390.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.857e-05/0.006132, allocations: 173.1 kB / 390.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.006153, allocations: 80.14 kB / 390.5 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.006172, allocations: 75.28 kB / 390.6 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.006438, allocations: 117.8 kB / 390.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.006438, allocations: 0 / 390.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.602e-05/0.006494, allocations: 37.58 kB / 390.7 MB, free: 7.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.006535, allocations: 130.7 kB / 390.9 MB, free: 7.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.006611, allocations: 101.8 kB / 391 MB, free: 7.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.006618, allocations: 25.7 kB / 391 MB, free: 7.559 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.006643, allocations: 84.14 kB / 391.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/0.006644, allocations: 0 / 391.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/0.006662, allocations: 17.75 kB / 391.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.00673, allocations: 314.8 kB / 391.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-06/0.006734, allocations: 0 / 391.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-06/0.006737, allocations: 4 kB / 391.4 MB, free: 7.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.762e-05/0.006755, allocations: 75.28 kB / 391.5 MB, free: 7.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.00677, allocations: 79.22 kB / 391.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.108e-05/0.006801, allocations: 29.7 kB / 391.6 MB, free: 6.941 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.006824, allocations: 79.28 kB / 391.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.006842, allocations: 83.22 kB / 391.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.878e-05/0.00688, allocations: 158.5 kB / 391.9 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.687e-05/0.006897, allocations: 79.27 kB / 392 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/0.006927, allocations: 158.5 kB / 392.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.006967, allocations: 75.28 kB / 392.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.006983, allocations: 83.22 kB / 392.3 MB, free: 6.234 MB / 362.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 7.208e-05/0.007055, allocations: 260.4 kB / 392.5 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.007086, allocations: 101 kB / 392.6 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.007118, allocations: 120.1 kB / 392.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/0.007154, allocations: 180.2 kB / 392.9 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.61e-05/0.00719, allocations: 176.3 kB / 393.1 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-05/0.007227, allocations: 184.2 kB / 393.3 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.007343, allocations: 357.1 kB / 393.6 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/0.007366, allocations: 108.9 kB / 393.7 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.007392, allocations: 105 kB / 393.8 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.835e-05/0.00743, allocations: 184.3 kB / 394 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.007471, allocations: 184.2 kB / 394.2 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-05/0.007507, allocations: 180.2 kB / 394.4 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.791e-05/0.007545, allocations: 188.1 kB / 394.6 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.142e-05/0.007626, allocations: 299.8 kB / 394.8 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.007653, allocations: 112.8 kB / 395 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.007697, allocations: 180.3 kB / 395.1 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.007741, allocations: 108.9 kB / 395.2 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.00778, allocations: 180.2 kB / 395.4 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.007801, allocations: 105 kB / 395.5 MB, free: 2.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.014e-05/0.007831, allocations: 83.27 kB / 395.6 MB, free: 2.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007831, allocations: 7.938 kB / 395.6 MB, free: 2.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000306/0.008137, allocations: 151.5 kB / 395.8 MB, free: 2.566 MB / 362.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.0006828/0.00882, allocations: 0.6075 MB / 396.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.183e-05/0.008852, allocations: 0 / 396.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008853, allocations: 0 / 396.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.008854, allocations: 4 kB / 396.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.009082, allocations: 463.1 kB / 396.8 MB, free: 1.562 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001871/0.009269, allocations: 182 kB / 397 MB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.493e-05/0.009304, allocations: 63.28 kB / 397.1 MB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.009318, allocations: 12.5 kB / 397.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.009318, allocations: 0 / 397.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of Templates: time 0.003565/0.01288, allocations: 3.434 MB / 400.5 MB, free: 13.81 MB / 378.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=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.565247192978859] Failed to read output from testmodel.py, exit status != 0: 0.01786796934902668 0.025587674 0.018810433 Calling exit ...