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.001777/0.001777, allocations: 102.1 kB / 19.7 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.00217/0.00217, allocations: 216.6 kB / 23.01 MB, free: 4.609 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.454/1.454, 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.007334/0.007334, allocations: 1.016 MB / 314.2 MB, free: 2.16 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.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.001987/0.001987, allocations: 63.91 kB / 437 MB, free: 16.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.09178, allocations: 53.58 MB / 490.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002348/0.09413, allocations: 1.227 MB / 491.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.0978, allocations: 2.298 MB / 494.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.09782, allocations: 3.938 kB / 494.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.09784, allocations: 0 / 494.1 MB, free: 6.98 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/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.001346/0.09918, allocations: 0.4984 MB / 494.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.09919, allocations: 4 kB / 494.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.09924, allocations: 11.92 kB / 494.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.09927, allocations: 0 / 494.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.997e-05/0.09929, allocations: 4 kB / 494.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.09971, allocations: 15.92 kB / 494.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-06/0.09972, allocations: 0 / 494.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.1007, allocations: 0.558 MB / 495.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.1007, allocations: 3.984 kB / 495.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1008, allocations: 8 kB / 495.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.1014, allocations: 410.9 kB / 495.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1014, allocations: 0 / 495.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1014, allocations: 0 / 495.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1014, allocations: 0 / 495.6 MB, free: 5.473 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.0004874/0.1019, allocations: 369.2 kB / 496 MB, free: 5.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.102, allocations: 8.031 kB / 496 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.102, allocations: 80.2 kB / 496 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1022, allocations: 193.8 kB / 496.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.1023, allocations: 150.9 kB / 496.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.1023, allocations: 158.7 kB / 496.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.067e-05/0.1024, allocations: 104.9 kB / 496.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.1025, allocations: 79.28 kB / 496.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.1025, allocations: 154.5 kB / 496.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.21e-05/0.1026, allocations: 150.6 kB / 497 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/0.1026, allocations: 158.5 kB / 497.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.103, allocations: 421 kB / 497.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/0.103, allocations: 173.1 kB / 497.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.1031, allocations: 84.12 kB / 497.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.1031, allocations: 79.28 kB / 497.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.1032, allocations: 109.8 kB / 498 MB, free: 2.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1032, allocations: 4 kB / 498 MB, free: 2.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.125e-05/0.1032, allocations: 29.69 kB / 498 MB, free: 2.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.1033, allocations: 126.7 kB / 498.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1034, allocations: 101.9 kB / 498.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1034, allocations: 29.64 kB / 498.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.1035, allocations: 92.12 kB / 498.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-06/0.1035, allocations: 0 / 498.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.1035, allocations: 9.719 kB / 498.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1036, allocations: 314.8 kB / 498.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-06/0.1036, allocations: 0 / 498.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-06/0.1036, allocations: 0 / 498.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.056e-05/0.1037, allocations: 79.28 kB / 498.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.951e-05/0.1037, allocations: 75.28 kB / 498.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.581e-05/0.1038, allocations: 29.64 kB / 498.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.1038, allocations: 83.28 kB / 499 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/0.1038, allocations: 83.2 kB / 499 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-05/0.1039, allocations: 158.6 kB / 499.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.34e-05/0.104, allocations: 75.28 kB / 499.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.317e-05/0.104, allocations: 162.4 kB / 499.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.1041, allocations: 75.28 kB / 499.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.1041, allocations: 79.22 kB / 499.6 MB, free: 1.277 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.0001383/0.1043, allocations: 260.4 kB / 499.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.1043, allocations: 116.9 kB / 500 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.1044, allocations: 108.1 kB / 0.4883 GB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.299e-05/0.1045, allocations: 176.3 kB / 0.4885 GB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.151e-05/0.1045, allocations: 180.3 kB / 0.4887 GB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-05/0.1046, allocations: 180.2 kB / 0.4889 GB, free: 236 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.1049, allocations: 388.2 kB / 0.4892 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-05/0.1049, allocations: 104.9 kB / 0.4893 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.105, allocations: 105 kB / 0.4894 GB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.523e-05/0.1051, allocations: 176.5 kB / 0.4896 GB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/0.1051, allocations: 184.2 kB / 0.4898 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.328e-05/0.1052, allocations: 188.3 kB / 0.4899 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.597e-05/0.1053, allocations: 180.6 kB / 0.4901 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1055, allocations: 311.7 kB / 0.4904 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.1055, allocations: 112.9 kB / 0.4905 GB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/0.1056, allocations: 180.2 kB / 0.4907 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.1057, allocations: 108.9 kB / 0.4908 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.1058, allocations: 180.2 kB / 0.491 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.1058, allocations: 105 kB / 0.4911 GB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.1059, allocations: 83.28 kB / 0.4911 GB, free: 13.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1059, allocations: 0 / 0.4911 GB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000524/0.1064, allocations: 171.3 kB / 0.4913 GB, free: 13.55 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.001207/0.1076, allocations: 0.568 MB / 0.4919 GB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.629e-05/0.1076, allocations: 4 kB / 0.4919 GB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1076, allocations: 0 / 0.4919 GB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1076, allocations: 0 / 0.4919 GB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.108, allocations: 459.6 kB / 0.4923 GB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.1083, allocations: 215.2 kB / 0.4925 GB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1086, allocations: 0.6729 MB / 0.4932 GB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.1086, allocations: 15.42 kB / 0.4932 GB, free: 11.63 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1086, allocations: 0 / 0.4932 GB, free: 11.63 MB / 366.1 MB Notification: Performance of Templates: time 0.006003/0.1146, allocations: 3.588 MB / 0.4967 GB, free: 8.043 MB / 366.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 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.858321169856936] Failed to read output from testmodel.py, exit status != 0: 0.12187547003850341 0.288654823 0.18420904100000002 Calling exit ...