Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.conf.json 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.005477/0.005477, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.005744/0.005744, allocations: 219.6 kB / 22.25 MB, free: 3.562 MB / 13.93 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 1.779/1.779, allocations: 230.6 MB / 256 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.452/1.452, allocations: 316.7 MB / 0.6144 GB, free: 93.06 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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) Running command: translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00436/0.00436, allocations: 73.39 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1759, allocations: 73.99 MB / 0.8473 GB, free: 4.867 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury): time 0.004003/0.1799, allocations: 1.823 MB / 0.849 GB, free: 3.047 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1813, allocations: 0.5499 MB / 0.8496 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1815, allocations: 0 / 0.8496 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1816, allocations: 16.34 kB / 0.8496 GB, free: 2.48 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.1821, allocations: 64.92 kB / 0.8496 GB, free: 2.418 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1823, allocations: 61.78 kB / 0.8497 GB, free: 2.359 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.1827, allocations: 167.3 kB / 0.8499 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.1827, allocations: 5.906 kB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1829, allocations: 72.47 kB / 0.8499 GB, free: 2.121 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.1832, allocations: 79.72 kB / 0.85 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.1832, allocations: 8.531 kB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.553e-05/0.1833, allocations: 8.531 kB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.1834, allocations: 35.89 kB / 0.8501 GB, free: 1.992 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.1835, allocations: 48.41 kB / 0.8501 GB, free: 1.945 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1836, allocations: 96.08 kB / 0.8502 GB, free: 1.852 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1837, allocations: 0 / 0.8502 GB, free: 1.852 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1837, allocations: 0.625 kB / 0.8502 GB, free: 1.852 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1837, allocations: 0.5938 kB / 0.8502 GB, free: 1.852 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009544/0.1846, allocations: 388.7 kB / 0.8506 GB, free: 1.438 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1847, allocations: 12.62 kB / 0.8506 GB, free: 1.426 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.1847, allocations: 13.38 kB / 0.8506 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.185, allocations: 158.8 kB / 0.8508 GB, free: 1.234 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.185, allocations: 12.91 kB / 0.8508 GB, free: 1.223 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.1851, allocations: 16.73 kB / 0.8508 GB, free: 1.207 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.1854, allocations: 98.06 kB / 0.8509 GB, free: 1.109 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1854, allocations: 0 / 0.8509 GB, free: 1.109 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1854, allocations: 12.78 kB / 0.8509 GB, free: 1.098 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1854, allocations: 0 / 0.8509 GB, free: 1.098 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.1857, allocations: 81.12 kB / 0.851 GB, free: 1.02 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.1863, allocations: 280.3 kB / 0.8512 GB, free: 0.7148 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.1867, allocations: 135.5 kB / 0.8514 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.1869, allocations: 53.78 kB / 0.8514 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1869, allocations: 5.438 kB / 0.8514 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.1873, allocations: 111.3 kB / 0.8515 GB, free: 404 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1873, allocations: 0 / 0.8515 GB, free: 404 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006487/0.1879, allocations: 204.1 kB / 0.8517 GB, free: 196 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.188, allocations: 51.41 kB / 0.8518 GB, free: 132 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1882, allocations: 157.5 kB / 0.8519 GB, free: 15.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.1882, allocations: 33.7 kB / 0.8519 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.1883, allocations: 105.2 kB / 0.852 GB, free: 15.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.1884, allocations: 43.64 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.1884, allocations: 41.7 kB / 0.8521 GB, free: 15.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1886, allocations: 328.5 kB / 0.8524 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.1888, allocations: 77.66 kB / 0.8525 GB, free: 15.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1891, allocations: 208.4 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.1895, allocations: 135.2 kB / 0.8528 GB, free: 14.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1895, allocations: 1.094 kB / 0.8528 GB, free: 14.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005031/0.19, allocations: 244.1 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.19, allocations: 33.7 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.19, allocations: 4.531 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.19, allocations: 0.8438 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.1902, allocations: 28.53 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1902, allocations: 11.86 kB / 0.8532 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1904, allocations: 29.09 kB / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1904, allocations: 0 / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001291/0.1905, allocations: 122.5 kB / 0.8533 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.1906, allocations: 16.44 kB / 0.8533 GB, free: 14.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.191, allocations: 178.9 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.191, allocations: 0.625 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.191, allocations: 0.5 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.191, allocations: 0 / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.1912, allocations: 149.9 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1912, allocations: 0 / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1914, allocations: 24.61 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1914, allocations: 0.6875 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.1914, allocations: 11.92 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1914, allocations: 4.594 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1914, allocations: 0.7188 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.1923, allocations: 253 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.1924, allocations: 24.45 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.1924, allocations: 4.625 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1925, allocations: 12.67 kB / 0.854 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.1926, allocations: 15.97 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1926, allocations: 4.5 kB / 0.854 GB, free: 13.72 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1927, allocations: 119.9 kB / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1927, allocations: 0 / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002238/0.193, allocations: 32.59 kB / 0.8541 GB, free: 13.57 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001462/0.1931, allocations: 100.3 kB / 0.8542 GB, free: 13.47 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004926/0.1936, allocations: 217.6 kB / 0.8544 GB, free: 13.24 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1936, allocations: 0.5938 kB / 0.8544 GB, free: 13.24 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.1938, allocations: 60.52 kB / 0.8545 GB, free: 13.18 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1941, allocations: 42.34 kB / 0.8545 GB, free: 13.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008428/0.195, allocations: 322.2 kB / 0.8548 GB, free: 12.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.1951, allocations: 107.2 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.1952, allocations: 20.92 kB / 0.8549 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.1952, allocations: 23.42 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of SimCode: time 1.001e-06/0.1952, allocations: 4.656 kB / 0.855 GB, free: 12.63 MB / 490.8 MB Notification: Performance of Templates: time 0.3291/0.5243, allocations: 2.625 MB / 0.8575 GB, free: 28.17 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Methylmercury.Methylmercury.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.630164957139641]