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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01014/0.01014, allocations: 1.349 MB / 11.25 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003029/0.01317, allocations: 0.827 MB / 12.08 MB, free: 2.082 MB / 13.93 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.5987/0.5987, allocations: 102.6 MB / 115.4 MB, free: 11.49 MB / 122.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09758/0.6963, allocations: 28.55 MB / 144 MB, free: 1.75 MB / 138.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.0005848/0.0005848, allocations: 77.91 kB / 144.8 MB, free: 0.9336 MB / 138.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009883/0.001573, allocations: 467 kB / 145.3 MB, free: 0.5078 MB / 138.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.0006983/0.0006983, allocations: 141.9 kB / 146.1 MB, free: 15.64 MB / 154.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001704, allocations: 488 kB / 146.6 MB, free: 15.17 MB / 154.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 0.8432/0.8432, allocations: 177.2 MB / 324.5 MB, free: 4.016 MB / 314.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2122/1.055, allocations: 53.66 MB / 378.2 MB, free: 1.84 MB / 362.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.07643/0.07643, allocations: 18.26 MB / 397.2 MB, free: 15.24 MB / 394.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02764/0.1041, allocations: 7.711 MB / 404.9 MB, free: 7.504 MB / 394.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 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/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.433e-06/1.433e-06, allocations: 0 / 406.2 MB, free: 6.258 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.348e-05, allocations: 2.312 kB / 406.2 MB, free: 6.254 MB / 394.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.003488/0.003511, allocations: 2.87 MB / 409 MB, free: 3.371 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.01524, allocations: 11.59 MB / 420.6 MB, free: 7.742 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.01537, allocations: 4 kB / 420.6 MB, free: 7.738 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.01597, allocations: 238.6 kB / 420.9 MB, free: 7.504 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.01632, allocations: 274.4 kB / 421.1 MB, free: 7.234 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.01992, allocations: 2.448 MB / 423.6 MB, free: 4.773 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009563/0.02087, allocations: 0.9926 MB / 424.6 MB, free: 3.777 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.045e-05/0.02094, allocations: 37.14 kB / 424.6 MB, free: 3.734 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1096/0.1306, allocations: 44.52 MB / 469.1 MB, free: 9.934 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008073/0.1314, allocations: 0.889 MB / 470 MB, free: 9.043 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.1315, allocations: 164 kB / 470.2 MB, free: 8.883 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.1357, allocations: 2.622 MB / 472.8 MB, free: 6.254 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.1361, allocations: 0.5419 MB / 473.3 MB, free: 5.711 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.1364, allocations: 395.2 kB / 473.7 MB, free: 5.324 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003074/0.1394, allocations: 3.584 MB / 477.3 MB, free: 1.73 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.1394, allocations: 0 / 477.3 MB, free: 1.73 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1394, allocations: 4 kB / 477.3 MB, free: 1.727 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.1395, allocations: 0 / 477.3 MB, free: 1.727 MB / 458.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.002937/0.1424, allocations: 3.085 MB / 480.4 MB, free: 14.61 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.1424, allocations: 12.03 kB / 480.4 MB, free: 14.59 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.1426, allocations: 96.86 kB / 480.5 MB, free: 14.5 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.1434, allocations: 0.7825 MB / 481.3 MB, free: 13.68 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.1434, allocations: 49.67 kB / 481.3 MB, free: 13.62 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.1436, allocations: 64.36 kB / 481.4 MB, free: 13.56 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/0.1469, allocations: 2.124 MB / 483.5 MB, free: 11.37 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1469, allocations: 4.188 kB / 483.5 MB, free: 11.37 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/0.147, allocations: 24.12 kB / 483.5 MB, free: 11.34 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.174e-05/0.1471, allocations: 125.9 kB / 483.7 MB, free: 11.22 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/0.1514, allocations: 3.251 MB / 486.9 MB, free: 7.965 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007734/0.1591, allocations: 5.1 MB / 492 MB, free: 2.797 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.1631, allocations: 0.9993 MB / 493 MB, free: 1.785 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.1634, allocations: 172.7 kB / 493.2 MB, free: 1.617 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.1636, allocations: 149 kB / 493.3 MB, free: 1.469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1637, allocations: 43.88 kB / 493.4 MB, free: 1.418 MB / 474.8 MB Notification: Performance of pre-optimization done (n=142): time 2.976e-06/0.1637, allocations: 0 / 493.4 MB, free: 1.418 MB / 474.8 MB Notification: Performance of matching and sorting (n=142): time 0.008148/0.1718, allocations: 2.214 MB / 495.6 MB, free: 15.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1719, allocations: 80.53 kB / 495.7 MB, free: 15.1 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008915/0.1728, allocations: 0.8996 MB / 496.6 MB, free: 14.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.1728, allocations: 45.7 kB / 496.6 MB, free: 14.13 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.1731, allocations: 481.4 kB / 497.1 MB, free: 13.65 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.1734, allocations: 0.4957 MB / 497.6 MB, free: 13.15 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005464/0.1739, allocations: 371.1 kB / 497.9 MB, free: 12.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.174, allocations: 353.8 kB / 498.3 MB, free: 12.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.1745, allocations: 194.7 kB / 498.5 MB, free: 12.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.1752, allocations: 0.8447 MB / 499.3 MB, free: 11.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.1767, allocations: 1.358 MB / 0.4889 GB, free: 9.398 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.1767, allocations: 8 kB / 0.4889 GB, free: 9.391 MB / 490.8 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.001707/0.1784, allocations: 1.111 MB / 0.49 GB, free: 8.238 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1784, allocations: 12 kB / 0.49 GB, free: 8.227 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.1785, allocations: 24 kB / 0.4901 GB, free: 8.203 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.1785, allocations: 32 kB / 0.4901 GB, free: 8.172 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.18, allocations: 0.5465 MB / 0.4906 GB, free: 7.625 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-05/0.18, allocations: 55.78 kB / 0.4907 GB, free: 7.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.1811, allocations: 186.5 kB / 0.4909 GB, free: 7.387 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.1814, allocations: 208 kB / 0.4911 GB, free: 7.184 MB / 490.8 MB 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.0003147/0.1817, allocations: 240 kB / 0.4913 GB, free: 6.938 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.1819, allocations: 107.9 kB / 0.4914 GB, free: 6.832 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.1845, allocations: 1.431 MB / 0.4928 GB, free: 5.387 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1845, allocations: 12 kB / 0.4928 GB, free: 5.375 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1845, allocations: 3.938 kB / 0.4928 GB, free: 5.371 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.1845, allocations: 7.969 kB / 0.4928 GB, free: 5.363 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008509/0.1854, allocations: 0.5141 MB / 0.4933 GB, free: 4.828 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1854, allocations: 0 / 0.4933 GB, free: 4.828 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/0.1862, allocations: 363.5 kB / 0.4937 GB, free: 4.473 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.1866, allocations: 318.6 kB / 0.494 GB, free: 4.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1866, allocations: 4 kB / 0.494 GB, free: 4.156 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/0.1867, allocations: 55.95 kB / 0.494 GB, free: 4.102 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1867, allocations: 4 kB / 0.494 GB, free: 4.098 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1867, allocations: 3.938 kB / 0.494 GB, free: 4.094 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.1875, allocations: 0.64 MB / 0.4947 GB, free: 3.438 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.1877, allocations: 28 kB / 0.4947 GB, free: 3.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.1881, allocations: 23.94 kB / 0.4947 GB, free: 3.387 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.1882, allocations: 113 kB / 0.4948 GB, free: 3.277 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.1884, allocations: 156 kB / 0.495 GB, free: 3.125 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0004797/0.1889, allocations: 450.8 kB / 0.4954 GB, free: 2.672 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1889, allocations: 0 / 0.4954 GB, free: 2.672 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.001253/0.1901, allocations: 0.5461 MB / 0.4959 GB, free: 2.125 MB / 490.8 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 (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.002298/0.1924, allocations: 1.106 MB / 0.497 GB, free: 0.9961 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.1936, allocations: 0.7946 MB / 0.4978 GB, free: 212 kB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.888e-05/0.1936, allocations: 22.19 kB / 0.4978 GB, free: 192 kB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.166/0.3595, allocations: 428.7 kB / 0.4982 GB, free: 77.38 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.3611, allocations: 1.351 MB / 0.4995 GB, free: 76.43 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/0.3698, allocations: 1.76 MB / 0.5012 GB, free: 75.72 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.37, allocations: 287.8 kB / 0.5015 GB, free: 75.64 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002172/0.3722, allocations: 0.9635 MB / 0.5025 GB, free: 75.28 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.3734, allocations: 0.5706 MB / 0.503 GB, free: 75.15 MB / 490.8 MB Notification: Performance of SimCode: time 2.776e-06/0.3734, allocations: 0 / 0.503 GB, free: 75.15 MB / 490.8 MB Notification: Performance of Templates: time 0.02587/0.3992, allocations: 26.96 MB / 0.5294 GB, free: 63.4 MB / 490.8 MB " [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.37766607478261]