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.005772/0.005772, allocations: 1.34 MB / 11.17 MB, free: 2.988 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.00692, allocations: 0.8268 MB / 12 MB, free: 2.156 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.6401/0.6401, allocations: 102.5 MB / 115.2 MB, free: 11.64 MB / 122.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08671/0.7268, allocations: 28.55 MB / 143.8 MB, free: 1.906 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.0005813/0.0005813, allocations: 75.59 kB / 144.6 MB, free: 1.098 MB / 138.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009189/0.0015, allocations: 453.2 kB / 145 MB, free: 0.6797 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.0007055/0.0007055, allocations: 148 kB / 145.9 MB, free: 15.82 MB / 154.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008933/0.001599, allocations: 476.2 kB / 146.4 MB, free: 15.36 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.8884/0.8884, allocations: 177.1 MB / 324.2 MB, free: 4.18 MB / 314.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2218/1.11, allocations: 53.66 MB / 377.9 MB, free: 1.988 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.08214/0.08214, allocations: 18.21 MB / 396.8 MB, free: 15.46 MB / 394.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01174/0.09388, allocations: 7.696 MB / 404.5 MB, free: 7.742 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.493e-06/1.493e-06, allocations: 0 / 405.8 MB, free: 6.512 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.642e-05, allocations: 5.266 kB / 405.8 MB, free: 6.508 MB / 394.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.003975/0.003992, allocations: 2.848 MB / 408.6 MB, free: 3.645 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.01671, allocations: 11.59 MB / 420.2 MB, free: 8.016 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.01687, allocations: 8 kB / 420.2 MB, free: 8.008 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.01745, allocations: 242.6 kB / 420.5 MB, free: 7.77 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.01775, allocations: 262.5 kB / 420.7 MB, free: 7.512 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.0221, allocations: 2.414 MB / 423.1 MB, free: 5.086 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008172/0.02292, allocations: 1.004 MB / 424.1 MB, free: 4.078 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.02298, allocations: 33.19 kB / 424.2 MB, free: 4.039 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1085/0.1315, allocations: 44.51 MB / 468.7 MB, free: 10.24 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007817/0.1323, allocations: 0.8968 MB / 469.6 MB, free: 9.34 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.1324, allocations: 160 kB / 469.7 MB, free: 9.184 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/0.1364, allocations: 2.618 MB / 472.3 MB, free: 6.559 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.1367, allocations: 0.538 MB / 472.9 MB, free: 6.02 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.1371, allocations: 395.2 kB / 473.3 MB, free: 5.633 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.1403, allocations: 3.584 MB / 476.9 MB, free: 2.039 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.1403, allocations: 3.938 kB / 476.9 MB, free: 2.035 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1403, allocations: 0 / 476.9 MB, free: 2.035 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.1403, allocations: 0 / 476.9 MB, free: 2.035 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.003177/0.1435, allocations: 3.089 MB / 480 MB, free: 14.91 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1435, allocations: 8.031 kB / 480 MB, free: 14.9 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.1437, allocations: 104.8 kB / 480.1 MB, free: 14.8 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.1445, allocations: 0.7864 MB / 480.8 MB, free: 13.97 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1446, allocations: 41.67 kB / 480.9 MB, free: 13.93 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1447, allocations: 52.38 kB / 480.9 MB, free: 13.88 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003839/0.1485, allocations: 2.128 MB / 483.1 MB, free: 11.68 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1485, allocations: 192 / 483.1 MB, free: 11.68 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1486, allocations: 32.11 kB / 483.1 MB, free: 11.65 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.1488, allocations: 145.8 kB / 483.2 MB, free: 11.51 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004553/0.1533, allocations: 3.243 MB / 486.5 MB, free: 8.262 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006756/0.1601, allocations: 5.1 MB / 491.6 MB, free: 3.094 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.1628, allocations: 1.003 MB / 492.6 MB, free: 2.078 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.163, allocations: 172.7 kB / 492.8 MB, free: 1.91 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.1632, allocations: 153 kB / 492.9 MB, free: 1.758 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1632, allocations: 47.88 kB / 493 MB, free: 1.703 MB / 474.8 MB Notification: Performance of pre-optimization done (n=142): time 2.525e-06/0.1632, allocations: 0 / 493 MB, free: 1.703 MB / 474.8 MB Notification: Performance of matching and sorting (n=142): time 0.005168/0.1684, allocations: 2.214 MB / 495.2 MB, free: 15.48 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.1684, allocations: 76.59 kB / 495.2 MB, free: 15.39 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/0.1691, allocations: 0.8879 MB / 496.1 MB, free: 14.48 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.1691, allocations: 45.7 kB / 496.2 MB, free: 14.43 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.1696, allocations: 481.4 kB / 496.6 MB, free: 13.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.1698, allocations: 0.5034 MB / 497.1 MB, free: 13.45 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.1702, allocations: 363.2 kB / 497.5 MB, free: 13.09 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.1703, allocations: 361.8 kB / 497.9 MB, free: 12.73 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.1706, allocations: 194.7 kB / 498 MB, free: 12.54 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/0.1711, allocations: 0.8369 MB / 498.9 MB, free: 11.39 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.1721, allocations: 1.288 MB / 0.4884 GB, free: 9.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.1721, allocations: 12 kB / 0.4885 GB, free: 9.758 MB / 490.8 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.001236/0.1733, allocations: 1.104 MB / 0.4895 GB, free: 8.613 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1734, allocations: 28.14 kB / 0.4896 GB, free: 8.586 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.1734, allocations: 20 kB / 0.4896 GB, free: 8.566 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.1734, allocations: 32 kB / 0.4896 GB, free: 8.535 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.1744, allocations: 0.546 MB / 0.4901 GB, free: 7.988 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.531e-05/0.1745, allocations: 51.78 kB / 0.4902 GB, free: 7.938 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007558/0.1752, allocations: 198.5 kB / 0.4904 GB, free: 7.742 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.1754, allocations: 200 kB / 0.4906 GB, free: 7.547 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.0002424/0.1757, allocations: 240 kB / 0.4908 GB, free: 7.301 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.1758, allocations: 111.9 kB / 0.4909 GB, free: 7.191 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.178, allocations: 1.423 MB / 0.4923 GB, free: 5.754 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.178, allocations: 16 kB / 0.4923 GB, free: 5.738 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.178, allocations: 3.938 kB / 0.4923 GB, free: 5.734 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.178, allocations: 11.97 kB / 0.4923 GB, free: 5.723 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.1786, allocations: 0.5219 MB / 0.4928 GB, free: 5.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1786, allocations: 0 / 0.4928 GB, free: 5.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.1791, allocations: 363.4 kB / 0.4932 GB, free: 4.824 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.1794, allocations: 318.7 kB / 0.4935 GB, free: 4.512 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1794, allocations: 4 kB / 0.4935 GB, free: 4.508 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.1795, allocations: 47.95 kB / 0.4935 GB, free: 4.461 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1795, allocations: 4 kB / 0.4935 GB, free: 4.457 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1795, allocations: 3.938 kB / 0.4935 GB, free: 4.453 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.1801, allocations: 0.6477 MB / 0.4942 GB, free: 3.789 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.1802, allocations: 24 kB / 0.4942 GB, free: 3.766 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.1805, allocations: 28 kB / 0.4942 GB, free: 3.738 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1806, allocations: 101.1 kB / 0.4943 GB, free: 3.641 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.1807, allocations: 160 kB / 0.4945 GB, free: 3.484 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0003537/0.1811, allocations: 446.8 kB / 0.4949 GB, free: 3.035 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1811, allocations: 0 / 0.4949 GB, free: 3.035 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0009409/0.182, allocations: 0.5422 MB / 0.4954 GB, free: 2.492 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.001713/0.1837, allocations: 1.087 MB / 0.4965 GB, free: 1.383 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008451/0.1846, allocations: 0.7659 MB / 0.4972 GB, free: 0.6172 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/0.1846, allocations: 21.81 kB / 0.4973 GB, free: 0.5977 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.1849, allocations: 342.7 kB / 0.4976 GB, free: 268 kB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1648/0.3497, allocations: 479.5 kB / 0.498 GB, free: 77.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009065/0.3587, allocations: 1.762 MB / 0.4998 GB, free: 76.86 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.3589, allocations: 286.8 kB / 0.5 GB, free: 76.79 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.001767/0.3607, allocations: 0.9566 MB / 0.501 GB, free: 76.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.3618, allocations: 0.5677 MB / 0.5015 GB, free: 76.31 MB / 490.8 MB Notification: Performance of SimCode: time 1.453e-06/0.3618, allocations: 2.281 kB / 0.5015 GB, free: 76.31 MB / 490.8 MB Notification: Performance of Templates: time 0.02296/0.3847, allocations: 27.49 MB / 0.5284 GB, free: 64.57 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.2707967991009355]