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/SMArtIInt 0.2.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008951/0.008951, allocations: 1.452 MB / 18.95 MB, free: 3.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo): time 0.8588/0.8588, allocations: 128.9 MB / 151.2 MB, free: 11.56 MB / 126.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 107 kB / 182.3 MB, free: 3.266 MB / 142.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 193.3 kB / 213.5 MB, free: 8.551 MB / 174.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 470.2 MB, free: 6.273 MB / 334.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1073/0.1073, allocations: 23.17 MB / 0.5631 GB, free: 11.93 MB / 414.1 MB " [Timeout remaining time 180] Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00368/0.00368, allocations: 138.4 kB / 0.7504 GB, free: 52.94 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1286, allocations: 86.83 MB / 0.8352 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.00399/0.1326, allocations: 2.869 MB / 0.838 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006192/0.1388, allocations: 4.529 MB / 0.8424 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.139, allocations: 4 kB / 0.8424 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008056/0.1398, allocations: 234.8 kB / 0.8426 GB, free: 6.312 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.1403, allocations: 258.7 kB / 0.8429 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.1418, allocations: 0.7587 MB / 0.8436 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009232/0.1427, allocations: 0.8703 MB / 0.8445 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.845e-05/0.1428, allocations: 25.03 kB / 0.8445 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.1431, allocations: 291.1 kB / 0.8448 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.1442, allocations: 1.185 MB / 0.8459 GB, free: 2.922 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.1446, allocations: 260 kB / 0.8462 GB, free: 2.668 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.1467, allocations: 1.482 MB / 0.8476 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007666/0.1475, allocations: 0.8341 MB / 0.8485 GB, free: 356 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008978/0.1484, allocations: 0.8909 MB / 0.8493 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.003494/0.1519, allocations: 3.108 MB / 0.8524 GB, free: 12.34 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1519, allocations: 0 / 0.8524 GB, free: 12.34 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1519, allocations: 0 / 0.8524 GB, free: 12.34 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.1519, allocations: 3.938 kB / 0.8524 GB, free: 12.33 MB / 0.5607 GB 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.006253/0.1582, allocations: 2.841 MB / 0.8551 GB, free: 9.434 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1582, allocations: 8.031 kB / 0.8551 GB, free: 9.426 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.1585, allocations: 116.1 kB / 0.8553 GB, free: 9.312 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/0.162, allocations: 2.115 MB / 0.8573 GB, free: 7.164 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.162, allocations: 29.38 kB / 0.8573 GB, free: 7.133 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.1622, allocations: 44.38 kB / 0.8574 GB, free: 7.09 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00329/0.1655, allocations: 2.345 MB / 0.8597 GB, free: 4.699 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1655, allocations: 3.938 kB / 0.8597 GB, free: 4.695 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.1656, allocations: 23.98 kB / 0.8597 GB, free: 4.672 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.1657, allocations: 52.91 kB / 0.8598 GB, free: 4.621 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/0.1708, allocations: 3.796 MB / 0.8635 GB, free: 0.8242 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.1845, allocations: 6.291 MB / 0.8696 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.185, allocations: 374.4 kB / 0.87 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.1854, allocations: 279.6 kB / 0.8702 GB, free: 9.762 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-05/0.1855, allocations: 20.19 kB / 0.8702 GB, free: 9.742 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1855, allocations: 38.8 kB / 0.8703 GB, free: 9.695 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=142): time 2.585e-06/0.1855, allocations: 0 / 0.8703 GB, free: 9.695 MB / 0.5763 GB Notification: Performance of matching and sorting (n=142): time 0.001582/0.1871, allocations: 1.167 MB / 0.8714 GB, free: 8.527 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1871, allocations: 55.64 kB / 0.8715 GB, free: 8.461 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.1893, allocations: 1.639 MB / 0.8731 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.1893, allocations: 37.7 kB / 0.8731 GB, free: 6.754 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.1898, allocations: 0.5665 MB / 0.8737 GB, free: 6.18 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.1901, allocations: 491.7 kB / 0.8741 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/0.1907, allocations: 286.4 kB / 0.8744 GB, free: 5.41 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1909, allocations: 357.9 kB / 0.8748 GB, free: 5.055 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.1919, allocations: 0.725 MB / 0.8755 GB, free: 4.332 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.1935, allocations: 1.371 MB / 0.8768 GB, free: 2.664 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/0.1958, allocations: 1.946 MB / 0.8787 GB, free: 428 kB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.1958, allocations: 8 kB / 0.8787 GB, free: 420 kB / 0.5763 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003509/0.1993, allocations: 2.219 MB / 0.8809 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.1994, allocations: 14.19 kB / 0.8809 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-05/0.1994, allocations: 44.86 kB / 0.8809 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.15e-05/0.1995, allocations: 32 kB / 0.881 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.2006, allocations: 235.6 kB / 0.8812 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.193e-05/0.2007, allocations: 43.84 kB / 0.8812 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.2025, allocations: 214.5 kB / 0.8814 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.2027, allocations: 88 kB / 0.8815 GB, free: 13.52 MB / 0.5919 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 (125): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.000669/0.2034, allocations: 405 kB / 0.8819 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.2036, allocations: 115.1 kB / 0.882 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.2039, allocations: 125 kB / 0.8821 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2039, allocations: 4 kB / 0.8821 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.2039, allocations: 4 kB / 0.8821 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.2039, allocations: 7.922 kB / 0.8821 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.2051, allocations: 0.8494 MB / 0.883 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.327e-05/0.2051, allocations: 23.98 kB / 0.883 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2052, allocations: 43.98 kB / 0.883 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.2052, allocations: 0 / 0.883 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.2053, allocations: 19.98 kB / 0.8831 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2053, allocations: 4 kB / 0.8831 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2053, allocations: 0 / 0.8831 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.2065, allocations: 0.95 MB / 0.884 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000493/0.207, allocations: 315.9 kB / 0.8843 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.2072, allocations: 4 kB / 0.8843 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.2078, allocations: 19.97 kB / 0.8843 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.2078, allocations: 39.91 kB / 0.8844 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/0.2079, allocations: 36 kB / 0.8844 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001523/0.2094, allocations: 1.161 MB / 0.8855 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2094, allocations: 4 kB / 0.8855 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001273/0.2107, allocations: 411.4 kB / 0.8859 GB, free: 8.898 MB / 0.5919 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 (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001497/0.2122, allocations: 0.6002 MB / 0.8865 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.2144, allocations: 1.625 MB / 0.8881 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2144, allocations: 5.938 kB / 0.8881 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.2151, allocations: 0.6722 MB / 0.8888 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.2161, allocations: 219.2 kB / 0.889 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.2189, allocations: 1.986 MB / 0.8909 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007964/0.2197, allocations: 1.144 MB / 0.892 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001349/0.2211, allocations: 474.9 kB / 0.8925 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.2214, allocations: 107.3 kB / 0.8926 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of SimCode: time 1.001e-06/0.2214, allocations: 4 kB / 0.8926 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.3262/0.5476, allocations: 19.2 MB / 0.9113 GB, free: 50.53 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.016186870634556]