Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008165/0.008165, allocations: 1.784 MB / 21.57 MB, free: 2.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6516/0.6516, allocations: 102.5 MB / 127.8 MB, free: 12.43 MB / 122.8 MB " [Timeout remaining time 179] 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.001194/0.001194, allocations: 86.19 kB / 159.8 MB, free: 12.5 MB / 154.8 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.001229/0.001229, allocations: 164.8 kB / 191.8 MB, free: 30.3 MB / 170.8 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.035/1.035, allocations: 177.1 MB / 400.9 MB, free: 6.898 MB / 314.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.07444/0.07444, allocations: 18.24 MB / 0.4926 GB, free: 15.78 MB / 426.8 MB " [Timeout remaining time 180] Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/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) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5989 GB, free: 73.91 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.548e-05, allocations: 7.734 kB / 0.5989 GB, free: 73.9 MB / 474.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.002458/0.002484, allocations: 2.81 MB / 0.6016 GB, free: 71.07 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00758/0.01006, allocations: 11.34 MB / 0.6127 GB, free: 59.69 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.01021, allocations: 4 kB / 0.6127 GB, free: 59.68 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0006835/0.01089, allocations: 242.6 kB / 0.6129 GB, free: 59.45 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.01116, allocations: 282.2 kB / 0.6132 GB, free: 59.17 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.01383, allocations: 2.507 MB / 0.6157 GB, free: 56.65 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.01431, allocations: 1.016 MB / 0.6167 GB, free: 55.63 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.01437, allocations: 21.28 kB / 0.6167 GB, free: 55.61 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1041/0.1185, allocations: 44.36 MB / 0.66 GB, free: 14.5 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.1192, allocations: 0.9046 MB / 0.6609 GB, free: 13.6 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.1194, allocations: 164 kB / 0.661 GB, free: 13.44 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.124, allocations: 2.61 MB / 0.6636 GB, free: 10.82 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.1244, allocations: 0.6938 MB / 0.6643 GB, free: 10.12 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.1247, allocations: 0.534 MB / 0.6648 GB, free: 9.59 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.1277, allocations: 4.098 MB / 0.6688 GB, free: 5.48 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1277, allocations: 0 / 0.6688 GB, free: 5.48 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1277, allocations: 0 / 0.6688 GB, free: 5.48 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.1277, allocations: 4 kB / 0.6688 GB, free: 5.477 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002559/0.1303, allocations: 2.886 MB / 0.6716 GB, free: 2.543 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1303, allocations: 8.031 kB / 0.6716 GB, free: 2.535 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.1306, allocations: 168.1 kB / 0.6718 GB, free: 2.371 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.1314, allocations: 0.9178 MB / 0.6727 GB, free: 1.418 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1314, allocations: 41.69 kB / 0.6727 GB, free: 1.375 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.1315, allocations: 60.34 kB / 0.6728 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.1345, allocations: 1.936 MB / 0.6747 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1346, allocations: 4.125 kB / 0.6747 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.1347, allocations: 32.11 kB / 0.6747 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.1348, allocations: 133.9 kB / 0.6748 GB, free: 15.16 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004586/0.1393, allocations: 3.615 MB / 0.6783 GB, free: 11.54 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007242/0.1466, allocations: 6.247 MB / 0.6844 GB, free: 5.199 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.1491, allocations: 0.9297 MB / 0.6854 GB, free: 4.25 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.1493, allocations: 219.4 kB / 0.6856 GB, free: 4.031 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.1496, allocations: 256.1 kB / 0.6858 GB, free: 3.781 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1496, allocations: 50.7 kB / 0.6859 GB, free: 3.719 MB / 490.8 MB Notification: Performance of pre-optimization done (n=142): time 3.306e-06/0.1496, allocations: 0 / 0.6859 GB, free: 3.719 MB / 490.8 MB Notification: Performance of matching and sorting (n=142): time 0.005688/0.1553, allocations: 2.342 MB / 0.6881 GB, free: 1.367 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.1553, allocations: 68.72 kB / 0.6882 GB, free: 1.289 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.1562, allocations: 1.137 MB / 0.6893 GB, free: 128 kB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.1563, allocations: 49.7 kB / 0.6894 GB, free: 72 kB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.1566, allocations: 0.6473 MB / 0.69 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.1569, allocations: 0.5074 MB / 0.6905 GB, free: 14.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/0.1573, allocations: 452.8 kB / 0.6909 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1575, allocations: 0.5589 MB / 0.6915 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.1579, allocations: 215.7 kB / 0.6917 GB, free: 13.68 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008306/0.1587, allocations: 1.174 MB / 0.6928 GB, free: 12.09 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.1601, allocations: 1.54 MB / 0.6943 GB, free: 10.14 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.1601, allocations: 8 kB / 0.6943 GB, free: 10.13 MB / 0.4949 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002468/0.1626, allocations: 1.441 MB / 0.6957 GB, free: 8.68 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.1626, allocations: 19.98 kB / 0.6958 GB, free: 8.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.1626, allocations: 20 kB / 0.6958 GB, free: 8.641 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/0.1627, allocations: 36.69 kB / 0.6958 GB, free: 8.605 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.1639, allocations: 0.5032 MB / 0.6963 GB, free: 8.102 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-05/0.1639, allocations: 47.8 kB / 0.6964 GB, free: 8.055 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.1651, allocations: 190.5 kB / 0.6965 GB, free: 7.867 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/0.1654, allocations: 240 kB / 0.6968 GB, free: 7.633 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (239): * Single equations (assignments): 239 * 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.0003219/0.1657, allocations: 287.8 kB / 0.697 GB, free: 7.34 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.166, allocations: 171.2 kB / 0.6972 GB, free: 7.172 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.169, allocations: 1.814 MB / 0.699 GB, free: 5.344 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.169, allocations: 19.94 kB / 0.699 GB, free: 5.324 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.169, allocations: 0 / 0.699 GB, free: 5.324 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.169, allocations: 7.969 kB / 0.699 GB, free: 5.316 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008381/0.1699, allocations: 0.6152 MB / 0.6996 GB, free: 4.676 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1699, allocations: 0 / 0.6996 GB, free: 4.676 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/0.1705, allocations: 331.6 kB / 0.6999 GB, free: 4.352 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.1705, allocations: 8 kB / 0.6999 GB, free: 4.344 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.821e-05/0.1706, allocations: 79.95 kB / 0.7 GB, free: 4.266 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.1706, allocations: 8 kB / 0.7 GB, free: 4.258 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1706, allocations: 0 / 0.7 GB, free: 4.258 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.172, allocations: 1.073 MB / 0.7011 GB, free: 3.16 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/0.1726, allocations: 350.6 kB / 0.7014 GB, free: 2.816 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.1727, allocations: 20 kB / 0.7014 GB, free: 2.797 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.1731, allocations: 31.98 kB / 0.7014 GB, free: 2.766 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.1733, allocations: 133.1 kB / 0.7016 GB, free: 2.633 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/0.1735, allocations: 191.9 kB / 0.7018 GB, free: 2.445 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0006229/0.1741, allocations: 0.6257 MB / 0.7024 GB, free: 1.809 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8e-08/0.1741, allocations: 0 / 0.7024 GB, free: 1.809 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001376/0.1755, allocations: 0.5383 MB / 0.7029 GB, free: 1.27 MB / 0.4949 GB 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 (142): * Single equations (assignments): 142 * 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.001574/0.177, allocations: 0.8699 MB / 0.7037 GB, free: 392 kB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.1784, allocations: 0.8989 MB / 0.7046 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1784, allocations: 0 / 0.7046 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.1789, allocations: 429.4 kB / 0.705 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009776/0.1799, allocations: 367.2 kB / 0.7054 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.1824, allocations: 1.804 MB / 0.7071 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.1826, allocations: 287.9 kB / 0.7074 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002294/0.1849, allocations: 0.9659 MB / 0.7084 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.1863, allocations: 0.6382 MB / 0.709 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/0.1863, allocations: 0 / 0.709 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.0331/0.2194, allocations: 26.53 MB / 0.7349 GB, free: 364 kB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f TILMedia_TILMedia.Testers.TestGas.makefile [Timeout 660] (rm -f TILMedia_TILMedia.Testers.TestGas.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas.sim & ./TILMedia_TILMedia.Testers.TestGas -abortSlowSimulation -alarm=240 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.589623244013637]