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.00108/0.00108, allocations: 72.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002596, allocations: 455.9 kB / 10.35 MB, free: 344 kB / 10.45 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.001185/0.001185, allocations: 161.1 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002651, allocations: 471.7 kB / 11.7 MB, free: 2.465 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.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09667/1.16, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.7683/0.7683, allocations: 291.2 MB / 0.5227 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03748/0.8058, allocations: 21.05 MB / 0.5432 GB, free: 31.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.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.853e-06/1.853e-06, allocations: 0 / 0.5446 GB, free: 30.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.046e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.4 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference): time 0.003437/0.003467, allocations: 1.948 MB / 0.5465 GB, free: 28.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004497, allocations: 0.5755 MB / 0.5471 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.004569, allocations: 3.938 kB / 0.5471 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.852e-05/0.004638, allocations: 7.922 kB / 0.5471 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.00495, allocations: 67.42 kB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.005172, allocations: 67.83 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.005432, allocations: 172 kB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.883e-05/0.005491, allocations: 5.969 kB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.005702, allocations: 115.7 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.005966, allocations: 75.78 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.006003, allocations: 8 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-05/0.006032, allocations: 8 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.006093, allocations: 23.92 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.00615, allocations: 27.94 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.006315, allocations: 75.73 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.00633, allocations: 0 / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006331, allocations: 3.938 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.006348, allocations: 0 / 0.5477 GB, free: 27.21 MB / 410.7 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.0007335/0.007082, allocations: 392.1 kB / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.007129, allocations: 11.89 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.007189, allocations: 20.92 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.007387, allocations: 154.8 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.007414, allocations: 4.375 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.007448, allocations: 8.375 kB / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.007637, allocations: 69.03 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.007649, allocations: 3.938 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.007662, allocations: 8 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.007669, allocations: 0 / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.023e-05/0.007729, allocations: 27.97 kB / 0.5484 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.008107, allocations: 197.8 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.008261, allocations: 114.9 kB / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.0083, allocations: 16.86 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.008324, allocations: 4 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.008482, allocations: 98.22 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.008484, allocations: 3.938 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001927/0.008676, allocations: 85.66 kB / 0.5489 GB, free: 25.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.008711, allocations: 59.41 kB / 0.5489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.008811, allocations: 146.6 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.008829, allocations: 33.7 kB / 0.5491 GB, free: 25.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.008871, allocations: 92.08 kB / 0.5492 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.008908, allocations: 47.83 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.008969, allocations: 45.64 kB / 0.5493 GB, free: 25.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.009017, allocations: 330.7 kB / 0.5496 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.009075, allocations: 44.53 kB / 0.5496 GB, free: 25.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.009152, allocations: 161.2 kB / 0.5498 GB, free: 24.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.735e-05/0.009239, allocations: 84.17 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.009241, allocations: 4 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001462/0.009388, allocations: 150.6 kB / 0.55 GB, free: 24.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.009423, allocations: 33.7 kB / 0.55 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.00943, allocations: 0 / 0.55 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.009441, allocations: 0 / 0.55 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.009592, allocations: 31.92 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.009596, allocations: 4 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.835e-05/0.009694, allocations: 18.73 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.009705, allocations: 0 / 0.5501 GB, free: 24.52 MB / 410.7 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 6.731e-05/0.009773, allocations: 124.6 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.009794, allocations: 15.92 kB / 0.5502 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.009949, allocations: 98.36 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.009953, allocations: 4.031 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.009955, allocations: 0 / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.00996, allocations: 7.984 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.01009, allocations: 101.8 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.0101, allocations: 0 / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.0102, allocations: 23.98 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.01022, allocations: 11.95 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01022, allocations: 3.938 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01023, allocations: 4 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01024, allocations: 0 / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01024, allocations: 4 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.0104, allocations: 134.6 kB / 0.5506 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01042, allocations: 11.94 kB / 0.5506 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.01048, allocations: 4 kB / 0.5506 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.01053, allocations: 15.97 kB / 0.5506 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.01053, allocations: 12.02 kB / 0.5506 GB, free: 23.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.01057, allocations: 43.94 kB / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01057, allocations: 0 / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001169/0.01069, allocations: 28 kB / 0.5507 GB, free: 23.83 MB / 410.7 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.0001201/0.01081, allocations: 87.98 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.01097, allocations: 157.8 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.01098, allocations: 4 kB / 0.551 GB, free: 23.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.01104, allocations: 49.52 kB / 0.551 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.01121, allocations: 50.45 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/0.01753, allocations: 350.2 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.01757, allocations: 71.83 kB / 0.5515 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.01767, allocations: 13.5 kB / 0.5515 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.0178, allocations: 91.27 kB / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0178, allocations: 0 / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of Templates: time 0.01108/0.02888, allocations: 2.738 MB / 0.5542 GB, free: 20.23 MB / 410.7 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercurySelenide.MercurySelenide_Ewald2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.55734568182379]