Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.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.001833/0.001833, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.003055/0.003055, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.709/1.709, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.356/1.356, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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_15_g_ttx_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6999 GB, free: 8.52 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.18e-05, allocations: 4.672 kB / 0.6999 GB, free: 8.516 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a): time 0.007406/0.007438, allocations: 1.807 MB / 0.7017 GB, free: 6.691 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.008758, allocations: 0.5536 MB / 0.7022 GB, free: 6.133 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.927e-05/0.008858, allocations: 3.938 kB / 0.7022 GB, free: 6.129 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.008969, allocations: 11.86 kB / 0.7022 GB, free: 6.117 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.0094, allocations: 67.55 kB / 0.7023 GB, free: 6.051 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.009631, allocations: 59.83 kB / 0.7023 GB, free: 5.992 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.009895, allocations: 175.2 kB / 0.7025 GB, free: 5.82 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.009951, allocations: 9.297 kB / 0.7025 GB, free: 5.812 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.01013, allocations: 91.78 kB / 0.7026 GB, free: 5.723 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005314/0.01545, allocations: 75.78 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.01549, allocations: 8 kB / 0.7027 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.292e-05/0.01552, allocations: 8 kB / 0.7027 GB, free: 5.633 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.552e-05/0.01559, allocations: 35.83 kB / 0.7027 GB, free: 5.598 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.143e-05/0.01568, allocations: 39.91 kB / 0.7028 GB, free: 5.559 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.01586, allocations: 99.67 kB / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.01586, allocations: 0 / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01586, allocations: 0 / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01587, allocations: 0 / 0.7029 GB, free: 5.461 MB / 410.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.0008965/0.01676, allocations: 399.5 kB / 0.7032 GB, free: 5.035 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.0168, allocations: 11.97 kB / 0.7032 GB, free: 5.023 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.01687, allocations: 16.84 kB / 0.7033 GB, free: 5.008 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.01709, allocations: 150.1 kB / 0.7034 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.01711, allocations: 8.375 kB / 0.7034 GB, free: 4.828 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.01714, allocations: 8.359 kB / 0.7034 GB, free: 4.82 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.01748, allocations: 102.2 kB / 0.7035 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01749, allocations: 3.938 kB / 0.7035 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.01751, allocations: 4 kB / 0.7035 GB, free: 4.707 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01752, allocations: 0 / 0.7035 GB, free: 4.707 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.01788, allocations: 79.92 kB / 0.7036 GB, free: 4.629 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.02146, allocations: 288.3 kB / 0.7039 GB, free: 4.316 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.02194, allocations: 134.4 kB / 0.704 GB, free: 4.176 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.02215, allocations: 56.81 kB / 0.7041 GB, free: 4.117 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.02217, allocations: 4 kB / 0.7041 GB, free: 4.113 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.0225, allocations: 107.3 kB / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.0225, allocations: 0 / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0007392/0.02324, allocations: 204.7 kB / 0.7044 GB, free: 3.793 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.02328, allocations: 59.39 kB / 0.7044 GB, free: 3.723 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.02343, allocations: 157 kB / 0.7046 GB, free: 3.562 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.02346, allocations: 29.7 kB / 0.7046 GB, free: 3.527 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.02351, allocations: 108.1 kB / 0.7047 GB, free: 3.418 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.02355, allocations: 43.64 kB / 0.7047 GB, free: 3.375 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.02364, allocations: 37.7 kB / 0.7048 GB, free: 3.332 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.204e-05/0.02369, allocations: 322.8 kB / 0.7051 GB, free: 3.008 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.02394, allocations: 81.66 kB / 0.7052 GB, free: 2.922 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.02723, allocations: 198.1 kB / 0.7054 GB, free: 2.691 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.02763, allocations: 149.4 kB / 0.7055 GB, free: 2.539 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02763, allocations: 7.938 kB / 0.7055 GB, free: 2.531 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005705/0.0282, allocations: 236.8 kB / 0.7057 GB, free: 2.281 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.02823, allocations: 33.7 kB / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.02824, allocations: 0 / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.02826, allocations: 0 / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.02848, allocations: 27.92 kB / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.02849, allocations: 7.984 kB / 0.7058 GB, free: 2.207 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.02871, allocations: 19.92 kB / 0.7058 GB, free: 2.188 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.02873, allocations: 8 kB / 0.7058 GB, free: 2.18 MB / 410.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 9.75e-05/0.02883, allocations: 127 kB / 0.7059 GB, free: 2.047 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.02886, allocations: 11.91 kB / 0.706 GB, free: 2.035 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.02941, allocations: 170.3 kB / 0.7061 GB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.02941, allocations: 3.938 kB / 0.7061 GB, free: 1.863 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02942, allocations: 0 / 0.7061 GB, free: 1.863 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.02942, allocations: 3.984 kB / 0.7061 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.02958, allocations: 145.2 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.02959, allocations: 12.16 kB / 0.7063 GB, free: 1.676 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.0298, allocations: 23.98 kB / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.02981, allocations: 3.938 kB / 0.7063 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.02982, allocations: 4 kB / 0.7063 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.02983, allocations: 3.984 kB / 0.7063 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02983, allocations: 0 / 0.7063 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.03356, allocations: 248.9 kB / 0.7065 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.0336, allocations: 23.88 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.03364, allocations: 7.984 kB / 0.7066 GB, free: 1.348 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.03383, allocations: 11.98 kB / 0.7066 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.03391, allocations: 11.98 kB / 0.7066 GB, free: 1.324 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.03392, allocations: 11.98 kB / 0.7066 GB, free: 1.312 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001015/0.03403, allocations: 123.1 kB / 0.7067 GB, free: 1.191 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.03403, allocations: 0 / 0.7067 GB, free: 1.191 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003531/0.03438, allocations: 32 kB / 0.7068 GB, free: 1.16 MB / 410.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.0001291/0.03451, allocations: 99.25 kB / 0.7069 GB, free: 1.051 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005381/0.03505, allocations: 219.6 kB / 0.7071 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03505, allocations: 4 kB / 0.7071 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.03528, allocations: 62.89 kB / 0.7071 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.03569, allocations: 43.92 kB / 0.7072 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.03951, allocations: 309.5 kB / 0.7075 GB, free: 396 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.92e-05/0.03958, allocations: 97.8 kB / 0.7076 GB, free: 280 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.03972, allocations: 21.48 kB / 0.7076 GB, free: 256 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.03979, allocations: 16.5 kB / 0.7076 GB, free: 240 kB / 410.8 MB Notification: Performance of SimCode: time 5.61e-07/0.03979, allocations: 0 / 0.7076 GB, free: 240 kB / 410.8 MB Notification: Performance of Templates: time 0.01156/0.05135, allocations: 2.508 MB / 0.71 GB, free: 13.84 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.914074499858543]