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.0009876/0.0009876, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001034/0.001034, allocations: 169.9 kB / 23.21 MB, free: 1.332 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.076/1.076, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7215/0.7215, allocations: 291.1 MB / 0.5382 GB, free: 51.8 MB / 410.7 MB " [Timeout remaining time 179] 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 2.034e-06/2.034e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.493e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a): time 0.001896/0.001921, allocations: 1.828 MB / 0.6991 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006952/0.002616, allocations: 0.5419 MB / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.002671, allocations: 0 / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.002763, allocations: 15.84 kB / 0.6997 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.003074, allocations: 75.47 kB / 0.6997 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.003206, allocations: 66.78 kB / 0.6998 GB, free: 7.844 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.003373, allocations: 167.3 kB / 0.7 GB, free: 7.68 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.003421, allocations: 5.312 kB / 0.7 GB, free: 7.676 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.003534, allocations: 91.78 kB / 0.7001 GB, free: 7.586 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.003732, allocations: 75.77 kB / 0.7001 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.003754, allocations: 8 kB / 0.7001 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.003771, allocations: 8 kB / 0.7001 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.003825, allocations: 31.89 kB / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.003874, allocations: 39.91 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.003992, allocations: 111.6 kB / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003994, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.303e-06/0.003996, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004, allocations: 0 / 0.7003 GB, free: 7.316 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.0005306/0.00453, allocations: 391.5 kB / 0.7007 GB, free: 6.898 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.004566, allocations: 12.03 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.004608, allocations: 12.84 kB / 0.7007 GB, free: 6.875 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.004743, allocations: 150.1 kB / 0.7009 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.004758, allocations: 8.375 kB / 0.7009 GB, free: 6.695 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.004782, allocations: 8.375 kB / 0.7009 GB, free: 6.688 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.004942, allocations: 98.17 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.004951, allocations: 3.938 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.004962, allocations: 0 / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.004968, allocations: 7.984 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.00511, allocations: 75.92 kB / 0.701 GB, free: 6.5 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.005438, allocations: 296.3 kB / 0.7013 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.005653, allocations: 134.4 kB / 0.7015 GB, free: 6.039 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.005733, allocations: 48.83 kB / 0.7015 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.005748, allocations: 4 kB / 0.7015 GB, free: 5.984 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.005911, allocations: 115.2 kB / 0.7016 GB, free: 5.859 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.005913, allocations: 0 / 0.7016 GB, free: 5.859 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003273/0.00624, allocations: 196.9 kB / 0.7018 GB, free: 5.664 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.006264, allocations: 59.61 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.006352, allocations: 159.6 kB / 0.702 GB, free: 5.43 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.006365, allocations: 29.64 kB / 0.702 GB, free: 5.395 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.006408, allocations: 108 kB / 0.7021 GB, free: 5.285 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.006429, allocations: 43.64 kB / 0.7022 GB, free: 5.242 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.006469, allocations: 37.7 kB / 0.7022 GB, free: 5.199 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.048e-05/0.0065, allocations: 318.8 kB / 0.7025 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.791e-05/0.006598, allocations: 89.64 kB / 0.7026 GB, free: 4.785 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.006707, allocations: 206 kB / 0.7028 GB, free: 4.547 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.006864, allocations: 145 kB / 0.703 GB, free: 4.398 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.006867, allocations: 3.938 kB / 0.703 GB, free: 4.395 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002155/0.007082, allocations: 236.8 kB / 0.7032 GB, free: 4.145 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.007108, allocations: 33.69 kB / 0.7032 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007112, allocations: 0 / 0.7032 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.007126, allocations: 8 kB / 0.7032 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.007221, allocations: 31.92 kB / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.007227, allocations: 0 / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.007307, allocations: 15.92 kB / 0.7033 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.007317, allocations: 4 kB / 0.7033 GB, free: 4.047 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 5.406e-05/0.007371, allocations: 129.8 kB / 0.7034 GB, free: 3.91 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.007383, allocations: 11.91 kB / 0.7034 GB, free: 3.898 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.007609, allocations: 174.3 kB / 0.7036 GB, free: 3.727 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.007612, allocations: 4 kB / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.007615, allocations: 0 / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007619, allocations: 0 / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.476e-05/0.007704, allocations: 153.2 kB / 0.7037 GB, free: 3.543 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007706, allocations: 3.938 kB / 0.7037 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.431e-05/0.00779, allocations: 27.97 kB / 0.7038 GB, free: 3.512 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.007792, allocations: 0 / 0.7038 GB, free: 3.512 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.007802, allocations: 0 / 0.7038 GB, free: 3.512 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.007803, allocations: 0 / 0.7038 GB, free: 3.512 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007804, allocations: 4 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.008095, allocations: 256.9 kB / 0.704 GB, free: 3.238 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.008112, allocations: 15.88 kB / 0.704 GB, free: 3.223 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.00813, allocations: 0 / 0.704 GB, free: 3.223 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.008184, allocations: 15.98 kB / 0.704 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.008242, allocations: 11.97 kB / 0.704 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.00825, allocations: 8 kB / 0.704 GB, free: 3.188 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.008295, allocations: 129.3 kB / 0.7042 GB, free: 3.062 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.008295, allocations: 4.062 kB / 0.7042 GB, free: 3.059 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001349/0.00843, allocations: 32 kB / 0.7042 GB, free: 3.027 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 9.812e-05/0.008528, allocations: 99.23 kB / 0.7043 GB, free: 2.918 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.008769, allocations: 215.3 kB / 0.7045 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.00877, allocations: 3.938 kB / 0.7045 GB, free: 2.688 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.008855, allocations: 59.89 kB / 0.7046 GB, free: 2.629 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.009048, allocations: 51.89 kB / 0.7046 GB, free: 2.578 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.009522, allocations: 339.1 kB / 0.7049 GB, free: 2.215 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.009565, allocations: 97.81 kB / 0.705 GB, free: 2.102 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.009611, allocations: 20.48 kB / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of SimCode: time 5.61e-07/0.009612, allocations: 0 / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of Templates: time 0.002353/0.01196, allocations: 2.052 MB / 0.7071 GB, free: 48 kB / 410.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.703794873319566]