Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.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.001186/0.001186, 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.001436/0.001436, allocations: 166.3 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 0.9617/0.9617, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.8038/0.8038, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.MercurySelenide.MercurySelenide_Ewald2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.867e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference): time 0.001998/0.002027, allocations: 1.825 MB / 0.6991 GB, free: 8.566 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007129/0.00274, allocations: 0.5497 MB / 0.6997 GB, free: 8.012 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.002798, allocations: 0 / 0.6997 GB, free: 8.012 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.366e-05/0.002892, allocations: 11.86 kB / 0.6997 GB, free: 8 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.003217, allocations: 71.47 kB / 0.6997 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.003346, allocations: 71.64 kB / 0.6998 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.003509, allocations: 167.3 kB / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.003554, allocations: 9.297 kB / 0.7 GB, free: 7.691 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.003661, allocations: 91.78 kB / 0.7001 GB, free: 7.602 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.003858, allocations: 75.77 kB / 0.7001 GB, free: 7.527 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.003882, allocations: 8 kB / 0.7001 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.003901, allocations: 8 kB / 0.7001 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.003958, allocations: 27.91 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.004012, allocations: 47.83 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.004136, allocations: 103.7 kB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.00414, allocations: 0 / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.403e-06/0.004141, allocations: 0 / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.004146, allocations: 0 / 0.7003 GB, free: 7.336 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.0005446/0.00469, allocations: 391.5 kB / 0.7007 GB, free: 6.918 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.004728, allocations: 8.031 kB / 0.7007 GB, free: 6.91 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.00477, allocations: 16.84 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.004908, allocations: 146.1 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.004922, allocations: 12.38 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.004946, allocations: 12.38 kB / 0.7009 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.005117, allocations: 98.17 kB / 0.701 GB, free: 6.602 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.005125, allocations: 3.938 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.005136, allocations: 0 / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005141, allocations: 0 / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.005283, allocations: 83.86 kB / 0.7011 GB, free: 6.516 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.005623, allocations: 292.4 kB / 0.7013 GB, free: 6.199 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.00584, allocations: 130.4 kB / 0.7015 GB, free: 6.062 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.005921, allocations: 56.81 kB / 0.7015 GB, free: 6.004 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.005939, allocations: 0 / 0.7015 GB, free: 6.004 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.006115, allocations: 111.3 kB / 0.7016 GB, free: 5.883 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.764e-06/0.006117, allocations: 0 / 0.7016 GB, free: 5.883 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.000333/0.00645, allocations: 201.9 kB / 0.7018 GB, free: 5.68 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.006476, allocations: 55.41 kB / 0.7019 GB, free: 5.613 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.006578, allocations: 163.5 kB / 0.702 GB, free: 5.445 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.00659, allocations: 25.7 kB / 0.702 GB, free: 5.414 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.006631, allocations: 108 kB / 0.7021 GB, free: 5.305 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.006652, allocations: 43.64 kB / 0.7022 GB, free: 5.262 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.006695, allocations: 37.7 kB / 0.7022 GB, free: 5.219 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.368e-05/0.006729, allocations: 322.8 kB / 0.7025 GB, free: 4.895 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.00683, allocations: 81.66 kB / 0.7026 GB, free: 4.809 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.006946, allocations: 207.6 kB / 0.7028 GB, free: 4.57 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.007102, allocations: 144.4 kB / 0.7029 GB, free: 4.422 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007104, allocations: 3.938 kB / 0.7029 GB, free: 4.418 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000228/0.007332, allocations: 236.8 kB / 0.7032 GB, free: 4.168 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.007359, allocations: 33.7 kB / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.007364, allocations: 0 / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.007379, allocations: 4 kB / 0.7032 GB, free: 4.125 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.007482, allocations: 27.92 kB / 0.7032 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.007487, allocations: 7.984 kB / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.007567, allocations: 19.92 kB / 0.7033 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.007577, allocations: 4 kB / 0.7033 GB, free: 4.066 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.928e-05/0.007636, allocations: 126.4 kB / 0.7034 GB, free: 3.934 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.00765, allocations: 11.91 kB / 0.7034 GB, free: 3.922 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.007892, allocations: 178.2 kB / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007895, allocations: 4.031 kB / 0.7036 GB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.0079, allocations: 4 kB / 0.7036 GB, free: 3.742 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.007905, allocations: 3.984 kB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.773e-05/0.007992, allocations: 153.2 kB / 0.7037 GB, free: 3.559 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.007994, allocations: 3.938 kB / 0.7037 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.008083, allocations: 19.98 kB / 0.7037 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.008086, allocations: 0 / 0.7037 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.008095, allocations: 4 kB / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.008097, allocations: 3.984 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008098, allocations: 4 kB / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.008402, allocations: 248.9 kB / 0.704 GB, free: 3.262 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.008421, allocations: 15.88 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.008441, allocations: 11.98 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.008497, allocations: 11.98 kB / 0.704 GB, free: 3.223 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.008558, allocations: 11.98 kB / 0.704 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.008568, allocations: 15.92 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.584e-05/0.008614, allocations: 121.8 kB / 0.7042 GB, free: 3.078 MB / 410.8 MB Notification: Performance of sort global known variables: time 2e-07/0.008614, allocations: 8.062 kB / 0.7042 GB, free: 3.07 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001335/0.008747, allocations: 28 kB / 0.7042 GB, free: 3.043 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.0001014/0.008849, allocations: 99.25 kB / 0.7043 GB, free: 2.934 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.0091, allocations: 219.1 kB / 0.7045 GB, free: 2.703 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.009101, allocations: 3.938 kB / 0.7045 GB, free: 2.699 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.651e-05/0.009188, allocations: 59.89 kB / 0.7046 GB, free: 2.641 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.009393, allocations: 43.89 kB / 0.7046 GB, free: 2.598 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.009894, allocations: 339.2 kB / 0.7049 GB, free: 2.234 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.009937, allocations: 97.8 kB / 0.705 GB, free: 2.121 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.009984, allocations: 16.5 kB / 0.7051 GB, free: 2.102 MB / 410.8 MB Notification: Performance of SimCode: time 3.21e-07/0.009984, allocations: 4 kB / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of Templates: time 0.002496/0.01248, allocations: 2.054 MB / 0.7071 GB, free: 64 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.666626920923591]