Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_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.001529/0.001529, allocations: 84.53 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.001865/0.001865, allocations: 173.2 kB / 23.21 MB, free: 1.324 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.013/1.013, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.7056/0.7056, allocations: 291.2 MB / 0.5382 GB, free: 51.82 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.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.225e-05, allocations: 9.172 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference): time 0.005927/0.005949, allocations: 3.032 MB / 0.7003 GB, free: 7.301 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009001/0.006849, allocations: 0.7091 MB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.00695, allocations: 4 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.48e-05/0.007025, allocations: 39.56 kB / 0.7011 GB, free: 6.547 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.007206, allocations: 130.9 kB / 0.7012 GB, free: 6.418 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.007335, allocations: 83.89 kB / 0.7013 GB, free: 6.336 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.007543, allocations: 429.9 kB / 0.7017 GB, free: 5.914 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.007641, allocations: 62.06 kB / 0.7017 GB, free: 5.855 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.007767, allocations: 227.4 kB / 0.702 GB, free: 5.633 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.007888, allocations: 127.6 kB / 0.7021 GB, free: 5.508 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.007911, allocations: 32 kB / 0.7021 GB, free: 5.477 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.556e-05/0.007937, allocations: 32 kB / 0.7021 GB, free: 5.445 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.007961, allocations: 67.7 kB / 0.7022 GB, free: 5.379 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.008026, allocations: 123.7 kB / 0.7023 GB, free: 5.258 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.008211, allocations: 355 kB / 0.7027 GB, free: 4.91 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.008213, allocations: 4 kB / 0.7027 GB, free: 4.906 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008214, allocations: 0 / 0.7027 GB, free: 4.906 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.008218, allocations: 0 / 0.7027 GB, free: 4.906 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004729/0.008691, allocations: 0.6076 MB / 0.7033 GB, free: 4.25 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.008726, allocations: 8.031 kB / 0.7033 GB, free: 4.242 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.008781, allocations: 44.69 kB / 0.7033 GB, free: 4.199 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.008973, allocations: 228.6 kB / 0.7035 GB, free: 3.953 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.008989, allocations: 16.88 kB / 0.7035 GB, free: 3.938 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.009023, allocations: 28.33 kB / 0.7036 GB, free: 3.91 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.009305, allocations: 306.2 kB / 0.7039 GB, free: 3.582 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.009319, allocations: 0 / 0.7039 GB, free: 3.582 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.009337, allocations: 15.94 kB / 0.7039 GB, free: 3.566 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.009343, allocations: 4 kB / 0.7039 GB, free: 3.562 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.009594, allocations: 248.2 kB / 0.7041 GB, free: 3.309 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.0102, allocations: 0.6505 MB / 0.7047 GB, free: 2.621 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.01055, allocations: 274 kB / 0.705 GB, free: 2.332 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.01068, allocations: 160.4 kB / 0.7052 GB, free: 2.16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.0107, allocations: 4 kB / 0.7052 GB, free: 2.156 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.01095, allocations: 363.5 kB / 0.7055 GB, free: 1.75 MB / 410.8 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.01096, allocations: 4 kB / 0.7055 GB, free: 1.746 MB / 410.8 MB Notification: Performance of matching and sorting (n=35): time 0.001221/0.01218, allocations: 1.135 MB / 0.7066 GB, free: 0.5156 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.01225, allocations: 221.6 kB / 0.7068 GB, free: 256 kB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.01243, allocations: 250.1 kB / 0.7071 GB, free: 16 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.01246, allocations: 37.7 kB / 0.7071 GB, free: 15.95 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.01255, allocations: 156.8 kB / 0.7073 GB, free: 15.79 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.01263, allocations: 127 kB / 0.7074 GB, free: 15.67 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.01271, allocations: 78.12 kB / 0.7075 GB, free: 15.59 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01282, allocations: 342.8 kB / 0.7078 GB, free: 15.24 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.01304, allocations: 223.9 kB / 0.708 GB, free: 15 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.0133, allocations: 322.9 kB / 0.7083 GB, free: 14.62 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.01373, allocations: 454.1 kB / 0.7087 GB, free: 14.11 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01373, allocations: 4 kB / 0.7087 GB, free: 14.11 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005513/0.01429, allocations: 0.5768 MB / 0.7093 GB, free: 13.48 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.01435, allocations: 94.19 kB / 0.7094 GB, free: 13.38 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01436, allocations: 4 kB / 0.7094 GB, free: 13.37 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01438, allocations: 4 kB / 0.7094 GB, free: 13.37 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.01455, allocations: 80.23 kB / 0.7095 GB, free: 13.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.01457, allocations: 15.92 kB / 0.7095 GB, free: 13.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.01468, allocations: 19.98 kB / 0.7095 GB, free: 13.25 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.0147, allocations: 20 kB / 0.7095 GB, free: 13.23 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0002331/0.01493, allocations: 235.7 kB / 0.7098 GB, free: 12.98 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.01497, allocations: 35.8 kB / 0.7098 GB, free: 12.95 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.01501, allocations: 30.95 kB / 0.7098 GB, free: 12.92 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.01502, allocations: 8 kB / 0.7098 GB, free: 12.91 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.01502, allocations: 0 / 0.7098 GB, free: 12.91 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01503, allocations: 3.984 kB / 0.7098 GB, free: 12.91 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008444/0.01587, allocations: 0.8171 MB / 0.7106 GB, free: 12.04 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01588, allocations: 4 kB / 0.7106 GB, free: 12.03 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.01603, allocations: 63.89 kB / 0.7107 GB, free: 11.97 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01603, allocations: 0 / 0.7107 GB, free: 11.97 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.01605, allocations: 8 kB / 0.7107 GB, free: 11.96 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.01605, allocations: 11.94 kB / 0.7107 GB, free: 11.95 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01605, allocations: 0 / 0.7107 GB, free: 11.95 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.01677, allocations: 0.7716 MB / 0.7115 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.01684, allocations: 51.78 kB / 0.7115 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.01688, allocations: 16 kB / 0.7115 GB, free: 11.06 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.01697, allocations: 19.97 kB / 0.7116 GB, free: 11.04 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.01703, allocations: 31.95 kB / 0.7116 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.01704, allocations: 11.94 kB / 0.7116 GB, free: 11 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001149/0.01716, allocations: 189.2 kB / 0.7118 GB, free: 10.81 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01716, allocations: 0 / 0.7118 GB, free: 10.81 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002298/0.01739, allocations: 88 kB / 0.7119 GB, free: 10.73 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.0001037/0.01749, allocations: 122.9 kB / 0.712 GB, free: 10.6 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.01796, allocations: 0.5888 MB / 0.7125 GB, free: 9.945 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.81e-07/0.01796, allocations: 4.062 kB / 0.7126 GB, free: 9.941 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.01832, allocations: 314 kB / 0.7129 GB, free: 9.598 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.01863, allocations: 88.31 kB / 0.7129 GB, free: 9.512 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.01955, allocations: 0.8829 MB / 0.7138 GB, free: 8.586 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.396e-05/0.01965, allocations: 164.2 kB / 0.714 GB, free: 8.402 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.01971, allocations: 32.5 kB / 0.714 GB, free: 8.371 MB / 426.8 MB Notification: Performance of SimCode: time 4.81e-07/0.01971, allocations: 4 kB / 0.714 GB, free: 8.367 MB / 426.8 MB Notification: Performance of Templates: time 0.004591/0.0243, allocations: 4.379 MB / 0.7183 GB, free: 4.039 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.736718837171793]