Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.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.002445/0.002445, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.002797/0.002797, allocations: 218.5 kB / 22.25 MB, free: 3.566 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.661/1.661, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.416/1.416, allocations: 316.7 MB / 0.6144 GB, free: 93.54 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite") [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.003943/0.003943, allocations: 69.48 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1623, allocations: 74 MB / 0.8473 GB, free: 5.129 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite): time 0.005716/0.168, allocations: 3.062 MB / 0.8503 GB, free: 2.062 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.17, allocations: 0.6994 MB / 0.851 GB, free: 1.371 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.1702, allocations: 4 kB / 0.851 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.1704, allocations: 36.2 kB / 0.851 GB, free: 1.332 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.1708, allocations: 124.2 kB / 0.8511 GB, free: 1.211 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1712, allocations: 84.56 kB / 0.8512 GB, free: 1.129 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007201/0.1719, allocations: 418.6 kB / 0.8516 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.1721, allocations: 58.12 kB / 0.8517 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.1724, allocations: 148.1 kB / 0.8518 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.1728, allocations: 151.8 kB / 0.8519 GB, free: 376 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 7.621e-05/0.1729, allocations: 32 kB / 0.852 GB, free: 344 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.173, allocations: 36.56 kB / 0.852 GB, free: 308 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.1731, allocations: 60.3 kB / 0.8521 GB, free: 248 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.1733, allocations: 151.3 kB / 0.8522 GB, free: 96 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000659/0.174, allocations: 347.2 kB / 0.8525 GB, free: 15.75 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.174, allocations: 0.625 kB / 0.8525 GB, free: 15.75 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.205e-06/0.174, allocations: 0 / 0.8525 GB, free: 15.75 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.174, allocations: 0.7188 kB / 0.8525 GB, free: 15.75 MB / 490.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.001573/0.1756, allocations: 0.6095 MB / 0.8531 GB, free: 15.1 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1756, allocations: 15.89 kB / 0.8531 GB, free: 15.08 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1757, allocations: 37.92 kB / 0.8532 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.1762, allocations: 233 kB / 0.8534 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1763, allocations: 12.81 kB / 0.8534 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.1763, allocations: 32.8 kB / 0.8534 GB, free: 14.75 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00082/0.1772, allocations: 301 kB / 0.8537 GB, free: 14.43 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.1772, allocations: 4.578 kB / 0.8537 GB, free: 14.43 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.1772, allocations: 9.812 kB / 0.8538 GB, free: 14.42 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.1772, allocations: 4 kB / 0.8538 GB, free: 14.41 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.178, allocations: 244.4 kB / 0.854 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.1797, allocations: 0.6526 MB / 0.8546 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/0.1807, allocations: 271.2 kB / 0.8549 GB, free: 13.19 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.1811, allocations: 160.6 kB / 0.855 GB, free: 13.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1811, allocations: 8.812 kB / 0.855 GB, free: 13.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008159/0.182, allocations: 373.6 kB / 0.8554 GB, free: 12.6 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.765e-06/0.182, allocations: 0 / 0.8554 GB, free: 12.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.367/0.549, allocations: 1.112 MB / 0.8565 GB, free: 28.29 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.5491, allocations: 227.1 kB / 0.8567 GB, free: 28.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.5493, allocations: 251.5 kB / 0.8569 GB, free: 27.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.5493, allocations: 39.62 kB / 0.857 GB, free: 27.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.5494, allocations: 156.8 kB / 0.8571 GB, free: 27.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.5495, allocations: 126.7 kB / 0.8573 GB, free: 27.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.5496, allocations: 69.31 kB / 0.8573 GB, free: 27.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.5496, allocations: 351.6 kB / 0.8577 GB, free: 27.42 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.5499, allocations: 218.6 kB / 0.8579 GB, free: 27.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.5502, allocations: 328 kB / 0.8582 GB, free: 27.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.5507, allocations: 451.2 kB / 0.8586 GB, free: 26.83 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5507, allocations: 0.75 kB / 0.8586 GB, free: 26.83 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007302/0.5515, allocations: 0.574 MB / 0.8592 GB, free: 26.59 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.5515, allocations: 95.39 kB / 0.8593 GB, free: 26.49 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.5515, allocations: 2.062 kB / 0.8593 GB, free: 26.49 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.5515, allocations: 4.406 kB / 0.8593 GB, free: 26.49 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.5519, allocations: 82.88 kB / 0.8593 GB, free: 26.49 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.5519, allocations: 7.281 kB / 0.8593 GB, free: 26.49 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.5521, allocations: 21.92 kB / 0.8594 GB, free: 26.49 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.5521, allocations: 19.44 kB / 0.8594 GB, free: 26.49 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.0002486/0.5524, allocations: 242.1 kB / 0.8596 GB, free: 26.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.5524, allocations: 29.2 kB / 0.8596 GB, free: 26.29 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.678e-05/0.5525, allocations: 34.67 kB / 0.8597 GB, free: 26.28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5525, allocations: 3.219 kB / 0.8597 GB, free: 26.28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.5525, allocations: 1.781 kB / 0.8597 GB, free: 26.28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.5525, allocations: 7.656 kB / 0.8597 GB, free: 26.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5536, allocations: 0.8157 MB / 0.8605 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5536, allocations: 0 / 0.8605 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.5538, allocations: 57.94 kB / 0.8605 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5538, allocations: 5.984 kB / 0.8605 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.5539, allocations: 7.844 kB / 0.8606 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5539, allocations: 2 kB / 0.8606 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5539, allocations: 0.625 kB / 0.8606 GB, free: 25.91 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.5548, allocations: 0.7634 MB / 0.8613 GB, free: 25.56 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.5549, allocations: 55.66 kB / 0.8614 GB, free: 25.55 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.555, allocations: 12.59 kB / 0.8614 GB, free: 25.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.5552, allocations: 16.59 kB / 0.8614 GB, free: 25.55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.5553, allocations: 33.7 kB / 0.8614 GB, free: 25.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.5553, allocations: 14.77 kB / 0.8614 GB, free: 25.55 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001488/0.5555, allocations: 185.5 kB / 0.8616 GB, free: 25.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5555, allocations: 4.469 kB / 0.8616 GB, free: 25.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003593/0.5558, allocations: 89.19 kB / 0.8617 GB, free: 25.46 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.0001335/0.556, allocations: 122.4 kB / 0.8618 GB, free: 25.37 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006919/0.5567, allocations: 0.6002 MB / 0.8624 GB, free: 25.01 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5567, allocations: 0 / 0.8624 GB, free: 25.01 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.557, allocations: 317.4 kB / 0.8627 GB, free: 24.81 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.5575, allocations: 91.02 kB / 0.8628 GB, free: 24.81 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.5592, allocations: 1.04 MB / 0.8638 GB, free: 24.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.5593, allocations: 161.4 kB / 0.864 GB, free: 24.25 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.5595, allocations: 37.38 kB / 0.864 GB, free: 24.24 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.5596, allocations: 27.98 kB / 0.864 GB, free: 24.23 MB / 490.8 MB Notification: Performance of SimCode: time 7.51e-07/0.5596, allocations: 0 / 0.864 GB, free: 24.23 MB / 490.8 MB Notification: Performance of Templates: time 0.01155/0.5711, allocations: 5.288 MB / 0.8692 GB, free: 23.71 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.9114763990510255]