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.001683/0.001683, allocations: 81.78 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002041/0.002041, allocations: 157.7 kB / 23.01 MB, free: 4.961 MB / 14.72 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.552/1.552, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.00732/0.00732, allocations: 0.7951 MB / 260.6 MB, free: 15.86 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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: KeyWordIO requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 67.91 kB / 383.3 MB, free: 5.004 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1137, allocations: 53.55 MB / 436.8 MB, free: 15.35 MB / 414.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.003462/0.1171, allocations: 1.234 MB / 438.1 MB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.1217, allocations: 2.172 MB / 440.2 MB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.1217, allocations: 3.938 kB / 440.2 MB, free: 11.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.1218, allocations: 3.938 kB / 440.2 MB, free: 11.92 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.001735/0.1235, allocations: 0.5062 MB / 440.7 MB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.759e-06/0.1235, allocations: 4 kB / 440.7 MB, free: 11.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.1236, allocations: 7.938 kB / 440.7 MB, free: 11.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.1236, allocations: 4 kB / 440.8 MB, free: 11.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.801e-05/0.1236, allocations: 4 kB / 440.8 MB, free: 11.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.1237, allocations: 19.78 kB / 440.8 MB, free: 11.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.046e-06/0.1237, allocations: 0 / 440.8 MB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.1249, allocations: 0.5111 MB / 441.3 MB, free: 10.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.1249, allocations: 0 / 441.3 MB, free: 10.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.125, allocations: 7.938 kB / 441.3 MB, free: 10.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009475/0.1259, allocations: 399.1 kB / 441.7 MB, free: 10.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1259, allocations: 0 / 441.7 MB, free: 10.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1259, allocations: 4 kB / 441.7 MB, free: 10.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1259, allocations: 4 kB / 441.7 MB, free: 10.46 MB / 414.1 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.000703/0.1266, allocations: 365.2 kB / 442 MB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.1267, allocations: 8.031 kB / 442.1 MB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.1268, allocations: 84.16 kB / 442.1 MB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.127, allocations: 189.8 kB / 442.3 MB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.1271, allocations: 150.9 kB / 442.5 MB, free: 9.625 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.1272, allocations: 154.7 kB / 442.6 MB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.1272, allocations: 105 kB / 442.7 MB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/0.1273, allocations: 75.28 kB / 442.8 MB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.1274, allocations: 158.5 kB / 443 MB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.585e-05/0.1275, allocations: 150.6 kB / 443.1 MB, free: 8.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/0.1275, allocations: 154.5 kB / 443.3 MB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.1278, allocations: 397.6 kB / 443.6 MB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.128, allocations: 173.1 kB / 443.8 MB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.128, allocations: 84.14 kB / 443.9 MB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.1281, allocations: 75.28 kB / 444 MB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.1281, allocations: 113.8 kB / 444.1 MB, free: 7.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.1281, allocations: 0 / 444.1 MB, free: 7.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.729e-05/0.1282, allocations: 33.62 kB / 444.1 MB, free: 7.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/0.1283, allocations: 130.7 kB / 444.2 MB, free: 7.773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1284, allocations: 105.9 kB / 444.3 MB, free: 7.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1285, allocations: 25.7 kB / 444.4 MB, free: 7.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.1285, allocations: 88.12 kB / 444.4 MB, free: 7.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.1285, allocations: 0 / 444.4 MB, free: 7.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.1285, allocations: 17.66 kB / 444.5 MB, free: 7.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1287, allocations: 310.8 kB / 444.8 MB, free: 7.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-06/0.1287, allocations: 0 / 444.8 MB, free: 7.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.1287, allocations: 4 kB / 444.8 MB, free: 7.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.1287, allocations: 75.28 kB / 444.8 MB, free: 7.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.558e-05/0.1288, allocations: 75.28 kB / 444.9 MB, free: 7.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.242e-05/0.1288, allocations: 41.58 kB / 445 MB, free: 7.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.1289, allocations: 83.22 kB / 445 MB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/0.1289, allocations: 79.27 kB / 445.1 MB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.494e-05/0.129, allocations: 158.5 kB / 445.3 MB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.1291, allocations: 75.28 kB / 445.3 MB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.796e-05/0.1291, allocations: 154.6 kB / 445.5 MB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.1292, allocations: 79.22 kB / 445.6 MB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.1293, allocations: 79.28 kB / 445.7 MB, free: 6.305 MB / 414.1 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.0001524/0.1294, allocations: 256.4 kB / 445.9 MB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.1295, allocations: 124.8 kB / 446 MB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.1296, allocations: 112.1 kB / 446.1 MB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/0.1297, allocations: 180.3 kB / 446.3 MB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.957e-05/0.1298, allocations: 180.2 kB / 446.5 MB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.26e-05/0.1299, allocations: 176.3 kB / 446.7 MB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.1301, allocations: 360.8 kB / 447 MB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/0.1302, allocations: 101.3 kB / 447.1 MB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.1302, allocations: 105 kB / 447.2 MB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.57e-05/0.1303, allocations: 188.1 kB / 447.4 MB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.863e-05/0.1304, allocations: 180.3 kB / 447.6 MB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001045/0.1305, allocations: 184.2 kB / 447.8 MB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.026e-05/0.1306, allocations: 180.3 kB / 447.9 MB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.1308, allocations: 307.8 kB / 448.2 MB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.1309, allocations: 105 kB / 448.3 MB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.131, allocations: 188.1 kB / 448.5 MB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.1311, allocations: 109 kB / 448.6 MB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.1312, allocations: 180.2 kB / 448.8 MB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.1313, allocations: 105 kB / 448.9 MB, free: 2.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.292e-05/0.1313, allocations: 91.53 kB / 449 MB, free: 2.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1313, allocations: 0 / 449 MB, free: 2.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006841/0.132, allocations: 155.4 kB / 449.1 MB, free: 2.625 MB / 414.1 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.001484/0.1335, allocations: 0.5993 MB / 449.7 MB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.029e-05/0.1335, allocations: 4 kB / 449.7 MB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1335, allocations: 0 / 449.7 MB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.047e-06/0.1335, allocations: 3.938 kB / 449.7 MB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.134, allocations: 459.5 kB / 450.2 MB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.1343, allocations: 181.4 kB / 450.4 MB, free: 1.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.1344, allocations: 59.34 kB / 450.4 MB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.848e-06/0.1344, allocations: 0 / 450.4 MB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.1344, allocations: 16.48 kB / 450.4 MB, free: 1.344 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1344, allocations: 0 / 450.4 MB, free: 1.344 MB / 414.1 MB Notification: Performance of Templates: time 0.008054/0.1425, allocations: 3.365 MB / 453.8 MB, free: 13.98 MB / 430.1 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=480 -s ida -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.67933507997077] Failed to read output from testmodel.py, exit status != 0: 0.1509553159121424 0.16920890700000002 0.03920539 Calling exit ...