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.001361/0.001361, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001624/0.001624, allocations: 222.1 kB / 23 MB, free: 4.91 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.007324/0.007324, allocations: 1.014 MB / 314.2 MB, free: 1.91 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.002092/0.002092, allocations: 67.91 kB / 436.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09237, allocations: 53.59 MB / 490.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002329/0.0947, allocations: 1.211 MB / 491.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.09838, allocations: 2.135 MB / 493.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.09841, allocations: 4 kB / 493.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.09842, allocations: 0 / 493.8 MB, free: 6.91 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.001334/0.09976, allocations: 472.6 kB / 494.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.09976, allocations: 0 / 494.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.0998, allocations: 11.92 kB / 494.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.09984, allocations: 0 / 494.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/0.09986, allocations: 11.98 kB / 494.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.09994, allocations: 7.938 kB / 494.3 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.09995, allocations: 0 / 494.3 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000818/0.1008, allocations: 499.5 kB / 494.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-06/0.1008, allocations: 0 / 494.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.1008, allocations: 7.938 kB / 494.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.1014, allocations: 383 kB / 495.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1014, allocations: 0 / 495.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1014, allocations: 0 / 495.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1014, allocations: 0 / 495.2 MB, free: 5.547 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.0004679/0.1018, allocations: 345.4 kB / 495.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1019, allocations: 16.03 kB / 495.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.1019, allocations: 76.22 kB / 495.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.1021, allocations: 185.8 kB / 495.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.1022, allocations: 154.9 kB / 496 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/0.1022, allocations: 154.7 kB / 496.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.233e-05/0.1023, allocations: 108.9 kB / 496.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.1024, allocations: 75.28 kB / 496.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.1024, allocations: 154.5 kB / 496.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/0.1025, allocations: 158.5 kB / 496.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.1026, allocations: 154.5 kB / 496.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.1029, allocations: 401.6 kB / 497.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.103, allocations: 177.1 kB / 497.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.103, allocations: 80.14 kB / 497.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.1031, allocations: 75.28 kB / 497.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.1031, allocations: 113.8 kB / 497.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.1031, allocations: 0 / 497.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.745e-05/0.1032, allocations: 37.64 kB / 497.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.1033, allocations: 126.7 kB / 497.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1034, allocations: 101.8 kB / 497.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1034, allocations: 25.7 kB / 497.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.1035, allocations: 84.14 kB / 497.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.1035, allocations: 4 kB / 497.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.1035, allocations: 13.72 kB / 498 MB, free: 2.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1036, allocations: 314.8 kB / 498.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-06/0.1036, allocations: 0 / 498.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-06/0.1036, allocations: 0 / 498.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.1037, allocations: 75.28 kB / 498.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-05/0.1037, allocations: 75.28 kB / 498.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.049e-05/0.1038, allocations: 37.69 kB / 498.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.1038, allocations: 79.28 kB / 498.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/0.1039, allocations: 87.22 kB / 498.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.236e-05/0.1039, allocations: 150.6 kB / 498.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.104, allocations: 87.2 kB / 498.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.406e-05/0.104, allocations: 154.6 kB / 499 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.1041, allocations: 75.28 kB / 499.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.1042, allocations: 79.22 kB / 499.1 MB, free: 1.406 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.0001416/0.1043, allocations: 260.4 kB / 499.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.1044, allocations: 108.9 kB / 499.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.1044, allocations: 116.1 kB / 499.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.397e-05/0.1045, allocations: 176.3 kB / 499.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.634e-05/0.1046, allocations: 176.3 kB / 500 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.721e-05/0.1047, allocations: 184.2 kB / 0.4884 GB, free: 368 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1049, allocations: 360.8 kB / 0.4888 GB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-05/0.105, allocations: 108.9 kB / 0.4889 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.105, allocations: 104.9 kB / 0.489 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.693e-05/0.1051, allocations: 180.2 kB / 0.4891 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.1052, allocations: 188.2 kB / 0.4893 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.703e-05/0.1053, allocations: 184.2 kB / 0.4895 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-05/0.1054, allocations: 180.2 kB / 0.4897 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.1056, allocations: 300.2 kB / 0.49 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.1056, allocations: 109 kB / 0.4901 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.1057, allocations: 196.1 kB / 0.4902 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.1058, allocations: 108.9 kB / 0.4903 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.1059, allocations: 176.3 kB / 0.4905 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.106, allocations: 105 kB / 0.4906 GB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.483e-05/0.106, allocations: 91.2 kB / 0.4907 GB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.106, allocations: 0 / 0.4907 GB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.1066, allocations: 143.5 kB / 0.4908 GB, free: 13.74 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.001263/0.1078, allocations: 0.572 MB / 0.4914 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.42e-05/0.1079, allocations: 3.938 kB / 0.4914 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1079, allocations: 4 kB / 0.4914 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.1079, allocations: 0 / 0.4914 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1083, allocations: 454.3 kB / 0.4918 GB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.1086, allocations: 198.6 kB / 0.492 GB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.098e-05/0.1086, allocations: 59.3 kB / 0.4921 GB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1087, allocations: 15.42 kB / 0.4921 GB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1087, allocations: 0 / 0.4921 GB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.006426/0.1151, allocations: 3.397 MB / 0.4954 GB, free: 9.051 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.865304028149694] Failed to read output from testmodel.py, exit status != 0: 0.12277241703122854 0.32851585599999994 0.22409620400000002 Calling exit ...