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.001294/0.001294, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001505/0.001505, allocations: 213.3 kB / 23.01 MB, free: 4.566 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.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.00986/0.00986, allocations: 1.012 MB / 314.2 MB, free: 2.141 MB / 238.1 MB " [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.001964/0.001964, allocations: 67.91 kB / 437 MB, free: 16.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.0877, allocations: 53.57 MB / 490.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002208/0.08991, allocations: 1.219 MB / 491.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.09334, allocations: 2.24 MB / 494 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.09336, allocations: 0 / 494 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.09339, allocations: 3.984 kB / 494 MB, free: 7.027 MB / 350.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.001187/0.09457, allocations: 474.1 kB / 494.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.09458, allocations: 0 / 494.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.874e-05/0.09462, allocations: 15.86 kB / 494.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.09466, allocations: 4 kB / 494.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.442e-05/0.09467, allocations: 4 kB / 494.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.09504, allocations: 7.984 kB / 494.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.874e-06/0.09505, allocations: 4 kB / 494.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008005/0.09585, allocations: 0.5268 MB / 495 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.09586, allocations: 7.875 kB / 495 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.09587, allocations: 3.984 kB / 495.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005442/0.09642, allocations: 387 kB / 495.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09642, allocations: 0 / 495.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09642, allocations: 3.938 kB / 495.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.09643, allocations: 0 / 495.4 MB, free: 5.609 MB / 350.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.0004194/0.09685, allocations: 349.4 kB / 495.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.09688, allocations: 12.03 kB / 495.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.09694, allocations: 80.22 kB / 495.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.09709, allocations: 189.8 kB / 496 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.09716, allocations: 150.9 kB / 496.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.09722, allocations: 158.7 kB / 496.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.843e-05/0.09729, allocations: 108.9 kB / 496.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.09732, allocations: 75.28 kB / 496.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.09739, allocations: 150.6 kB / 496.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.646e-05/0.09744, allocations: 150.6 kB / 496.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.09751, allocations: 158.6 kB / 497 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.09779, allocations: 413 kB / 497.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.09789, allocations: 181.1 kB / 497.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.09793, allocations: 84.08 kB / 497.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.09797, allocations: 75.28 kB / 497.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.09802, allocations: 105.8 kB / 497.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.09802, allocations: 4 kB / 497.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.727e-05/0.09809, allocations: 29.66 kB / 497.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.09815, allocations: 134.6 kB / 498 MB, free: 2.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.09825, allocations: 101.8 kB / 498.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.09826, allocations: 25.7 kB / 498.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.0983, allocations: 80.14 kB / 498.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.0983, allocations: 7.938 kB / 498.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.09832, allocations: 9.719 kB / 498.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.09845, allocations: 318.8 kB / 498.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.09845, allocations: 0 / 498.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-06/0.09846, allocations: 0 / 498.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.09849, allocations: 75.28 kB / 498.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.8e-05/0.09852, allocations: 75.28 kB / 498.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.116e-05/0.09858, allocations: 45.67 kB / 498.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.09862, allocations: 79.28 kB / 498.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.09865, allocations: 83.22 kB / 498.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.708e-05/0.09872, allocations: 154.6 kB / 499 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.093e-05/0.09875, allocations: 79.22 kB / 499.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-05/0.09881, allocations: 154.6 kB / 499.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.09889, allocations: 79.28 kB / 499.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.09892, allocations: 79.22 kB / 499.4 MB, free: 1.438 MB / 350.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.0001227/0.09904, allocations: 264.4 kB / 499.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.09911, allocations: 108.9 kB / 499.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.09916, allocations: 108.1 kB / 499.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.337e-05/0.09924, allocations: 184.2 kB / 0.4883 GB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-05/0.09931, allocations: 176.3 kB / 0.4885 GB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.486e-05/0.09938, allocations: 188.2 kB / 0.4887 GB, free: 392 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.09963, allocations: 376.3 kB / 0.489 GB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.773e-05/0.09968, allocations: 108.9 kB / 0.4891 GB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.09972, allocations: 105 kB / 0.4892 GB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-05/0.0998, allocations: 180.2 kB / 0.4894 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.09987, allocations: 180.3 kB / 0.4896 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.166e-05/0.09996, allocations: 184.3 kB / 0.4898 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.858e-05/0.1, allocations: 180.2 kB / 0.4899 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.1002, allocations: 312.1 kB / 0.4902 GB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.1002, allocations: 101 kB / 0.4903 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-05/0.1003, allocations: 188.3 kB / 0.4905 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.1004, allocations: 112.9 kB / 0.4906 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.1005, allocations: 176.3 kB / 0.4908 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.1005, allocations: 104.9 kB / 0.4909 GB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.924e-05/0.1006, allocations: 83.45 kB / 0.491 GB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1006, allocations: 0 / 0.491 GB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000513/0.1011, allocations: 159.5 kB / 0.4911 GB, free: 13.73 MB / 366.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.001105/0.1022, allocations: 0.5503 MB / 0.4916 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.116e-05/0.1022, allocations: 4 kB / 0.4917 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1022, allocations: 0 / 0.4917 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.1022, allocations: 0 / 0.4917 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.1026, allocations: 463.6 kB / 0.4921 GB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.1029, allocations: 190.6 kB / 0.4923 GB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1032, allocations: 0.6729 MB / 0.4929 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.1032, allocations: 11.44 kB / 0.4929 GB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1032, allocations: 0 / 0.4929 GB, free: 11.84 MB / 366.1 MB Notification: Performance of Templates: time 0.005889/0.1091, allocations: 3.405 MB / 0.4963 GB, free: 8.434 MB / 366.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 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.83887958782725] Failed to read output from testmodel.py, exit status != 0: 0.11631336598657072 0.28088747399999997 0.18163198699999994 Calling exit ...