Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx.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.005588/0.005588, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.005944/0.005944, allocations: 218.2 kB / 22.25 MB, free: 3.688 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.711/1.711, allocations: 230.6 MB / 256 MB, free: 9.582 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.494/1.494, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx") [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.004092/0.004092, allocations: 77.06 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1563, allocations: 73.99 MB / 0.8473 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx): time 0.003657/0.1599, allocations: 1.815 MB / 0.849 GB, free: 3.059 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1612, allocations: 0.5377 MB / 0.8496 GB, free: 2.52 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.1612, allocations: 0.75 kB / 0.8496 GB, free: 2.52 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.97e-05/0.1613, allocations: 15.86 kB / 0.8496 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.1617, allocations: 69.09 kB / 0.8496 GB, free: 2.438 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1619, allocations: 57.72 kB / 0.8497 GB, free: 2.383 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.1621, allocations: 168.1 kB / 0.8499 GB, free: 2.219 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.1622, allocations: 5.312 kB / 0.8499 GB, free: 2.215 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1623, allocations: 80.31 kB / 0.8499 GB, free: 2.137 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.1626, allocations: 79.72 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.1626, allocations: 8.656 kB / 0.85 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.234e-05/0.1626, allocations: 12.56 kB / 0.85 GB, free: 2.039 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.1627, allocations: 31.84 kB / 0.8501 GB, free: 2.008 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.1628, allocations: 52.36 kB / 0.8501 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.163, allocations: 91.58 kB / 0.8502 GB, free: 1.867 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.163, allocations: 0.5 kB / 0.8502 GB, free: 1.867 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.163, allocations: 0.5625 kB / 0.8502 GB, free: 1.867 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.163, allocations: 0.5625 kB / 0.8502 GB, free: 1.867 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.0008948/0.1639, allocations: 397.4 kB / 0.8506 GB, free: 1.445 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1639, allocations: 8.031 kB / 0.8506 GB, free: 1.438 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.164, allocations: 16.84 kB / 0.8506 GB, free: 1.422 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1642, allocations: 151.9 kB / 0.8508 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1642, allocations: 8.375 kB / 0.8508 GB, free: 1.242 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.1643, allocations: 12.12 kB / 0.8508 GB, free: 1.23 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1646, allocations: 98.73 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1646, allocations: 4 kB / 0.8509 GB, free: 1.129 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1646, allocations: 4 kB / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1646, allocations: 0 / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1649, allocations: 86.72 kB / 0.851 GB, free: 1.043 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.1655, allocations: 276.3 kB / 0.8512 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.1659, allocations: 134.4 kB / 0.8513 GB, free: 0.6016 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.166, allocations: 55.03 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1661, allocations: 0 / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1664, allocations: 115.3 kB / 0.8515 GB, free: 432 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1664, allocations: 0 / 0.8515 GB, free: 432 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006407/0.167, allocations: 202.8 kB / 0.8517 GB, free: 224 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.1671, allocations: 51.41 kB / 0.8518 GB, free: 160 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1673, allocations: 158.6 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.1673, allocations: 33.7 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1674, allocations: 108.6 kB / 0.852 GB, free: 15.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.1674, allocations: 43.62 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.1675, allocations: 42.39 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1677, allocations: 326.8 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.1679, allocations: 82.25 kB / 0.8525 GB, free: 15.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.1682, allocations: 198.8 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.1686, allocations: 146.1 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1686, allocations: 0.5938 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004901/0.1691, allocations: 241.4 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.1691, allocations: 34.2 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1691, allocations: 0.5938 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1691, allocations: 0.5625 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1693, allocations: 28.53 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1693, allocations: 3.938 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.1695, allocations: 28.44 kB / 0.8532 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1695, allocations: 4.719 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.0001251/0.1696, allocations: 128 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.1697, allocations: 14.11 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.1701, allocations: 170.4 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.1701, allocations: 3.938 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1701, allocations: 3.984 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1701, allocations: 10.41 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.1703, allocations: 149.2 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1703, allocations: 0 / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1705, allocations: 27.98 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1705, allocations: 0 / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1705, allocations: 11.98 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1705, allocations: 0.5625 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1705, allocations: 0.5312 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.1712, allocations: 252.4 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.1712, allocations: 21.09 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.1712, allocations: 4 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1714, allocations: 12.83 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.1714, allocations: 15.97 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.1714, allocations: 4 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1716, allocations: 122.4 kB / 0.8541 GB, free: 13.63 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1716, allocations: 0.5625 kB / 0.8541 GB, free: 13.63 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002201/0.1718, allocations: 33.59 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.000139/0.1719, allocations: 99.25 kB / 0.8542 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004994/0.1724, allocations: 213.5 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1724, allocations: 0.625 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.1726, allocations: 64.61 kB / 0.8545 GB, free: 13.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1729, allocations: 49.64 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007723/0.1737, allocations: 322.6 kB / 0.8548 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.1738, allocations: 103.3 kB / 0.8549 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.456e-05/0.1739, allocations: 20.73 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.174, allocations: 15.44 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.174, allocations: 4.531 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of Templates: time 0.2853/0.4593, allocations: 2.631 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_45_g_ttx.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.60702464915812]