Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_mixture.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.009222/0.009222, allocations: 1.788 MB / 21.65 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.5588/0.5588, allocations: 102.5 MB / 127.9 MB, free: 12.33 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.0008887/0.0008887, allocations: 81.58 kB / 159.3 MB, free: 13.03 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.0009584/0.0009584, allocations: 170.5 kB / 162.8 MB, free: 9.609 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.9176/0.9176, allocations: 177.1 MB / 343.2 MB, free: 7.387 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.06877/0.06877, allocations: 18.22 MB / 417.9 MB, free: 12.44 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_mixture,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas_mixture") translateModel(TILMedia.Testers.TestGas_mixture,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas_mixture") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 444.8 MB, free: 0.9648 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.405e-05, allocations: 4.328 kB / 444.8 MB, free: 0.9609 MB / 394.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.007004/0.007018, allocations: 2.351 MB / 447.2 MB, free: 15.4 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.02066/0.02768, allocations: 11.32 MB / 458.5 MB, free: 5.301 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.02783, allocations: 0 / 458.5 MB, free: 5.301 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0006572/0.02849, allocations: 207.5 kB / 458.7 MB, free: 5.098 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.02875, allocations: 208.5 kB / 458.9 MB, free: 4.895 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.03216, allocations: 2.386 MB / 461.3 MB, free: 2.508 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.03276, allocations: 0.696 MB / 462 MB, free: 1.812 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.03282, allocations: 18.84 kB / 462 MB, free: 1.797 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.07008/0.1029, allocations: 29.67 MB / 491.7 MB, free: 6.289 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.1034, allocations: 0.6005 MB / 492.3 MB, free: 5.688 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 9.997e-05/0.1035, allocations: 108 kB / 492.4 MB, free: 5.582 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.1073, allocations: 2.555 MB / 494.9 MB, free: 3.02 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.1076, allocations: 494.9 kB / 495.4 MB, free: 2.535 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.1079, allocations: 379.2 kB / 495.8 MB, free: 2.164 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004172/0.1121, allocations: 3.509 MB / 499.3 MB, free: 14.64 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1121, allocations: 3.984 kB / 499.3 MB, free: 14.64 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1121, allocations: 0 / 499.3 MB, free: 14.64 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1121, allocations: 4 kB / 499.3 MB, free: 14.64 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002421/0.1145, allocations: 2.053 MB / 0.4896 GB, free: 12.55 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1146, allocations: 12.03 kB / 0.4896 GB, free: 12.54 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.1147, allocations: 72.88 kB / 0.4897 GB, free: 12.47 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.1154, allocations: 0.5622 MB / 0.4902 GB, free: 11.89 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1154, allocations: 29.38 kB / 0.4903 GB, free: 11.86 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.085e-05/0.1155, allocations: 40.38 kB / 0.4903 GB, free: 11.82 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.1179, allocations: 1.411 MB / 0.4917 GB, free: 10.38 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1179, allocations: 192 / 0.4917 GB, free: 10.38 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.688e-05/0.118, allocations: 24.11 kB / 0.4917 GB, free: 10.36 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.31e-05/0.1181, allocations: 105.2 kB / 0.4918 GB, free: 10.25 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003318/0.1214, allocations: 2.193 MB / 0.494 GB, free: 8.059 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004796/0.1262, allocations: 3.495 MB / 0.4974 GB, free: 4.516 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.1281, allocations: 0.6664 MB / 0.498 GB, free: 3.84 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1282, allocations: 115.8 kB / 0.4981 GB, free: 3.727 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.1284, allocations: 112.9 kB / 0.4982 GB, free: 3.613 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1284, allocations: 51.55 kB / 0.4983 GB, free: 3.555 MB / 458.8 MB Notification: Performance of pre-optimization done (n=95): time 2.185e-06/0.1284, allocations: 0 / 0.4983 GB, free: 3.555 MB / 458.8 MB Notification: Performance of matching and sorting (n=95): time 0.003654/0.1321, allocations: 1.49 MB / 0.4997 GB, free: 2.055 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1321, allocations: 60.41 kB / 0.4998 GB, free: 1.984 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.1326, allocations: 0.6128 MB / 0.5004 GB, free: 1.359 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.1326, allocations: 41.64 kB / 0.5004 GB, free: 1.312 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1327, allocations: 341.2 kB / 0.5008 GB, free: 0.9727 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.1329, allocations: 341.1 kB / 0.5011 GB, free: 0.6367 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.1332, allocations: 230.7 kB / 0.5013 GB, free: 416 kB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1333, allocations: 398.6 kB / 0.5017 GB, free: 8 kB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.1335, allocations: 129.4 kB / 0.5018 GB, free: 15.88 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/0.1341, allocations: 0.5046 MB / 0.5023 GB, free: 15.2 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.1348, allocations: 0.7952 MB / 0.5031 GB, free: 14.21 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1348, allocations: 4 kB / 0.5031 GB, free: 14.2 MB / 474.8 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0008652/0.1357, allocations: 0.7073 MB / 0.5038 GB, free: 13.46 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1357, allocations: 12.06 kB / 0.5038 GB, free: 13.45 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1357, allocations: 12 kB / 0.5038 GB, free: 13.44 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1357, allocations: 20 kB / 0.5038 GB, free: 13.42 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.1363, allocations: 279.5 kB / 0.5041 GB, free: 13.15 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.1363, allocations: 31.86 kB / 0.5041 GB, free: 13.12 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.1368, allocations: 127 kB / 0.5042 GB, free: 12.99 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.137, allocations: 132 kB / 0.5044 GB, free: 12.86 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (151): * Single equations (assignments): 151 * 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.0001844/0.1371, allocations: 188.2 kB / 0.5045 GB, free: 12.67 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1373, allocations: 79.92 kB / 0.5046 GB, free: 12.59 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.1385, allocations: 0.9571 MB / 0.5056 GB, free: 11.62 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.1386, allocations: 12 kB / 0.5056 GB, free: 11.61 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1386, allocations: 0 / 0.5056 GB, free: 11.61 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1386, allocations: 11.91 kB / 0.5056 GB, free: 11.6 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.139, allocations: 382.1 kB / 0.5059 GB, free: 11.21 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.139, allocations: 0 / 0.5059 GB, free: 11.21 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.1393, allocations: 179.7 kB / 0.5061 GB, free: 11.03 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1393, allocations: 4 kB / 0.5061 GB, free: 11.03 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.1393, allocations: 31.97 kB / 0.5061 GB, free: 11 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1393, allocations: 8 kB / 0.5062 GB, free: 10.99 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1393, allocations: 0 / 0.5062 GB, free: 10.99 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.1398, allocations: 488.1 kB / 0.5066 GB, free: 10.5 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.14, allocations: 215.1 kB / 0.5068 GB, free: 10.29 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/0.1401, allocations: 16 kB / 0.5068 GB, free: 10.27 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1403, allocations: 16 kB / 0.5069 GB, free: 10.25 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.1404, allocations: 68.86 kB / 0.5069 GB, free: 10.18 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.1405, allocations: 108 kB / 0.507 GB, free: 10.08 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0002482/0.1407, allocations: 296.5 kB / 0.5073 GB, free: 9.789 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1407, allocations: 7.938 kB / 0.5073 GB, free: 9.781 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0007462/0.1415, allocations: 407.2 kB / 0.5077 GB, free: 9.383 MB / 474.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 (95): * Single equations (assignments): 95 * 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.001373/0.1428, allocations: 0.8914 MB / 0.5086 GB, free: 8.594 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0006002/0.1434, allocations: 0.4987 MB / 0.5091 GB, free: 8.102 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/0.1434, allocations: 8.5 kB / 0.5091 GB, free: 8.09 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.1439, allocations: 232.4 kB / 0.5093 GB, free: 7.859 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.1444, allocations: 223.5 kB / 0.5095 GB, free: 7.645 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1459, allocations: 1.248 MB / 0.5107 GB, free: 6.363 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.1461, allocations: 212.9 kB / 0.5109 GB, free: 6.133 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001202/0.1473, allocations: 0.6301 MB / 0.5115 GB, free: 5.5 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/0.148, allocations: 414.8 kB / 0.5119 GB, free: 5.094 MB / 474.8 MB Notification: Performance of SimCode: time 7.51e-07/0.148, allocations: 0 / 0.5119 GB, free: 5.094 MB / 474.8 MB Notification: Performance of Templates: time 0.01932/0.1673, allocations: 18.27 MB / 0.5298 GB, free: 2.848 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f TILMedia_TILMedia.Testers.TestGas_mixture.makefile [Timeout 660] (rm -f TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas_mixture.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas_mixture.sim & ./TILMedia_TILMedia.Testers.TestGas_mixture -abortSlowSimulation -alarm=240 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas_mixture.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8798081618733704]