Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.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.00241/0.00241, 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.003068/0.003068, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.702/1.702, allocations: 230.6 MB / 256 MB, free: 9.594 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.53/1.53, allocations: 316.7 MB / 0.6144 GB, free: 92.9 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide") [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.00421/0.00421, allocations: 73.52 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1818, allocations: 73.99 MB / 0.8473 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide): time 0.004777/0.1866, allocations: 1.83 MB / 0.849 GB, free: 3.07 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1883, allocations: 0.5421 MB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.1883, allocations: 4 kB / 0.8496 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.1885, allocations: 12.48 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004705/0.1889, allocations: 68.86 kB / 0.8496 GB, free: 2.445 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1892, allocations: 64.64 kB / 0.8497 GB, free: 2.387 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.1896, allocations: 159.9 kB / 0.8499 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.1896, allocations: 5.312 kB / 0.8499 GB, free: 2.227 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1898, allocations: 80.31 kB / 0.8499 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.1901, allocations: 84.25 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.1902, allocations: 8.5 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.1902, allocations: 8 kB / 0.85 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.685e-05/0.1903, allocations: 32.48 kB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1904, allocations: 48.41 kB / 0.8501 GB, free: 1.973 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1907, allocations: 91.58 kB / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1907, allocations: 0.6562 kB / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1907, allocations: 0 / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1907, allocations: 4.625 kB / 0.8502 GB, free: 1.879 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.001102/0.1918, allocations: 393.8 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1918, allocations: 11.89 kB / 0.8506 GB, free: 1.449 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.1919, allocations: 16.84 kB / 0.8506 GB, free: 1.434 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.1922, allocations: 155.3 kB / 0.8508 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1923, allocations: 4.375 kB / 0.8508 GB, free: 1.254 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.1923, allocations: 12.88 kB / 0.8508 GB, free: 1.242 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.1927, allocations: 98.25 kB / 0.8509 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1927, allocations: 0.625 kB / 0.8509 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.1927, allocations: 7.938 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1927, allocations: 8.578 kB / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.1931, allocations: 76.64 kB / 0.851 GB, free: 1.051 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.1939, allocations: 280.8 kB / 0.8512 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.1945, allocations: 135.5 kB / 0.8514 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.1947, allocations: 57.97 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1947, allocations: 0 / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.1951, allocations: 120.3 kB / 0.8515 GB, free: 428 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.1951, allocations: 0 / 0.8515 GB, free: 428 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008755/0.196, allocations: 199 kB / 0.8517 GB, free: 224 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.1961, allocations: 57.31 kB / 0.8518 GB, free: 156 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.1964, allocations: 153.6 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.1964, allocations: 33.7 kB / 0.852 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1965, allocations: 108 kB / 0.8521 GB, free: 15.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.1966, allocations: 43.64 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.1967, allocations: 38.92 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.1969, allocations: 326.8 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.1972, allocations: 82.59 kB / 0.8525 GB, free: 15.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.1976, allocations: 202.1 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.1981, allocations: 147.3 kB / 0.8529 GB, free: 14.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1981, allocations: 4 kB / 0.8529 GB, free: 14.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000685/0.1988, allocations: 232.8 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.1989, allocations: 41.47 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1989, allocations: 0 / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1989, allocations: 0 / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.1992, allocations: 27.92 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1992, allocations: 4 kB / 0.8532 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.1994, allocations: 24.5 kB / 0.8532 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.1994, allocations: 4.047 kB / 0.8532 GB, free: 14.61 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.0001928/0.1996, allocations: 130.7 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.1997, allocations: 14.08 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006446/0.2003, allocations: 177.5 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2003, allocations: 0 / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.2003, allocations: 224 / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2003, allocations: 0.7188 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.2006, allocations: 153.1 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2006, allocations: 0.5938 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.2008, allocations: 31.97 kB / 0.8537 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2008, allocations: 0.7812 kB / 0.8537 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.2008, allocations: 7.938 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2009, allocations: 0.875 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2009, allocations: 0 / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008894/0.2017, allocations: 258 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.2018, allocations: 12.58 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.2018, allocations: 4.5 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.202, allocations: 12.61 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.2021, allocations: 19.97 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.2021, allocations: 4.5 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000169/0.2023, allocations: 122.6 kB / 0.8541 GB, free: 13.63 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2023, allocations: 0 / 0.8541 GB, free: 13.63 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003741/0.2027, allocations: 32.5 kB / 0.8541 GB, free: 13.6 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.0001884/0.2028, allocations: 100.4 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006933/0.2035, allocations: 214 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2035, allocations: 0 / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.2038, allocations: 60.52 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.2043, allocations: 45.89 kB / 0.8545 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2054, allocations: 330.6 kB / 0.8548 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.2055, allocations: 95.55 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.2056, allocations: 23.92 kB / 0.8549 GB, free: 12.69 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.2057, allocations: 20.05 kB / 0.855 GB, free: 12.67 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.2057, allocations: 0.5 kB / 0.855 GB, free: 12.67 MB / 490.8 MB Notification: Performance of Templates: time 0.2734/0.4792, allocations: 2.623 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.475833996897563]