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.0009298/0.0009298, allocations: 104.4 kB / 19.71 MB, free: 440 kB / 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.0009611/0.0009611, allocations: 217.3 kB / 23.01 MB, free: 2.949 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.09/1.09, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.8177/0.8177, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 85.53 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 73.99 MB / 0.8422 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference): time 0.00321/0.13, allocations: 3.039 MB / 0.8451 GB, free: 7.234 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.1309, allocations: 0.699 MB / 0.8458 GB, free: 6.543 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.131, allocations: 8.531 kB / 0.8458 GB, free: 6.535 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.1311, allocations: 31.64 kB / 0.8459 GB, free: 6.504 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1314, allocations: 128.6 kB / 0.846 GB, free: 6.379 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1316, allocations: 80.5 kB / 0.8461 GB, free: 6.301 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.1319, allocations: 418.5 kB / 0.8465 GB, free: 5.891 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1321, allocations: 58.33 kB / 0.8465 GB, free: 5.832 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1322, allocations: 143.5 kB / 0.8466 GB, free: 5.691 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.1325, allocations: 155.7 kB / 0.8468 GB, free: 5.539 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.1325, allocations: 32.62 kB / 0.8468 GB, free: 5.508 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.933e-05/0.1325, allocations: 32 kB / 0.8469 GB, free: 5.477 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.1326, allocations: 60.31 kB / 0.8469 GB, free: 5.418 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1327, allocations: 151.9 kB / 0.8471 GB, free: 5.27 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.133, allocations: 350.7 kB / 0.8474 GB, free: 4.926 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.133, allocations: 0.5 kB / 0.8474 GB, free: 4.926 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.814e-06/0.133, allocations: 0.625 kB / 0.8474 GB, free: 4.926 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.133, allocations: 3.938 kB / 0.8474 GB, free: 4.922 MB / 474.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.0007764/0.1338, allocations: 0.61 MB / 0.848 GB, free: 4.266 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1338, allocations: 11.97 kB / 0.848 GB, free: 4.254 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.1339, allocations: 37.27 kB / 0.848 GB, free: 4.219 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1341, allocations: 225 kB / 0.8483 GB, free: 3.973 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1341, allocations: 17.41 kB / 0.8483 GB, free: 3.957 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.1342, allocations: 36.52 kB / 0.8483 GB, free: 3.922 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.1345, allocations: 301.7 kB / 0.8486 GB, free: 3.602 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1345, allocations: 4 kB / 0.8486 GB, free: 3.598 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1346, allocations: 4.719 kB / 0.8486 GB, free: 3.594 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1346, allocations: 4 kB / 0.8486 GB, free: 3.59 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.1349, allocations: 253.7 kB / 0.8488 GB, free: 3.328 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.1356, allocations: 0.6476 MB / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.136, allocations: 275.4 kB / 0.8497 GB, free: 2.359 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1362, allocations: 165 kB / 0.8499 GB, free: 2.184 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.1362, allocations: 0.6562 kB / 0.8499 GB, free: 2.184 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.1365, allocations: 368 kB / 0.8502 GB, free: 1.773 MB / 474.8 MB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.1365, allocations: 0.5938 kB / 0.8502 GB, free: 1.773 MB / 474.8 MB Notification: Performance of matching and sorting (n=35): time 0.00129/0.1378, allocations: 1.134 MB / 0.8514 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.1379, allocations: 226.2 kB / 0.8516 GB, free: 288 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.138, allocations: 253.9 kB / 0.8518 GB, free: 28 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.1381, allocations: 38.33 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.1381, allocations: 157.4 kB / 0.852 GB, free: 15.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.1382, allocations: 111.1 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.1383, allocations: 78.72 kB / 0.8522 GB, free: 15.63 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.1384, allocations: 346.7 kB / 0.8525 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.1386, allocations: 220.9 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.1388, allocations: 327 kB / 0.853 GB, free: 14.67 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.1392, allocations: 455.3 kB / 0.8535 GB, free: 14.16 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1392, allocations: 0 / 0.8535 GB, free: 14.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000515/0.1397, allocations: 0.5763 MB / 0.854 GB, free: 13.54 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.1397, allocations: 93.72 kB / 0.8541 GB, free: 13.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1397, allocations: 4 kB / 0.8541 GB, free: 13.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1397, allocations: 4.531 kB / 0.8541 GB, free: 13.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.1399, allocations: 76.48 kB / 0.8542 GB, free: 13.35 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1399, allocations: 8.531 kB / 0.8542 GB, free: 13.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.14, allocations: 28.42 kB / 0.8542 GB, free: 13.32 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1401, allocations: 16.59 kB / 0.8543 GB, free: 13.3 MB / 490.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.0001962/0.1402, allocations: 231.8 kB / 0.8545 GB, free: 13.06 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.1403, allocations: 31.81 kB / 0.8545 GB, free: 13.03 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.1403, allocations: 39.67 kB / 0.8545 GB, free: 12.99 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1403, allocations: 4.625 kB / 0.8545 GB, free: 12.99 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1403, allocations: 3.938 kB / 0.8546 GB, free: 12.98 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1403, allocations: 4.562 kB / 0.8546 GB, free: 12.98 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007437/0.1411, allocations: 0.8065 MB / 0.8553 GB, free: 12.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1411, allocations: 8.562 kB / 0.8554 GB, free: 12.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1412, allocations: 52.44 kB / 0.8554 GB, free: 12.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1412, allocations: 0.625 kB / 0.8554 GB, free: 12.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1413, allocations: 20.55 kB / 0.8554 GB, free: 12.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1413, allocations: 3.938 kB / 0.8554 GB, free: 12.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1413, allocations: 4.75 kB / 0.8554 GB, free: 12.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2814/0.4227, allocations: 0.7602 MB / 0.8562 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.4228, allocations: 57.06 kB / 0.8562 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.4229, allocations: 13.22 kB / 0.8562 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.423, allocations: 24.98 kB / 0.8563 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.4231, allocations: 30.83 kB / 0.8563 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.4231, allocations: 9.375 kB / 0.8563 GB, free: 29.46 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001334/0.4232, allocations: 187.5 kB / 0.8565 GB, free: 29.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4232, allocations: 0 / 0.8565 GB, free: 29.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002995/0.4235, allocations: 86.84 kB / 0.8566 GB, free: 29.38 MB / 490.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.0001043/0.4236, allocations: 120.8 kB / 0.8567 GB, free: 29.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.4241, allocations: 0.5911 MB / 0.8573 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4241, allocations: 0 / 0.8573 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.4243, allocations: 319.6 kB / 0.8576 GB, free: 28.76 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.4247, allocations: 88.84 kB / 0.8576 GB, free: 28.76 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.4259, allocations: 1.06 MB / 0.8587 GB, free: 28.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.426, allocations: 165.4 kB / 0.8588 GB, free: 28.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.4261, allocations: 33.84 kB / 0.8589 GB, free: 28.21 MB / 490.8 MB Notification: Performance of SimCode: time 7.11e-07/0.4261, allocations: 0 / 0.8589 GB, free: 28.21 MB / 490.8 MB Notification: Performance of Templates: time 0.005837/0.4319, allocations: 4.352 MB / 0.8631 GB, free: 27.82 MB / 490.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: 6.303076146170497]