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.008239/0.008239, allocations: 1.784 MB / 21.64 MB, free: 2.816 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.6716/0.6716, allocations: 102.5 MB / 127.9 MB, free: 12.34 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.0009175/0.0009175, allocations: 83.33 kB / 159.3 MB, free: 13.05 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.0009685/0.0009685, allocations: 173.9 kB / 162.8 MB, free: 9.625 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.924/0.924, allocations: 177.1 MB / 343.2 MB, free: 7.367 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.06866/0.06866, allocations: 18.22 MB / 417.9 MB, free: 12.43 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 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 1.593e-06/1.593e-06, allocations: 0 / 444.8 MB, free: 1.059 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.423e-05, allocations: 4.344 kB / 444.8 MB, free: 1.055 MB / 394.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.003845/0.003859, allocations: 2.814 MB / 447.6 MB, free: 15.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.01879, allocations: 11.5 MB / 459.1 MB, free: 4.699 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.01906, allocations: 7.938 kB / 459.1 MB, free: 4.691 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0009092/0.01997, allocations: 236.3 kB / 459.4 MB, free: 4.461 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.02054, allocations: 271.6 kB / 459.6 MB, free: 4.195 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005901/0.02644, allocations: 2.517 MB / 462.2 MB, free: 1.68 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.02762, allocations: 1.022 MB / 463.2 MB, free: 0.6602 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.0277, allocations: 29.27 kB / 463.2 MB, free: 0.6289 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1058/0.1335, allocations: 44.51 MB / 0.4958 GB, free: 6.199 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007875/0.1343, allocations: 0.8852 MB / 0.4967 GB, free: 5.312 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.1345, allocations: 164 kB / 0.4968 GB, free: 5.152 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003984/0.1385, allocations: 2.614 MB / 0.4994 GB, free: 2.531 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004554/0.1389, allocations: 0.6899 MB / 0.5001 GB, free: 1.84 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.1393, allocations: 0.534 MB / 0.5006 GB, free: 1.305 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.1439, allocations: 4.097 MB / 0.5046 GB, free: 13.2 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1439, allocations: 0 / 0.5046 GB, free: 13.2 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1439, allocations: 0 / 0.5046 GB, free: 13.2 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.1439, allocations: 0 / 0.5046 GB, free: 13.2 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.003044/0.147, allocations: 2.691 MB / 0.5072 GB, free: 10.47 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.147, allocations: 12.03 kB / 0.5072 GB, free: 10.46 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.1472, allocations: 100.8 kB / 0.5073 GB, free: 10.36 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008466/0.1481, allocations: 0.7794 MB / 0.5081 GB, free: 9.551 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.1481, allocations: 45.67 kB / 0.5081 GB, free: 9.504 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.1483, allocations: 56.31 kB / 0.5082 GB, free: 9.449 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/0.1517, allocations: 2.051 MB / 0.5102 GB, free: 7.355 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1518, allocations: 192 / 0.5102 GB, free: 7.355 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.1519, allocations: 28.06 kB / 0.5102 GB, free: 7.328 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.152, allocations: 137.9 kB / 0.5103 GB, free: 7.195 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004687/0.1567, allocations: 3.251 MB / 0.5135 GB, free: 3.938 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006574/0.1632, allocations: 5.118 MB / 0.5185 GB, free: 14.76 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.1659, allocations: 0.9876 MB / 0.5195 GB, free: 13.76 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1661, allocations: 168.7 kB / 0.5196 GB, free: 13.59 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.1663, allocations: 149.2 kB / 0.5198 GB, free: 13.44 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1664, allocations: 47.88 kB / 0.5198 GB, free: 13.39 MB / 490.8 MB Notification: Performance of pre-optimization done (n=142): time 2.665e-06/0.1664, allocations: 0 / 0.5198 GB, free: 13.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=142): time 0.005528/0.1719, allocations: 2.226 MB / 0.522 GB, free: 11.15 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1719, allocations: 68.66 kB / 0.5221 GB, free: 11.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.1727, allocations: 0.9073 MB / 0.523 GB, free: 10.14 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.1727, allocations: 45.7 kB / 0.523 GB, free: 10.09 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.1729, allocations: 473.5 kB / 0.5235 GB, free: 9.621 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.1732, allocations: 0.4995 MB / 0.5239 GB, free: 9.117 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/0.1736, allocations: 367.2 kB / 0.5243 GB, free: 8.754 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.1737, allocations: 357.8 kB / 0.5246 GB, free: 8.398 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.174, allocations: 190.7 kB / 0.5248 GB, free: 8.211 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.1747, allocations: 0.8486 MB / 0.5256 GB, free: 7.066 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.1758, allocations: 1.288 MB / 0.5269 GB, free: 5.441 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.1758, allocations: 4 kB / 0.5269 GB, free: 5.438 MB / 490.8 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00134/0.1771, allocations: 1.111 MB / 0.528 GB, free: 4.285 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1771, allocations: 12 kB / 0.528 GB, free: 4.273 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.1771, allocations: 24 kB / 0.528 GB, free: 4.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.1772, allocations: 32 kB / 0.5281 GB, free: 4.219 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.1781, allocations: 459.9 kB / 0.5285 GB, free: 3.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-05/0.1781, allocations: 43.86 kB / 0.5285 GB, free: 3.727 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007668/0.1789, allocations: 194.5 kB / 0.5287 GB, free: 3.535 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.179, allocations: 204 kB / 0.5289 GB, free: 3.336 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.0002602/0.1793, allocations: 236 kB / 0.5291 GB, free: 3.094 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.1795, allocations: 115.9 kB / 0.5292 GB, free: 2.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.1814, allocations: 1.427 MB / 0.5306 GB, free: 1.543 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1814, allocations: 16 kB / 0.5307 GB, free: 1.527 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1814, allocations: 3.938 kB / 0.5307 GB, free: 1.523 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1814, allocations: 7.969 kB / 0.5307 GB, free: 1.516 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.182, allocations: 0.5179 MB / 0.5312 GB, free: 0.9766 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.182, allocations: 7.938 kB / 0.5312 GB, free: 0.9688 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.1824, allocations: 263.6 kB / 0.5314 GB, free: 0.7109 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1824, allocations: 8 kB / 0.5314 GB, free: 0.7031 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.1825, allocations: 51.95 kB / 0.5315 GB, free: 0.6523 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1825, allocations: 4 kB / 0.5315 GB, free: 0.6484 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1825, allocations: 0 / 0.5315 GB, free: 0.6484 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.1832, allocations: 0.6477 MB / 0.5321 GB, free: 15.98 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.1835, allocations: 318.6 kB / 0.5324 GB, free: 15.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.1836, allocations: 28 kB / 0.5325 GB, free: 15.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.1839, allocations: 20 kB / 0.5325 GB, free: 15.62 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.184, allocations: 105.1 kB / 0.5326 GB, free: 15.52 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.1842, allocations: 168 kB / 0.5327 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00038/0.1845, allocations: 446.8 kB / 0.5332 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.1845, allocations: 0 / 0.5332 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0009544/0.1855, allocations: 0.5345 MB / 0.5337 GB, free: 14.37 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.001471/0.187, allocations: 0.9671 MB / 0.5346 GB, free: 13.51 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0008817/0.1879, allocations: 0.7674 MB / 0.5354 GB, free: 12.75 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-05/0.1879, allocations: 17.81 kB / 0.5354 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.1882, allocations: 342.7 kB / 0.5357 GB, free: 12.39 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.1889, allocations: 331.1 kB / 0.536 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1908, allocations: 1.757 MB / 0.5378 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.191, allocations: 287.9 kB / 0.538 GB, free: 9.973 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001748/0.1928, allocations: 0.9654 MB / 0.539 GB, free: 9.004 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.1938, allocations: 0.569 MB / 0.5395 GB, free: 8.434 MB / 0.4949 GB Notification: Performance of SimCode: time 7.21e-07/0.1938, allocations: 0 / 0.5395 GB, free: 8.434 MB / 0.4949 GB Notification: Performance of Templates: time 0.02516/0.219, allocations: 26.46 MB / 0.5654 GB, free: 13.93 MB / 0.5262 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.29203930310905]