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.002456/0.002456, 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.003299/0.003299, allocations: 174.3 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.737/1.737, allocations: 177.1 MB / 202.8 MB, free: 5.754 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: 49.82 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.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.863e-06/1.863e-06, allocations: 0 / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.077e-05, allocations: 5.234 kB / 0.6999 GB, free: 8.57 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference): time 0.003179/0.00321, allocations: 3.033 MB / 0.7029 GB, free: 5.516 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.004272, allocations: 0.7014 MB / 0.7036 GB, free: 4.812 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.004393, allocations: 4 kB / 0.7036 GB, free: 4.809 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.00452, allocations: 39.56 kB / 0.7036 GB, free: 4.77 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.004752, allocations: 130.9 kB / 0.7037 GB, free: 4.641 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.004967, allocations: 91.78 kB / 0.7038 GB, free: 4.551 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.005277, allocations: 429.8 kB / 0.7042 GB, free: 4.129 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.005416, allocations: 61.41 kB / 0.7043 GB, free: 4.07 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.005611, allocations: 219.5 kB / 0.7045 GB, free: 3.855 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.005831, allocations: 127.6 kB / 0.7046 GB, free: 3.73 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.00587, allocations: 35.94 kB / 0.7046 GB, free: 3.695 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.395e-05/0.005924, allocations: 32 kB / 0.7047 GB, free: 3.664 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.005967, allocations: 63.7 kB / 0.7047 GB, free: 3.602 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.006082, allocations: 123.8 kB / 0.7049 GB, free: 3.48 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.006365, allocations: 366.9 kB / 0.7052 GB, free: 3.121 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006368, allocations: 4 kB / 0.7052 GB, free: 3.117 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006369, allocations: 0 / 0.7052 GB, free: 3.117 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006374, allocations: 0 / 0.7052 GB, free: 3.117 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.0008903/0.007265, allocations: 0.6115 MB / 0.7058 GB, free: 2.457 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.007295, allocations: 8.031 kB / 0.7058 GB, free: 2.449 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.007367, allocations: 36.7 kB / 0.7058 GB, free: 2.414 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.007615, allocations: 228.8 kB / 0.7061 GB, free: 2.168 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.007635, allocations: 16.88 kB / 0.7061 GB, free: 2.152 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.00768, allocations: 28.33 kB / 0.7061 GB, free: 2.125 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.008125, allocations: 306.2 kB / 0.7064 GB, free: 1.797 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.008147, allocations: 4 kB / 0.7064 GB, free: 1.793 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.00817, allocations: 4 kB / 0.7064 GB, free: 1.789 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.008176, allocations: 8 kB / 0.7064 GB, free: 1.781 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.008611, allocations: 248.2 kB / 0.7066 GB, free: 1.527 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.009505, allocations: 0.6504 MB / 0.7073 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.01007, allocations: 274 kB / 0.7075 GB, free: 0.5508 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.01029, allocations: 156.5 kB / 0.7077 GB, free: 392 kB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.01031, allocations: 0 / 0.7077 GB, free: 392 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.01072, allocations: 375.4 kB / 0.7081 GB, free: 15.96 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.01072, allocations: 0 / 0.7081 GB, free: 15.96 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002358/0.01308, allocations: 1.131 MB / 0.7092 GB, free: 14.74 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.01325, allocations: 221.6 kB / 0.7094 GB, free: 14.47 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.01356, allocations: 257.9 kB / 0.7096 GB, free: 14.21 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.01361, allocations: 41.64 kB / 0.7097 GB, free: 14.17 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.01375, allocations: 156.8 kB / 0.7098 GB, free: 14.01 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.01387, allocations: 119 kB / 0.7099 GB, free: 13.89 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.01402, allocations: 74.19 kB / 0.71 GB, free: 13.81 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.0142, allocations: 342.8 kB / 0.7103 GB, free: 13.47 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.0146, allocations: 219.9 kB / 0.7105 GB, free: 13.23 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.01506, allocations: 326.8 kB / 0.7108 GB, free: 12.85 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/0.0158, allocations: 454.2 kB / 0.7113 GB, free: 12.34 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.0158, allocations: 4 kB / 0.7113 GB, free: 12.33 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009833/0.01678, allocations: 0.5768 MB / 0.7118 GB, free: 11.71 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/0.01688, allocations: 97.03 kB / 0.7119 GB, free: 11.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.01689, allocations: 4.344 kB / 0.7119 GB, free: 11.59 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.01691, allocations: 8 kB / 0.7119 GB, free: 11.59 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.01724, allocations: 75.89 kB / 0.712 GB, free: 11.51 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.01725, allocations: 4 kB / 0.712 GB, free: 11.51 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.0175, allocations: 31.95 kB / 0.712 GB, free: 11.48 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.01753, allocations: 19.94 kB / 0.7121 GB, free: 11.46 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.000317/0.01785, allocations: 240.3 kB / 0.7123 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.0179, allocations: 31.81 kB / 0.7123 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.239e-05/0.01798, allocations: 38.95 kB / 0.7124 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01799, allocations: 4 kB / 0.7124 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01799, allocations: 0 / 0.7124 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.018, allocations: 3.984 kB / 0.7124 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.01944, allocations: 0.8172 MB / 0.7132 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01944, allocations: 4 kB / 0.7132 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.01977, allocations: 51.97 kB / 0.7132 GB, free: 10.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.01978, allocations: 4 kB / 0.7132 GB, free: 10.19 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.01982, allocations: 15.98 kB / 0.7132 GB, free: 10.18 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01982, allocations: 3.938 kB / 0.7132 GB, free: 10.17 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01982, allocations: 0 / 0.7132 GB, free: 10.17 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.02112, allocations: 0.7678 MB / 0.714 GB, free: 9.352 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.02126, allocations: 55.78 kB / 0.714 GB, free: 9.297 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.02133, allocations: 12 kB / 0.7141 GB, free: 9.285 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.02154, allocations: 23.98 kB / 0.7141 GB, free: 9.262 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.02165, allocations: 27.94 kB / 0.7141 GB, free: 9.234 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.02168, allocations: 15.94 kB / 0.7141 GB, free: 9.219 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002285/0.02191, allocations: 189.2 kB / 0.7143 GB, free: 9.035 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02191, allocations: 0 / 0.7143 GB, free: 9.035 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003879/0.0223, allocations: 84 kB / 0.7144 GB, free: 8.953 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.0001835/0.02248, allocations: 126.5 kB / 0.7145 GB, free: 8.824 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.02381, allocations: 0.5881 MB / 0.7151 GB, free: 8.168 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.02382, allocations: 0 / 0.7151 GB, free: 8.168 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.02429, allocations: 314.1 kB / 0.7154 GB, free: 7.824 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.02489, allocations: 100.2 kB / 0.7155 GB, free: 7.727 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.02676, allocations: 0.8578 MB / 0.7163 GB, free: 6.832 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.02695, allocations: 168.2 kB / 0.7165 GB, free: 6.645 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.0271, allocations: 34.97 kB / 0.7165 GB, free: 6.609 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.02719, allocations: 28.5 kB / 0.7165 GB, free: 6.582 MB / 426.8 MB Notification: Performance of SimCode: time 4.4e-07/0.02719, allocations: 4 kB / 0.7165 GB, free: 6.578 MB / 426.8 MB Notification: Performance of Templates: time 0.2268/0.254, allocations: 4.814 MB / 0.7212 GB, free: 35.49 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.377857441082597]