Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_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.001968/0.001968, 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.00238/0.00238, allocations: 214.4 kB / 22.25 MB, free: 3.578 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.706/1.706, allocations: 230.6 MB / 256 MB, free: 9.59 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.561/1.561, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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_30_g_ttx,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_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.005576/0.005576, allocations: 69.33 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1879, allocations: 74 MB / 0.8472 GB, free: 4.91 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx): time 0.003923/0.1919, allocations: 1.809 MB / 0.849 GB, free: 3.102 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1934, allocations: 0.5497 MB / 0.8495 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.1935, allocations: 0 / 0.8495 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1936, allocations: 12.45 kB / 0.8495 GB, free: 2.539 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.194, allocations: 60.8 kB / 0.8496 GB, free: 2.48 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1942, allocations: 69.77 kB / 0.8497 GB, free: 2.414 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.1946, allocations: 164 kB / 0.8498 GB, free: 2.254 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.1946, allocations: 5.906 kB / 0.8498 GB, free: 2.25 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.1948, allocations: 71.7 kB / 0.8499 GB, free: 2.18 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.1951, allocations: 84.27 kB / 0.85 GB, free: 2.098 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.1951, allocations: 8.625 kB / 0.85 GB, free: 2.09 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.44e-05/0.1951, allocations: 4 kB / 0.85 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.1952, allocations: 40.45 kB / 0.85 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.1953, allocations: 44.52 kB / 0.8501 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1955, allocations: 99.56 kB / 0.8502 GB, free: 1.906 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1956, allocations: 0.625 kB / 0.8502 GB, free: 1.906 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1956, allocations: 0 / 0.8502 GB, free: 1.906 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1956, allocations: 0.5 kB / 0.8502 GB, free: 1.906 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.0009673/0.1965, allocations: 389.3 kB / 0.8505 GB, free: 1.492 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1966, allocations: 12.03 kB / 0.8506 GB, free: 1.48 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.1966, allocations: 17.47 kB / 0.8506 GB, free: 1.465 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1969, allocations: 146.9 kB / 0.8507 GB, free: 1.297 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1969, allocations: 5 kB / 0.8507 GB, free: 1.293 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.1969, allocations: 16.84 kB / 0.8507 GB, free: 1.277 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.1972, allocations: 106.1 kB / 0.8508 GB, free: 1.168 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1972, allocations: 3.938 kB / 0.8508 GB, free: 1.164 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1972, allocations: 4.625 kB / 0.8508 GB, free: 1.16 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1973, allocations: 4 kB / 0.8508 GB, free: 1.156 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.1975, allocations: 77.14 kB / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.1981, allocations: 280.9 kB / 0.8512 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.1985, allocations: 143.1 kB / 0.8513 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1987, allocations: 50.66 kB / 0.8514 GB, free: 0.5781 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1987, allocations: 7.938 kB / 0.8514 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.199, allocations: 120.2 kB / 0.8515 GB, free: 456 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.199, allocations: 0 / 0.8515 GB, free: 456 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006363/0.1997, allocations: 202.7 kB / 0.8517 GB, free: 248 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1997, allocations: 51.41 kB / 0.8517 GB, free: 184 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1999, allocations: 158.6 kB / 0.8519 GB, free: 20 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.2, allocations: 29.7 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.2001, allocations: 108.1 kB / 0.852 GB, free: 15.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.2001, allocations: 45.02 kB / 0.8521 GB, free: 15.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.288e-05/0.2002, allocations: 41.7 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.2004, allocations: 322.8 kB / 0.8524 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.2006, allocations: 84.22 kB / 0.8525 GB, free: 15.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.2009, allocations: 202.1 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.2013, allocations: 140.8 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2013, allocations: 0 / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005146/0.2018, allocations: 246 kB / 0.8531 GB, free: 14.74 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.2018, allocations: 29.7 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2018, allocations: 1.719 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2019, allocations: 4 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.202, allocations: 23.98 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.202, allocations: 0 / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2022, allocations: 28.89 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.2023, allocations: 8.594 kB / 0.8531 GB, free: 14.64 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.0001363/0.2024, allocations: 130.3 kB / 0.8533 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.2024, allocations: 8.578 kB / 0.8533 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.2029, allocations: 175.1 kB / 0.8534 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2029, allocations: 4.781 kB / 0.8534 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2029, allocations: 0 / 0.8534 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2029, allocations: 4.734 kB / 0.8535 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2031, allocations: 149.2 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2031, allocations: 0.5625 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.2033, allocations: 27.92 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2033, allocations: 0.6562 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2033, allocations: 4.594 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2033, allocations: 0 / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2033, allocations: 4.5 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.2039, allocations: 254 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.204, allocations: 12.52 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.204, allocations: 0.625 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2041, allocations: 24.47 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.2042, allocations: 11.92 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2042, allocations: 8.641 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001243/0.2044, allocations: 119.2 kB / 0.854 GB, free: 13.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2044, allocations: 0.5 kB / 0.854 GB, free: 13.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002241/0.2046, allocations: 32.53 kB / 0.8541 GB, free: 13.63 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.0001591/0.2047, allocations: 99.97 kB / 0.8542 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.2053, allocations: 218.2 kB / 0.8544 GB, free: 13.3 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2053, allocations: 0.625 kB / 0.8544 GB, free: 13.3 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.2054, allocations: 63.64 kB / 0.8544 GB, free: 13.24 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.2061, allocations: 56.34 kB / 0.8545 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/0.2069, allocations: 326.9 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.207, allocations: 98.88 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.2071, allocations: 24.3 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.2072, allocations: 16.03 kB / 0.8549 GB, free: 12.69 MB / 490.8 MB Notification: Performance of SimCode: time 4.21e-07/0.2072, allocations: 0.5 kB / 0.8549 GB, free: 12.69 MB / 490.8 MB Notification: Performance of Templates: time 0.3113/0.5185, allocations: 2.627 MB / 0.8575 GB, free: 28.25 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_30_g_ttx.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.55110152810812]