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.008545/0.008545, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.629/0.629, allocations: 102.5 MB / 128.6 MB, free: 12.27 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.001147/0.001147, allocations: 79.2 kB / 160.6 MB, free: 12.52 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.001676/0.001676, allocations: 162.9 kB / 192.6 MB, free: 30.28 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.106/1.106, allocations: 177.1 MB / 401.7 MB, free: 6.922 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.08102/0.08102, allocations: 18.25 MB / 0.4934 GB, free: 15.79 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 2.104e-06/2.104e-06, allocations: 0 / 0.5997 GB, free: 73.91 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.188e-05, allocations: 2.312 kB / 0.5997 GB, free: 73.91 MB / 474.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.004131/0.004163, allocations: 2.809 MB / 0.6024 GB, free: 71.08 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.01738, allocations: 11.35 MB / 0.6135 GB, free: 59.7 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.01761, allocations: 7.938 kB / 0.6135 GB, free: 59.69 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.01835, allocations: 234.7 kB / 0.6137 GB, free: 59.46 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.01866, allocations: 282.3 kB / 0.614 GB, free: 59.18 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004374/0.02303, allocations: 2.507 MB / 0.6164 GB, free: 56.66 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007502/0.02378, allocations: 1.016 MB / 0.6174 GB, free: 55.64 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.072e-05/0.02384, allocations: 29.28 kB / 0.6175 GB, free: 55.61 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1273/0.1511, allocations: 44.35 MB / 0.6608 GB, free: 14.53 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007652/0.1519, allocations: 0.9008 MB / 0.6616 GB, free: 13.62 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.1521, allocations: 164 kB / 0.6618 GB, free: 13.46 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.1566, allocations: 2.61 MB / 0.6643 GB, free: 10.85 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.1569, allocations: 0.686 MB / 0.665 GB, free: 10.16 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.1573, allocations: 0.5418 MB / 0.6655 GB, free: 9.617 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004365/0.1617, allocations: 4.097 MB / 0.6695 GB, free: 5.508 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1617, allocations: 0 / 0.6695 GB, free: 5.508 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1617, allocations: 0 / 0.6695 GB, free: 5.508 MB / 474.8 MB Notification: Performance of Transformations before backend: time 2.953e-05/0.1617, allocations: 0 / 0.6695 GB, free: 5.508 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.003214/0.1649, allocations: 2.886 MB / 0.6724 GB, free: 2.574 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1649, allocations: 16.02 kB / 0.6724 GB, free: 2.559 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.1652, allocations: 164.1 kB / 0.6725 GB, free: 2.398 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/0.166, allocations: 0.91 MB / 0.6734 GB, free: 1.453 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.1661, allocations: 41.69 kB / 0.6735 GB, free: 1.41 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.1662, allocations: 64.34 kB / 0.6735 GB, free: 1.348 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.1695, allocations: 1.943 MB / 0.6754 GB, free: 15.34 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1696, allocations: 4.188 kB / 0.6754 GB, free: 15.34 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.1697, allocations: 28.11 kB / 0.6755 GB, free: 15.31 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.1698, allocations: 137.9 kB / 0.6756 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004902/0.1747, allocations: 3.607 MB / 0.6791 GB, free: 11.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007816/0.1825, allocations: 6.243 MB / 0.6852 GB, free: 5.234 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.1854, allocations: 0.9374 MB / 0.6861 GB, free: 4.277 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.1856, allocations: 219.5 kB / 0.6863 GB, free: 4.059 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.1858, allocations: 145.2 kB / 0.6865 GB, free: 3.918 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1859, allocations: 50.7 kB / 0.6865 GB, free: 3.855 MB / 490.8 MB Notification: Performance of pre-optimization done (n=142): time 2.695e-06/0.1859, allocations: 0 / 0.6865 GB, free: 3.855 MB / 490.8 MB Notification: Performance of matching and sorting (n=142): time 0.00558/0.1915, allocations: 2.342 MB / 0.6888 GB, free: 1.504 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1915, allocations: 68.7 kB / 0.6889 GB, free: 1.426 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008854/0.1924, allocations: 1.141 MB / 0.69 GB, free: 264 kB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.1924, allocations: 45.7 kB / 0.69 GB, free: 212 kB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.1928, allocations: 0.6513 MB / 0.6907 GB, free: 15.54 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.193, allocations: 0.5113 MB / 0.6912 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.1935, allocations: 456.8 kB / 0.6916 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1936, allocations: 0.555 MB / 0.6921 GB, free: 14.01 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.194, allocations: 211.8 kB / 0.6923 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009451/0.195, allocations: 1.17 MB / 0.6935 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.1963, allocations: 1.544 MB / 0.695 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.1963, allocations: 8 kB / 0.695 GB, free: 10.26 MB / 0.4949 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.001861/0.1981, allocations: 1.442 MB / 0.6964 GB, free: 8.812 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1982, allocations: 16 kB / 0.6964 GB, free: 8.797 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.1982, allocations: 24 kB / 0.6964 GB, free: 8.773 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.1982, allocations: 35.94 kB / 0.6965 GB, free: 8.738 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/0.1991, allocations: 0.5031 MB / 0.697 GB, free: 8.234 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.1992, allocations: 43.86 kB / 0.697 GB, free: 8.191 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008774/0.2, allocations: 190.8 kB / 0.6972 GB, free: 8.004 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.2002, allocations: 240 kB / 0.6974 GB, free: 7.77 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.0002707/0.2005, allocations: 283.8 kB / 0.6977 GB, free: 7.48 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.2007, allocations: 183.1 kB / 0.6979 GB, free: 7.301 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.2032, allocations: 1.81 MB / 0.6996 GB, free: 5.477 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2032, allocations: 23.94 kB / 0.6997 GB, free: 5.453 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2032, allocations: 0 / 0.6997 GB, free: 5.453 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.2032, allocations: 7.969 kB / 0.6997 GB, free: 5.445 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.2039, allocations: 0.619 MB / 0.7003 GB, free: 4.801 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.204, allocations: 0 / 0.7003 GB, free: 4.801 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.2044, allocations: 323.7 kB / 0.7006 GB, free: 4.484 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.2044, allocations: 4 kB / 0.7006 GB, free: 4.48 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.2045, allocations: 83.95 kB / 0.7007 GB, free: 4.398 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.2045, allocations: 4 kB / 0.7007 GB, free: 4.395 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2045, allocations: 0 / 0.7007 GB, free: 4.395 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2057, allocations: 1.077 MB / 0.7017 GB, free: 3.293 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.2061, allocations: 350.6 kB / 0.7021 GB, free: 2.949 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.2062, allocations: 24 kB / 0.7021 GB, free: 2.926 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/0.2065, allocations: 24 kB / 0.7021 GB, free: 2.902 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2066, allocations: 137.1 kB / 0.7022 GB, free: 2.766 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.2068, allocations: 187.9 kB / 0.7024 GB, free: 2.582 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0004787/0.2072, allocations: 0.6257 MB / 0.703 GB, free: 1.945 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.2072, allocations: 0 / 0.703 GB, free: 1.945 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001091/0.2083, allocations: 0.5422 MB / 0.7036 GB, free: 1.402 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.00129/0.2096, allocations: 0.8622 MB / 0.7044 GB, free: 0.5234 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.2107, allocations: 0.9101 MB / 0.7053 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2107, allocations: 0 / 0.7053 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.2111, allocations: 429.4 kB / 0.7057 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008084/0.2119, allocations: 363.7 kB / 0.706 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.214, allocations: 1.812 MB / 0.7078 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.2142, allocations: 287.9 kB / 0.7081 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001817/0.216, allocations: 0.962 MB / 0.709 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.2171, allocations: 0.6304 MB / 0.7096 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of SimCode: time 7.52e-07/0.2171, allocations: 0 / 0.7096 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.03214/0.2492, allocations: 26.89 MB / 0.7359 GB, free: 15.98 MB / 0.5418 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: 5.180134081281722]