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.001448/0.001448, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001559/0.001559, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.009353/0.009353, allocations: 0.8011 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.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: 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.002332/0.002332, allocations: 68.19 kB / 383.3 MB, free: 4.996 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.1093/0.1116, allocations: 53.55 MB / 436.8 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002543/0.1142, allocations: 1.218 MB / 438 MB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.118, allocations: 2.123 MB / 440.2 MB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.118, allocations: 0 / 440.2 MB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.118, allocations: 3.938 kB / 440.2 MB, free: 11.98 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/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.001392/0.1194, allocations: 470.5 kB / 440.6 MB, free: 11.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.1194, allocations: 4 kB / 440.6 MB, free: 11.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.65e-05/0.1194, allocations: 15.94 kB / 440.6 MB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.1195, allocations: 0 / 440.6 MB, free: 11.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.1195, allocations: 7.969 kB / 440.7 MB, free: 11.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.1196, allocations: 7.938 kB / 440.7 MB, free: 11.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.735e-06/0.1196, allocations: 0 / 440.7 MB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008633/0.1204, allocations: 499.5 kB / 441.1 MB, free: 10.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.1205, allocations: 0 / 441.1 MB, free: 10.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.1205, allocations: 0 / 441.1 MB, free: 10.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005918/0.1211, allocations: 387 kB / 441.5 MB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1211, allocations: 4 kB / 441.5 MB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1211, allocations: 0 / 441.5 MB, free: 10.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1211, allocations: 0 / 441.5 MB, free: 10.61 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.0004702/0.1215, allocations: 349.3 kB / 441.9 MB, free: 10.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1216, allocations: 8.031 kB / 441.9 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.1217, allocations: 84.22 kB / 442 MB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.1218, allocations: 193.8 kB / 442.2 MB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.1219, allocations: 150.9 kB / 442.3 MB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.122, allocations: 154.7 kB / 442.5 MB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.946e-05/0.1221, allocations: 104.9 kB / 442.6 MB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.566e-05/0.1221, allocations: 75.28 kB / 442.6 MB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.1222, allocations: 158.6 kB / 442.8 MB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.736e-05/0.1223, allocations: 150.6 kB / 442.9 MB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.1224, allocations: 154.6 kB / 443.1 MB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1227, allocations: 401.6 kB / 443.5 MB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1228, allocations: 173.1 kB / 443.6 MB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.1229, allocations: 84.14 kB / 443.7 MB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.1229, allocations: 75.28 kB / 443.8 MB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.984e-05/0.123, allocations: 109.8 kB / 443.9 MB, free: 8.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.123, allocations: 3.938 kB / 443.9 MB, free: 8.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.84e-05/0.1231, allocations: 29.7 kB / 443.9 MB, free: 8.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.1232, allocations: 130.7 kB / 444.1 MB, free: 7.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1233, allocations: 105.8 kB / 444.2 MB, free: 7.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1233, allocations: 29.7 kB / 444.2 MB, free: 7.785 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.1234, allocations: 84.12 kB / 444.3 MB, free: 7.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.1234, allocations: 0 / 444.3 MB, free: 7.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.1234, allocations: 13.66 kB / 444.3 MB, free: 7.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1235, allocations: 318.8 kB / 444.6 MB, free: 7.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.1235, allocations: 0 / 444.6 MB, free: 7.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-06/0.1235, allocations: 0 / 444.6 MB, free: 7.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/0.1236, allocations: 83.27 kB / 444.7 MB, free: 7.277 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.393e-05/0.1236, allocations: 75.28 kB / 444.8 MB, free: 7.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.673e-05/0.1237, allocations: 37.64 kB / 444.8 MB, free: 7.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.1237, allocations: 79.28 kB / 444.9 MB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-05/0.1238, allocations: 79.22 kB / 444.9 MB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-05/0.1239, allocations: 154.6 kB / 445.1 MB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.263e-05/0.1239, allocations: 75.28 kB / 445.2 MB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.259e-05/0.124, allocations: 154.5 kB / 445.3 MB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1241, allocations: 83.28 kB / 445.4 MB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.1241, allocations: 83.2 kB / 445.5 MB, free: 6.461 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.0001462/0.1243, allocations: 256.4 kB / 445.7 MB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.1243, allocations: 108.9 kB / 445.8 MB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.1244, allocations: 112.1 kB / 446 MB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.934e-05/0.1245, allocations: 180.3 kB / 446.1 MB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.115e-05/0.1246, allocations: 184.3 kB / 446.3 MB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.947e-05/0.1247, allocations: 184.2 kB / 446.5 MB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.1249, allocations: 348.9 kB / 446.8 MB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.278e-05/0.125, allocations: 112.9 kB / 446.9 MB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.125, allocations: 105.3 kB / 447 MB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.935e-05/0.1251, allocations: 180.2 kB / 447.2 MB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-05/0.1252, allocations: 180.2 kB / 447.4 MB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.522e-05/0.1253, allocations: 184.3 kB / 447.6 MB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001343/0.1254, allocations: 184.2 kB / 447.8 MB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.1256, allocations: 303.8 kB / 448.1 MB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1257, allocations: 108.9 kB / 448.2 MB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.1258, allocations: 184.1 kB / 448.3 MB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1259, allocations: 109.1 kB / 448.4 MB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.126, allocations: 184.3 kB / 448.6 MB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.1261, allocations: 105 kB / 448.7 MB, free: 3.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.1261, allocations: 79.28 kB / 448.8 MB, free: 2.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1261, allocations: 3.938 kB / 448.8 MB, free: 2.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005902/0.1267, allocations: 155.5 kB / 449 MB, free: 2.797 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.001227/0.1279, allocations: 0.5665 MB / 449.5 MB, free: 2.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.512e-05/0.128, allocations: 4 kB / 449.5 MB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.128, allocations: 0 / 449.5 MB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.128, allocations: 0 / 449.5 MB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1284, allocations: 462.7 kB / 450 MB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.1286, allocations: 172.7 kB / 450.2 MB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.641e-05/0.1287, allocations: 63.28 kB / 450.2 MB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.024e-05/0.1287, allocations: 3.984 kB / 450.2 MB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.1287, allocations: 16.44 kB / 450.2 MB, free: 1.543 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1287, allocations: 0 / 450.2 MB, free: 1.543 MB / 414.1 MB Notification: Performance of Templates: time 0.00733/0.1361, allocations: 3.166 MB / 453.4 MB, free: 14.38 MB / 430.1 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 -s ida -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.699877626961097] Failed to read output from testmodel.py, exit status != 0: 0.1452482750173658 0.16017386499999994 0.035986312999999936 Calling exit ...