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.001475/0.001475, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002064/0.002064, allocations: 215.3 kB / 22.25 MB, free: 5.262 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.663/1.663, allocations: 230.6 MB / 256 MB, free: 7.785 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.00736/0.00736, allocations: 1.005 MB / 313.4 MB, free: 1.871 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.00208/0.00208, allocations: 63.89 kB / 436.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1124, allocations: 53.59 MB / 489.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002431/0.1149, allocations: 1.215 MB / 491 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.1189, allocations: 2.193 MB / 493.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.119, allocations: 0 / 493.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/0.119, allocations: 7.938 kB / 493.2 MB, free: 6.801 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.001513/0.1205, allocations: 0.4969 MB / 493.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.628e-06/0.1205, allocations: 0 / 493.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.1206, allocations: 15.88 kB / 493.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.1206, allocations: 0 / 493.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/0.1206, allocations: 11.92 kB / 493.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.1207, allocations: 8 kB / 493.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.804e-06/0.1207, allocations: 4 kB / 493.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/0.1217, allocations: 0.5112 MB / 494.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.1217, allocations: 4 kB / 494.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.1217, allocations: 11.86 kB / 494.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006406/0.1223, allocations: 395.1 kB / 494.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1223, allocations: 0 / 494.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1223, allocations: 3.938 kB / 494.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1223, allocations: 0 / 494.6 MB, free: 5.348 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.0004654/0.1228, allocations: 361.3 kB / 495 MB, free: 4.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.1229, allocations: 8.031 kB / 495 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.123, allocations: 84.2 kB / 495 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.1231, allocations: 189.8 kB / 495.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/0.1232, allocations: 158.9 kB / 495.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.1233, allocations: 158.7 kB / 495.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.1234, allocations: 101 kB / 495.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.1234, allocations: 75.28 kB / 495.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.1235, allocations: 150.6 kB / 495.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.1236, allocations: 154.6 kB / 496 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.1237, allocations: 150.6 kB / 496.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1241, allocations: 401.6 kB / 496.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.1242, allocations: 169.1 kB / 496.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.1242, allocations: 88.14 kB / 496.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.1243, allocations: 75.28 kB / 496.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.1244, allocations: 113.8 kB / 497 MB, free: 2.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.1244, allocations: 0 / 497 MB, free: 2.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.858e-05/0.1245, allocations: 41.58 kB / 497 MB, free: 2.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.1246, allocations: 130.7 kB / 497.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1248, allocations: 101.9 kB / 497.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1248, allocations: 25.7 kB / 497.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.1248, allocations: 80.14 kB / 497.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.1248, allocations: 0 / 497.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.1249, allocations: 21.7 kB / 497.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.125, allocations: 314.8 kB / 497.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-06/0.1251, allocations: 0 / 497.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-06/0.1251, allocations: 0 / 497.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.1251, allocations: 75.28 kB / 497.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.204e-05/0.1251, allocations: 79.28 kB / 497.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.385e-05/0.1252, allocations: 33.64 kB / 497.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.1252, allocations: 83.22 kB / 498 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/0.1253, allocations: 79.28 kB / 498 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.429e-05/0.1254, allocations: 150.6 kB / 498.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.259e-05/0.1254, allocations: 83.2 kB / 498.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.451e-05/0.1255, allocations: 158.6 kB / 498.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.1256, allocations: 79.22 kB / 498.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.1256, allocations: 75.28 kB / 498.6 MB, free: 1.195 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.0001589/0.1258, allocations: 264.4 kB / 498.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.1258, allocations: 104.9 kB / 498.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/0.1259, allocations: 116.1 kB / 499 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.622e-05/0.126, allocations: 176.3 kB / 499.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-05/0.1261, allocations: 180.2 kB / 499.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.617e-05/0.1262, allocations: 184.3 kB / 499.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.1265, allocations: 353.1 kB / 499.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-05/0.1266, allocations: 116.9 kB / 0.4883 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.1266, allocations: 101 kB / 0.4884 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.553e-05/0.1267, allocations: 192.1 kB / 0.4886 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.895e-05/0.1268, allocations: 180.2 kB / 0.4888 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.051e-05/0.1269, allocations: 176.3 kB / 0.4889 GB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.331e-05/0.127, allocations: 184.6 kB / 0.4891 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1272, allocations: 315.7 kB / 0.4894 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.1274, allocations: 105 kB / 0.4895 GB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1275, allocations: 184.2 kB / 0.4897 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1276, allocations: 104.9 kB / 0.4898 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.1278, allocations: 180.3 kB / 0.4899 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.1278, allocations: 112.9 kB / 0.4901 GB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.1279, allocations: 83.27 kB / 0.4901 GB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1279, allocations: 0 / 0.4901 GB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000553/0.1284, allocations: 163.4 kB / 0.4903 GB, free: 13.51 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.001381/0.1298, allocations: 0.5933 MB / 0.4909 GB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.646e-05/0.1299, allocations: 0 / 0.4909 GB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1299, allocations: 0 / 0.4909 GB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.1299, allocations: 4 kB / 0.4909 GB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1303, allocations: 455.7 kB / 0.4913 GB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.1306, allocations: 181.5 kB / 0.4915 GB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.034e-05/0.1307, allocations: 59.34 kB / 0.4915 GB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.516e-06/0.1307, allocations: 0 / 0.4915 GB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1307, allocations: 19.44 kB / 0.4916 GB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1307, allocations: 0 / 0.4916 GB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.007818/0.1385, allocations: 3.36 MB / 0.4948 GB, free: 8.867 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: 5.229544488713145] Failed to read output from testmodel.py, exit status != 0: 0.14591562375426292 0.357996774 0.232814597 Calling exit ...