Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.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.001943/0.001943, allocations: 109.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.002054/0.002054, allocations: 215.6 kB / 22.25 MB, free: 3.574 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.742/1.742, allocations: 230.6 MB / 256 MB, free: 9.629 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.392/1.392, allocations: 316.7 MB / 0.6144 GB, free: 93.43 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.MercurySelenide.MercurySelenide_Ewald2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference") [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.0039/0.0039, allocations: 73.73 kB / 0.775 GB, free: 14.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1733, allocations: 74 MB / 0.8472 GB, free: 5.109 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference): time 0.003302/0.1766, allocations: 1.811 MB / 0.849 GB, free: 3.301 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1778, allocations: 0.5379 MB / 0.8495 GB, free: 2.762 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.1779, allocations: 0.625 kB / 0.8495 GB, free: 2.762 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.178, allocations: 19.84 kB / 0.8495 GB, free: 2.742 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.1783, allocations: 64.83 kB / 0.8496 GB, free: 2.68 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1785, allocations: 58.31 kB / 0.8497 GB, free: 2.625 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.1788, allocations: 163.3 kB / 0.8498 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.1788, allocations: 7.938 kB / 0.8498 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.179, allocations: 79.69 kB / 0.8499 GB, free: 2.383 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1792, allocations: 79.72 kB / 0.85 GB, free: 2.305 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.1793, allocations: 8 kB / 0.85 GB, free: 2.297 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.718e-05/0.1793, allocations: 8 kB / 0.85 GB, free: 2.289 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.1794, allocations: 39.77 kB / 0.85 GB, free: 2.25 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.1795, allocations: 48.56 kB / 0.8501 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.1796, allocations: 95.56 kB / 0.8502 GB, free: 2.109 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1796, allocations: 0.6562 kB / 0.8502 GB, free: 2.109 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1796, allocations: 0 / 0.8502 GB, free: 2.109 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1797, allocations: 0.7188 kB / 0.8502 GB, free: 2.109 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.0008981/0.1806, allocations: 396.8 kB / 0.8505 GB, free: 1.688 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1806, allocations: 8.656 kB / 0.8505 GB, free: 1.68 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.1806, allocations: 16.84 kB / 0.8506 GB, free: 1.664 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1809, allocations: 147.6 kB / 0.8507 GB, free: 1.496 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1809, allocations: 12.31 kB / 0.8507 GB, free: 1.484 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.1809, allocations: 12.75 kB / 0.8507 GB, free: 1.473 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.1812, allocations: 98.06 kB / 0.8508 GB, free: 1.371 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1812, allocations: 0.7188 kB / 0.8508 GB, free: 1.371 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1813, allocations: 8 kB / 0.8508 GB, free: 1.363 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1813, allocations: 0.5 kB / 0.8508 GB, free: 1.363 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1816, allocations: 81.03 kB / 0.8509 GB, free: 1.285 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.1821, allocations: 286.4 kB / 0.8512 GB, free: 0.9766 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.1825, allocations: 130.4 kB / 0.8513 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1827, allocations: 52.81 kB / 0.8514 GB, free: 0.7852 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1827, allocations: 0.5938 kB / 0.8514 GB, free: 0.7852 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.183, allocations: 120.7 kB / 0.8515 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.183, allocations: 0 / 0.8515 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000608/0.1836, allocations: 202.7 kB / 0.8517 GB, free: 468 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1837, allocations: 51.41 kB / 0.8517 GB, free: 404 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1839, allocations: 155.4 kB / 0.8519 GB, free: 240 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.1839, allocations: 33.7 kB / 0.8519 GB, free: 200 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9e-05/0.184, allocations: 108.1 kB / 0.852 GB, free: 88 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.184, allocations: 41.7 kB / 0.852 GB, free: 48 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.1841, allocations: 41.7 kB / 0.8521 GB, free: 0 / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1843, allocations: 326.8 kB / 0.8524 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1845, allocations: 81.66 kB / 0.8525 GB, free: 15.59 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.1848, allocations: 203.3 kB / 0.8527 GB, free: 15.35 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.1852, allocations: 142.9 kB / 0.8528 GB, free: 15.21 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1852, allocations: 3.938 kB / 0.8528 GB, free: 15.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005047/0.1857, allocations: 236.8 kB / 0.853 GB, free: 14.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.1857, allocations: 34.42 kB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1857, allocations: 0 / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1857, allocations: 4.578 kB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.1859, allocations: 24.58 kB / 0.8531 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1859, allocations: 224 / 0.8531 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.1861, allocations: 32.44 kB / 0.8531 GB, free: 14.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1861, allocations: 12.45 kB / 0.8531 GB, free: 14.84 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.000139/0.1862, allocations: 130.4 kB / 0.8533 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.1863, allocations: 12.45 kB / 0.8533 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.1868, allocations: 171.4 kB / 0.8534 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1868, allocations: 0 / 0.8534 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1868, allocations: 0.5469 kB / 0.8534 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1868, allocations: 4.547 kB / 0.8534 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.187, allocations: 153.7 kB / 0.8536 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.187, allocations: 0 / 0.8536 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.1871, allocations: 32.59 kB / 0.8536 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1871, allocations: 0.7188 kB / 0.8536 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1872, allocations: 0 / 0.8536 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1872, allocations: 4.812 kB / 0.8536 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1872, allocations: 0 / 0.8536 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.1878, allocations: 250.2 kB / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.1878, allocations: 16.66 kB / 0.8539 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1878, allocations: 7.938 kB / 0.8539 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.188, allocations: 16.48 kB / 0.8539 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.188, allocations: 12.47 kB / 0.8539 GB, free: 13.99 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.188, allocations: 8.594 kB / 0.8539 GB, free: 13.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1882, allocations: 121.9 kB / 0.854 GB, free: 13.87 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1882, allocations: 0.6562 kB / 0.854 GB, free: 13.87 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002199/0.1884, allocations: 32 kB / 0.8541 GB, free: 13.84 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.0001428/0.1885, allocations: 102.7 kB / 0.8542 GB, free: 13.73 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005135/0.189, allocations: 217.1 kB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.189, allocations: 0.5938 kB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.1892, allocations: 64.39 kB / 0.8544 GB, free: 13.44 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1895, allocations: 44.12 kB / 0.8545 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007812/0.1903, allocations: 330.6 kB / 0.8548 GB, free: 13.05 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.1904, allocations: 99.36 kB / 0.8549 GB, free: 12.94 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.863e-05/0.1905, allocations: 19.92 kB / 0.8549 GB, free: 12.92 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.1906, allocations: 20.11 kB / 0.8549 GB, free: 12.9 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.1906, allocations: 0.75 kB / 0.8549 GB, free: 12.9 MB / 490.8 MB Notification: Performance of Templates: time 0.2854/0.476, allocations: 2.627 MB / 0.8575 GB, free: 28.14 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.465493869967759]