Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine.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.001485/0.001485, allocations: 104.4 kB / 19.71 MB, free: 436 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.00158/0.00158, allocations: 215.5 kB / 23 MB, free: 2.938 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.055/1.055, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7913/0.7913, allocations: 312.3 MB / 0.6108 GB, free: 97.13 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.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine") [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.001293/0.001293, allocations: 67.52 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1563, allocations: 73.99 MB / 0.8422 GB, free: 9.805 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine): time 0.004154/0.1604, allocations: 3.029 MB / 0.8451 GB, free: 6.777 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007202/0.1676, allocations: 6.629 MB / 0.8516 GB, free: 152 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.1679, allocations: 4.5 kB / 0.8516 GB, free: 148 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.168, allocations: 35.58 kB / 0.8516 GB, free: 112 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.1684, allocations: 124.8 kB / 0.8518 GB, free: 15.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1687, allocations: 92.36 kB / 0.8519 GB, free: 15.9 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004137/0.1691, allocations: 414.7 kB / 0.8523 GB, free: 15.49 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1693, allocations: 57.62 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.1695, allocations: 156.1 kB / 0.8525 GB, free: 15.28 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.1698, allocations: 143.9 kB / 0.8526 GB, free: 15.14 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.1698, allocations: 32.5 kB / 0.8526 GB, free: 15.11 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.601e-05/0.1699, allocations: 32 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.1699, allocations: 68.27 kB / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1701, allocations: 144 kB / 0.8529 GB, free: 14.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1704, allocations: 362.6 kB / 0.8532 GB, free: 14.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1704, allocations: 0.5312 kB / 0.8532 GB, free: 14.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1704, allocations: 0.625 kB / 0.8532 GB, free: 14.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1704, allocations: 0 / 0.8532 GB, free: 14.52 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.0009791/0.1714, allocations: 0.6056 MB / 0.8538 GB, free: 13.86 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1715, allocations: 8.625 kB / 0.8538 GB, free: 13.86 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.1715, allocations: 36.7 kB / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.1719, allocations: 229.8 kB / 0.8541 GB, free: 13.57 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.1719, allocations: 16.81 kB / 0.8541 GB, free: 13.55 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.1719, allocations: 32.5 kB / 0.8541 GB, free: 13.52 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.1724, allocations: 309.7 kB / 0.8544 GB, free: 13.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1724, allocations: 4.594 kB / 0.8544 GB, free: 13.19 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.1724, allocations: 4 kB / 0.8544 GB, free: 13.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1724, allocations: 8.656 kB / 0.8544 GB, free: 13.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.1727, allocations: 241 kB / 0.8546 GB, free: 12.93 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009187/0.1737, allocations: 0.6481 MB / 0.8553 GB, free: 12.25 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3408/0.5145, allocations: 275.1 kB / 0.8555 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.5147, allocations: 156.9 kB / 0.8557 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.5147, allocations: 3.812 kB / 0.8557 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.5151, allocations: 373.1 kB / 0.856 GB, free: 20.96 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/0.5151, allocations: 0.7656 kB / 0.856 GB, free: 20.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001413/0.5165, allocations: 1.134 MB / 0.8572 GB, free: 20.46 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.5165, allocations: 220.2 kB / 0.8574 GB, free: 20.21 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.5167, allocations: 256.8 kB / 0.8576 GB, free: 20.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.5168, allocations: 37.98 kB / 0.8576 GB, free: 20.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.5168, allocations: 152.3 kB / 0.8578 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.5169, allocations: 120.2 kB / 0.8579 GB, free: 19.92 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.517, allocations: 78.47 kB / 0.858 GB, free: 19.9 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.517, allocations: 347.2 kB / 0.8583 GB, free: 19.59 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.5172, allocations: 219.4 kB / 0.8585 GB, free: 19.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.5174, allocations: 327.7 kB / 0.8588 GB, free: 19.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.5178, allocations: 458.6 kB / 0.8593 GB, free: 18.99 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5178, allocations: 0 / 0.8593 GB, free: 18.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004959/0.5183, allocations: 0.5706 MB / 0.8598 GB, free: 18.75 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.5183, allocations: 90.95 kB / 0.8599 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5183, allocations: 4.531 kB / 0.8599 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5183, allocations: 7 kB / 0.8599 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.5185, allocations: 83.06 kB / 0.86 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5185, allocations: 13.44 kB / 0.86 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.5187, allocations: 20.27 kB / 0.86 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.5187, allocations: 16.53 kB / 0.8601 GB, free: 18.65 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.0002007/0.5189, allocations: 240.8 kB / 0.8603 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.5189, allocations: 32.91 kB / 0.8603 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.519, allocations: 34.22 kB / 0.8603 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.519, allocations: 7.25 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.519, allocations: 4.359 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.519, allocations: 0 / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.5197, allocations: 0.8132 MB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5197, allocations: 1.203 kB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.5199, allocations: 61.16 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5199, allocations: 0 / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.5199, allocations: 12.56 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.5199, allocations: 8.062 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5199, allocations: 0 / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.5206, allocations: 0.7609 MB / 0.862 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.5207, allocations: 61.41 kB / 0.862 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.5207, allocations: 16.77 kB / 0.8621 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.5208, allocations: 16.75 kB / 0.8621 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.5209, allocations: 31.03 kB / 0.8621 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.5209, allocations: 12.88 kB / 0.8621 GB, free: 17.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001153/0.521, allocations: 186.5 kB / 0.8623 GB, free: 17.63 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.521, allocations: 0.5625 kB / 0.8623 GB, free: 17.63 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002259/0.5213, allocations: 84.91 kB / 0.8624 GB, free: 17.63 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.0001139/0.5214, allocations: 134.8 kB / 0.8625 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005004/0.5219, allocations: 0.5918 MB / 0.8631 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5219, allocations: 0 / 0.8631 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.5221, allocations: 314.1 kB / 0.8634 GB, free: 17.01 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.5225, allocations: 92.27 kB / 0.8635 GB, free: 17.01 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.5238, allocations: 1.069 MB / 0.8645 GB, free: 16.46 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.5239, allocations: 164.1 kB / 0.8647 GB, free: 16.38 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.524, allocations: 33.22 kB / 0.8647 GB, free: 16.36 MB / 490.8 MB Notification: Performance of SimCode: time 1.162e-06/0.524, allocations: 0 / 0.8647 GB, free: 16.36 MB / 490.8 MB Notification: Performance of Templates: time 0.00647/0.5305, allocations: 4.351 MB / 0.8689 GB, free: 15.97 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.719157228246331]