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.001346/0.001346, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001489/0.001489, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.805 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.007293/0.007293, allocations: 1.024 MB / 313.4 MB, free: 1.914 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.002078/0.002078, allocations: 67.89 kB / 436.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1273, allocations: 53.58 MB / 489.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.00306/0.1304, allocations: 1.208 MB / 490.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004298/0.1347, allocations: 2.131 MB / 493.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1347, allocations: 8 kB / 493.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1347, allocations: 3.984 kB / 493.1 MB, free: 6.906 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.001627/0.1364, allocations: 473.8 kB / 493.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.1364, allocations: 0 / 493.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.1364, allocations: 7.938 kB / 493.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.1365, allocations: 0 / 493.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.1365, allocations: 7.984 kB / 493.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.1366, allocations: 11.92 kB / 493.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.617e-06/0.1366, allocations: 0 / 493.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008972/0.1375, allocations: 499.5 kB / 494.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.1375, allocations: 4 kB / 494.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.1375, allocations: 4 kB / 494.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.1381, allocations: 383 kB / 494.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1381, allocations: 0 / 494.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1381, allocations: 0 / 494.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1381, allocations: 0 / 494.4 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.0005648/0.1387, allocations: 345.4 kB / 494.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1387, allocations: 12.03 kB / 494.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.1388, allocations: 76.22 kB / 494.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.139, allocations: 197.7 kB / 495.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.139, allocations: 150.9 kB / 495.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.1392, allocations: 158.7 kB / 495.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.037e-05/0.1393, allocations: 108.9 kB / 495.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.1393, allocations: 75.28 kB / 495.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.1394, allocations: 150.6 kB / 495.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.1396, allocations: 150.6 kB / 495.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1397, allocations: 158.4 kB / 496 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.1401, allocations: 401.6 kB / 496.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.1403, allocations: 173.1 kB / 496.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.1403, allocations: 80.14 kB / 496.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1403, allocations: 75.28 kB / 496.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.629e-05/0.1404, allocations: 121.8 kB / 496.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1404, allocations: 0 / 496.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.82e-05/0.1405, allocations: 33.64 kB / 496.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.1406, allocations: 126.7 kB / 497 MB, free: 2.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1407, allocations: 105.8 kB / 497.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1407, allocations: 25.7 kB / 497.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.1407, allocations: 84.08 kB / 497.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.1407, allocations: 0 / 497.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.1408, allocations: 13.72 kB / 497.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1409, allocations: 310.8 kB / 497.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.1409, allocations: 0 / 497.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-06/0.1409, allocations: 4 kB / 497.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.141, allocations: 75.28 kB / 497.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-05/0.141, allocations: 75.28 kB / 497.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.915e-05/0.1411, allocations: 41.67 kB / 497.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/0.1411, allocations: 83.28 kB / 497.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.72e-05/0.1412, allocations: 87.22 kB / 497.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.46e-05/0.1413, allocations: 150.6 kB / 498 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.993e-05/0.1413, allocations: 75.28 kB / 498.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.879e-05/0.1414, allocations: 162.5 kB / 498.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.1415, allocations: 75.28 kB / 498.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.1415, allocations: 87.2 kB / 498.4 MB, free: 1.395 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.0001488/0.1417, allocations: 264.4 kB / 498.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.1418, allocations: 104.9 kB / 498.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.1418, allocations: 108.1 kB / 498.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001545/0.142, allocations: 180.2 kB / 499 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001589/0.1421, allocations: 180.2 kB / 499.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.253e-05/0.1422, allocations: 184.2 kB / 499.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.1426, allocations: 348.9 kB / 499.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001812/0.1428, allocations: 108.9 kB / 499.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.1429, allocations: 105 kB / 499.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.639e-05/0.143, allocations: 188.1 kB / 0.4884 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.1431, allocations: 192.2 kB / 0.4886 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.589e-05/0.1432, allocations: 176.3 kB / 0.4888 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.425e-05/0.1433, allocations: 180.2 kB / 0.4889 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.1436, allocations: 308.2 kB / 0.4892 GB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.1437, allocations: 105 kB / 0.4893 GB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.1439, allocations: 192.2 kB / 0.4895 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.144, allocations: 108.9 kB / 0.4896 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.1441, allocations: 176.3 kB / 0.4898 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.1442, allocations: 105 kB / 0.4899 GB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.492e-05/0.1442, allocations: 83.28 kB / 0.49 GB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1442, allocations: 4 kB / 0.49 GB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006428/0.1449, allocations: 147.5 kB / 0.4901 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.001298/0.1462, allocations: 0.5717 MB / 0.4907 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.336e-05/0.1462, allocations: 0 / 0.4907 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1462, allocations: 7.938 kB / 0.4907 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.1462, allocations: 4 kB / 0.4907 GB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1467, allocations: 451.7 kB / 0.4911 GB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.147, allocations: 168.9 kB / 0.4913 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.1471, allocations: 59.34 kB / 0.4913 GB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.12e-05/0.1471, allocations: 3.938 kB / 0.4913 GB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.1471, allocations: 11.44 kB / 0.4913 GB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1471, allocations: 0 / 0.4913 GB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.007613/0.1547, allocations: 3.169 MB / 0.4944 GB, free: 9.312 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: 5.119084473699331] Failed to read output from testmodel.py, exit status != 0: 0.16295299120247364 0.371056149 0.22971490300000003 Calling exit ...