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.001049/0.001049, allocations: 92.52 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.001007/0.001007, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.018/1.018, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.6992/0.6992, allocations: 291.2 MB / 0.5382 GB, free: 51.89 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.82e-05, allocations: 10.22 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AF04_Stavudine.Stavudine): time 0.003442/0.00347, allocations: 3.019 MB / 0.7003 GB, free: 7.332 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.009047, allocations: 6.65 MB / 0.7068 GB, free: 0.6719 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.009294, allocations: 0 / 0.7068 GB, free: 0.6719 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.009451, allocations: 43.56 kB / 0.7069 GB, free: 0.6289 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.009756, allocations: 127 kB / 0.707 GB, free: 0.5039 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.01004, allocations: 95.7 kB / 0.7071 GB, free: 420 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.01041, allocations: 433.9 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.0106, allocations: 61.33 kB / 0.7076 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.01087, allocations: 219.5 kB / 0.7078 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.01113, allocations: 123.6 kB / 0.7079 GB, free: 15.59 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.01118, allocations: 32 kB / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.154e-05/0.01123, allocations: 36 kB / 0.708 GB, free: 15.52 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.01128, allocations: 67.7 kB / 0.708 GB, free: 15.46 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.01142, allocations: 119.7 kB / 0.7081 GB, free: 15.34 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.01182, allocations: 362.9 kB / 0.7085 GB, free: 14.98 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01182, allocations: 0 / 0.7085 GB, free: 14.98 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.01183, allocations: 4 kB / 0.7085 GB, free: 14.98 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.01183, allocations: 0 / 0.7085 GB, free: 14.98 MB / 426.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.001015/0.01285, allocations: 0.6076 MB / 0.7091 GB, free: 14.32 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.01289, allocations: 8.031 kB / 0.7091 GB, free: 14.32 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/0.01297, allocations: 40.64 kB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.01329, allocations: 224.7 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.01331, allocations: 12.88 kB / 0.7094 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.01337, allocations: 32.33 kB / 0.7094 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.01385, allocations: 306.2 kB / 0.7097 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.01387, allocations: 0 / 0.7097 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.0139, allocations: 12 kB / 0.7097 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.01391, allocations: 4 kB / 0.7097 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.01434, allocations: 252.2 kB / 0.7099 GB, free: 13.39 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.01537, allocations: 0.6543 MB / 0.7106 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.01594, allocations: 266.7 kB / 0.7108 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.01617, allocations: 160.4 kB / 0.711 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.01619, allocations: 4 kB / 0.711 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004299/0.01662, allocations: 371.4 kB / 0.7113 GB, free: 11.83 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.01662, allocations: 7.938 kB / 0.7113 GB, free: 11.82 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001813/0.01843, allocations: 1.127 MB / 0.7124 GB, free: 10.6 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.01853, allocations: 217.6 kB / 0.7127 GB, free: 10.34 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.01879, allocations: 253.9 kB / 0.7129 GB, free: 10.08 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.01882, allocations: 41.7 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.01892, allocations: 152.9 kB / 0.7131 GB, free: 9.879 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.01901, allocations: 127 kB / 0.7132 GB, free: 9.754 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.01912, allocations: 70.19 kB / 0.7133 GB, free: 9.68 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.01923, allocations: 342.8 kB / 0.7136 GB, free: 9.336 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.01952, allocations: 223.8 kB / 0.7138 GB, free: 9.098 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.01986, allocations: 334.8 kB / 0.7141 GB, free: 8.703 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.02039, allocations: 454.2 kB / 0.7146 GB, free: 8.191 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02039, allocations: 0 / 0.7146 GB, free: 8.191 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007619/0.02115, allocations: 0.5807 MB / 0.7151 GB, free: 7.566 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.896e-05/0.02121, allocations: 89.11 kB / 0.7152 GB, free: 7.461 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.02122, allocations: 4 kB / 0.7152 GB, free: 7.457 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.02124, allocations: 4.344 kB / 0.7152 GB, free: 7.453 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.02151, allocations: 91.81 kB / 0.7153 GB, free: 7.363 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.02152, allocations: 4 kB / 0.7153 GB, free: 7.359 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.0217, allocations: 19.98 kB / 0.7153 GB, free: 7.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.02173, allocations: 16 kB / 0.7153 GB, free: 7.324 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.0002623/0.022, allocations: 243.6 kB / 0.7156 GB, free: 7.066 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.02204, allocations: 39.8 kB / 0.7156 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.0221, allocations: 26.97 kB / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.0221, allocations: 4 kB / 0.7156 GB, free: 6.996 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.02211, allocations: 0 / 0.7156 GB, free: 6.996 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02211, allocations: 3.984 kB / 0.7157 GB, free: 6.992 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.02318, allocations: 0.8173 MB / 0.7164 GB, free: 6.117 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02318, allocations: 0 / 0.7164 GB, free: 6.117 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.02343, allocations: 55.95 kB / 0.7165 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.02343, allocations: 8 kB / 0.7165 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.02346, allocations: 8 kB / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.02346, allocations: 4 kB / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.02347, allocations: 0 / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.0244, allocations: 0.7755 MB / 0.7173 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.02448, allocations: 51.78 kB / 0.7173 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.02452, allocations: 19.98 kB / 0.7173 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.02462, allocations: 15.98 kB / 0.7174 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.0247, allocations: 35.95 kB / 0.7174 GB, free: 5.094 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.02471, allocations: 11.94 kB / 0.7174 GB, free: 5.082 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000114/0.02483, allocations: 185.2 kB / 0.7176 GB, free: 4.902 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02483, allocations: 0 / 0.7176 GB, free: 4.902 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002299/0.02506, allocations: 87.94 kB / 0.7177 GB, free: 4.816 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.0001165/0.02517, allocations: 126.5 kB / 0.7178 GB, free: 4.688 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.02566, allocations: 0.5923 MB / 0.7184 GB, free: 4.027 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.02567, allocations: 4 kB / 0.7184 GB, free: 4.023 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.02588, allocations: 310.1 kB / 0.7187 GB, free: 3.684 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.02624, allocations: 92.8 kB / 0.7188 GB, free: 3.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.02726, allocations: 0.8829 MB / 0.7196 GB, free: 2.664 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.73e-05/0.02735, allocations: 164.2 kB / 0.7198 GB, free: 2.48 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.02742, allocations: 36.48 kB / 0.7198 GB, free: 2.445 MB / 426.8 MB Notification: Performance of SimCode: time 5.92e-07/0.02742, allocations: 0 / 0.7198 GB, free: 2.445 MB / 426.8 MB Notification: Performance of Templates: time 0.1655/0.1929, allocations: 4.372 MB / 0.7241 GB, free: 36.27 MB / 426.8 MB " [Timeout remaining time 660] 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: 5.716086140833795]