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.007778/0.007778, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.5653/0.5653, allocations: 102.5 MB / 127.5 MB, free: 12.61 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.0009077/0.0009077, allocations: 77.12 kB / 159.5 MB, free: 12.66 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.001138/0.001138, allocations: 158 kB / 191.5 MB, free: 30.34 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 0.9579/0.9579, allocations: 177.1 MB / 400.6 MB, free: 6.969 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.06648/0.06648, allocations: 18.23 MB / 0.4922 GB, free: 15.89 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 9.92e-07/9.92e-07, allocations: 0 / 0.5984 GB, free: 74.21 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.679e-05, allocations: 10.91 kB / 0.5984 GB, free: 74.2 MB / 474.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.002268/0.002285, allocations: 2.831 MB / 0.6011 GB, free: 71.35 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.008028/0.01031, allocations: 11.5 MB / 0.6124 GB, free: 59.8 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.01047, allocations: 3.938 kB / 0.6124 GB, free: 59.8 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0006565/0.01113, allocations: 242.6 kB / 0.6126 GB, free: 59.56 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.01142, allocations: 282.3 kB / 0.6129 GB, free: 59.29 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.01449, allocations: 2.507 MB / 0.6153 GB, free: 56.77 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.0151, allocations: 1.02 MB / 0.6163 GB, free: 55.75 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.01515, allocations: 21.28 kB / 0.6163 GB, free: 55.72 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09977/0.1149, allocations: 44.36 MB / 0.6597 GB, free: 14.62 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.1155, allocations: 0.893 MB / 0.6605 GB, free: 13.73 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.1157, allocations: 164 kB / 0.6607 GB, free: 13.57 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.119, allocations: 2.622 MB / 0.6633 GB, free: 10.94 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.1193, allocations: 0.6821 MB / 0.6639 GB, free: 10.25 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.1197, allocations: 0.5418 MB / 0.6644 GB, free: 9.711 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.1233, allocations: 4.086 MB / 0.6684 GB, free: 5.613 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1233, allocations: 0 / 0.6684 GB, free: 5.613 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1233, allocations: 4 kB / 0.6684 GB, free: 5.609 MB / 474.8 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.1233, allocations: 0 / 0.6684 GB, free: 5.609 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.003093/0.1264, allocations: 2.988 MB / 0.6714 GB, free: 2.574 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1264, allocations: 16.03 kB / 0.6714 GB, free: 2.559 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.1267, allocations: 164.1 kB / 0.6715 GB, free: 2.398 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/0.1275, allocations: 0.9725 MB / 0.6725 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.1275, allocations: 41.69 kB / 0.6725 GB, free: 1.348 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.1276, allocations: 56.36 kB / 0.6726 GB, free: 1.293 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.1311, allocations: 2.19 MB / 0.6747 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1311, allocations: 4.172 kB / 0.6747 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/0.1312, allocations: 24.12 kB / 0.6747 GB, free: 15.02 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-05/0.1313, allocations: 137.9 kB / 0.6749 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005858/0.1371, allocations: 4.238 MB / 0.679 GB, free: 10.64 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00771/0.1449, allocations: 6.579 MB / 0.6854 GB, free: 3.961 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.1474, allocations: 1.004 MB / 0.6864 GB, free: 2.938 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.1478, allocations: 247.5 kB / 0.6867 GB, free: 2.691 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.148, allocations: 149.2 kB / 0.6868 GB, free: 2.547 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.148, allocations: 50.7 kB / 0.6868 GB, free: 2.484 MB / 490.8 MB Notification: Performance of pre-optimization done (n=142): time 2.665e-06/0.148, allocations: 0 / 0.6868 GB, free: 2.484 MB / 490.8 MB Notification: Performance of matching and sorting (n=142): time 0.005832/0.1538, allocations: 2.44 MB / 0.6892 GB, free: 36 kB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1539, allocations: 76.66 kB / 0.6893 GB, free: 15.95 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.1549, allocations: 1.192 MB / 0.6905 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.1549, allocations: 45.7 kB / 0.6905 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.1552, allocations: 0.6435 MB / 0.6911 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.1555, allocations: 0.5036 MB / 0.6916 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/0.1559, allocations: 449 kB / 0.6921 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1561, allocations: 0.5511 MB / 0.6926 GB, free: 12.52 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.1566, allocations: 259.8 kB / 0.6928 GB, free: 12.26 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009629/0.1575, allocations: 1.213 MB / 0.694 GB, free: 10.64 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.1591, allocations: 1.618 MB / 0.6956 GB, free: 8.605 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.1592, allocations: 4 kB / 0.6956 GB, free: 8.602 MB / 0.4949 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002003/0.1612, allocations: 1.555 MB / 0.6971 GB, free: 7.039 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.1612, allocations: 12 kB / 0.6971 GB, free: 7.027 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.1612, allocations: 27.94 kB / 0.6972 GB, free: 7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.1612, allocations: 32 kB / 0.6972 GB, free: 6.969 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/0.1622, allocations: 0.5154 MB / 0.6977 GB, free: 6.453 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/0.1622, allocations: 47.8 kB / 0.6977 GB, free: 6.406 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.1631, allocations: 222.5 kB / 0.698 GB, free: 6.188 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.1633, allocations: 252 kB / 0.6982 GB, free: 5.941 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.0002575/0.1635, allocations: 283.8 kB / 0.6985 GB, free: 5.652 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.1637, allocations: 179.2 kB / 0.6986 GB, free: 5.477 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.1661, allocations: 1.888 MB / 0.7005 GB, free: 3.574 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1661, allocations: 12 kB / 0.7005 GB, free: 3.562 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1661, allocations: 0 / 0.7005 GB, free: 3.562 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1661, allocations: 11.97 kB / 0.7005 GB, free: 3.551 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000686/0.1668, allocations: 0.748 MB / 0.7012 GB, free: 2.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1668, allocations: 0 / 0.7012 GB, free: 2.77 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.1672, allocations: 331.6 kB / 0.7016 GB, free: 2.445 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.1673, allocations: 4 kB / 0.7016 GB, free: 2.441 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/0.1673, allocations: 79.95 kB / 0.7016 GB, free: 2.363 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.1673, allocations: 11.94 kB / 0.7016 GB, free: 2.352 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1673, allocations: 0 / 0.7016 GB, free: 2.352 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.1688, allocations: 1.128 MB / 0.7027 GB, free: 1.199 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.1691, allocations: 378.6 kB / 0.7031 GB, free: 0.8281 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.1693, allocations: 28 kB / 0.7031 GB, free: 0.8008 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.1696, allocations: 35.91 kB / 0.7032 GB, free: 0.7656 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.1697, allocations: 137.1 kB / 0.7033 GB, free: 0.6289 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.1698, allocations: 200 kB / 0.7035 GB, free: 444 kB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0006051/0.1704, allocations: 0.6962 MB / 0.7042 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.1704, allocations: 0 / 0.7042 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009959/0.1714, allocations: 0.5383 MB / 0.7047 GB, free: 15.19 MB / 0.5105 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.001234/0.1727, allocations: 0.866 MB / 0.7055 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.1738, allocations: 0.9849 MB / 0.7065 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1738, allocations: 4 kB / 0.7065 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.1742, allocations: 457.5 kB / 0.7069 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000722/0.175, allocations: 363.2 kB / 0.7073 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.1771, allocations: 1.839 MB / 0.7091 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.1775, allocations: 283.9 kB / 0.7094 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001861/0.1794, allocations: 1.212 MB / 0.7105 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/0.18, allocations: 336 kB / 0.7109 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/0.18, allocations: 0 / 0.7109 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of Templates: time 0.02922/0.2092, allocations: 25.76 MB / 0.736 GB, free: 14.83 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: 4.4724314021877944]