Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine.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.0008796/0.0008796, allocations: 104.3 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.001051/0.001051, allocations: 221.8 kB / 23.01 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.064/1.064, allocations: 230.6 MB / 256.8 MB, free: 9.672 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.7688/0.7688, allocations: 312.3 MB / 0.6108 GB, free: 97.68 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.J05AG04_Etravirine.Etravirine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine") [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.001294/0.001294, allocations: 78.25 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1672, allocations: 73.99 MB / 0.8422 GB, free: 10.29 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine): time 0.004311/0.1715, allocations: 3.021 MB / 0.8451 GB, free: 7.273 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006705/0.1782, allocations: 6.641 MB / 0.8516 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.1784, allocations: 0.625 kB / 0.8516 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1785, allocations: 43.56 kB / 0.8516 GB, free: 0.5898 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1789, allocations: 128.7 kB / 0.8518 GB, free: 476 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1792, allocations: 84.41 kB / 0.8518 GB, free: 392 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.1796, allocations: 410.9 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1798, allocations: 61.62 kB / 0.8523 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1799, allocations: 144 kB / 0.8524 GB, free: 15.78 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.1802, allocations: 147.8 kB / 0.8526 GB, free: 15.63 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.1803, allocations: 32.62 kB / 0.8526 GB, free: 15.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.359e-05/0.1803, allocations: 36 kB / 0.8526 GB, free: 15.57 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.1804, allocations: 72.31 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1805, allocations: 135.4 kB / 0.8528 GB, free: 15.36 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.1809, allocations: 367.3 kB / 0.8532 GB, free: 15 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1809, allocations: 0 / 0.8532 GB, free: 15 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.928e-06/0.1809, allocations: 0.5938 kB / 0.8532 GB, free: 15 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1809, allocations: 4.625 kB / 0.8532 GB, free: 15 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.0009929/0.1819, allocations: 0.6088 MB / 0.8538 GB, free: 14.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.182, allocations: 16.73 kB / 0.8538 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.182, allocations: 37.36 kB / 0.8538 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.1823, allocations: 217.1 kB / 0.854 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1824, allocations: 21.38 kB / 0.8541 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.1824, allocations: 31.89 kB / 0.8541 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.1828, allocations: 297.7 kB / 0.8544 GB, free: 13.69 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1829, allocations: 4.609 kB / 0.8544 GB, free: 13.68 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.1829, allocations: 12.69 kB / 0.8544 GB, free: 13.67 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1829, allocations: 4 kB / 0.8544 GB, free: 13.67 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.1833, allocations: 245.5 kB / 0.8546 GB, free: 13.41 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.1841, allocations: 0.6557 MB / 0.8553 GB, free: 12.73 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.1846, allocations: 268.5 kB / 0.8555 GB, free: 12.45 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.1848, allocations: 157.1 kB / 0.8557 GB, free: 12.28 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.1848, allocations: 4 kB / 0.8557 GB, free: 12.27 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3499/0.5346, allocations: 363.7 kB / 0.856 GB, free: 21.19 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 6.683e-06/0.5346, allocations: 0 / 0.856 GB, free: 21.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001794/0.5364, allocations: 1.14 MB / 0.8571 GB, free: 20.69 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.5365, allocations: 219.7 kB / 0.8573 GB, free: 20.44 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.5368, allocations: 252 kB / 0.8576 GB, free: 20.34 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.5368, allocations: 34.61 kB / 0.8576 GB, free: 20.31 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.5369, allocations: 157.7 kB / 0.8578 GB, free: 20.21 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.537, allocations: 120.6 kB / 0.8579 GB, free: 20.15 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.5371, allocations: 78.12 kB / 0.858 GB, free: 20.13 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.5372, allocations: 344.8 kB / 0.8583 GB, free: 19.82 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.5374, allocations: 224 kB / 0.8585 GB, free: 19.71 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.5377, allocations: 323.1 kB / 0.8588 GB, free: 19.48 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.5381, allocations: 459.1 kB / 0.8592 GB, free: 19.22 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5381, allocations: 0 / 0.8592 GB, free: 19.22 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007391/0.5389, allocations: 0.5733 MB / 0.8598 GB, free: 18.98 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.5389, allocations: 89.23 kB / 0.8599 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5389, allocations: 8.281 kB / 0.8599 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.5389, allocations: 7.938 kB / 0.8599 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.5392, allocations: 83.17 kB / 0.86 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.5392, allocations: 6.781 kB / 0.86 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.5393, allocations: 23.09 kB / 0.86 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.5393, allocations: 15.44 kB / 0.86 GB, free: 18.89 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.0002548/0.5396, allocations: 238.1 kB / 0.8603 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.5396, allocations: 31.44 kB / 0.8603 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.5397, allocations: 36.64 kB / 0.8603 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5397, allocations: 3 kB / 0.8603 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5397, allocations: 2.875 kB / 0.8603 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5397, allocations: 0 / 0.8603 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008519/0.5406, allocations: 0.8181 MB / 0.8611 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5406, allocations: 2.516 kB / 0.8611 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.5408, allocations: 55.14 kB / 0.8612 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.5408, allocations: 3.75 kB / 0.8612 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.5408, allocations: 10.61 kB / 0.8612 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.5408, allocations: 1.922 kB / 0.8612 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5408, allocations: 3.938 kB / 0.8612 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007468/0.5415, allocations: 0.7636 MB / 0.8619 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.5416, allocations: 57.92 kB / 0.862 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.5417, allocations: 12.53 kB / 0.862 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5418, allocations: 20.3 kB / 0.862 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.5419, allocations: 34.3 kB / 0.8621 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.5419, allocations: 14.11 kB / 0.8621 GB, free: 17.95 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001345/0.5421, allocations: 183 kB / 0.8623 GB, free: 17.87 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5421, allocations: 0.625 kB / 0.8623 GB, free: 17.87 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002614/0.5423, allocations: 89.34 kB / 0.8623 GB, free: 17.87 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.0001291/0.5424, allocations: 127.5 kB / 0.8625 GB, free: 17.79 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.543, allocations: 0.5967 MB / 0.863 GB, free: 17.43 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.543, allocations: 2.516 kB / 0.863 GB, free: 17.43 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.5432, allocations: 310.3 kB / 0.8633 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.5437, allocations: 94.25 kB / 0.8634 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.5454, allocations: 1.074 MB / 0.8645 GB, free: 16.71 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.5455, allocations: 163.5 kB / 0.8646 GB, free: 16.63 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-05/0.5456, allocations: 32.34 kB / 0.8647 GB, free: 16.62 MB / 490.8 MB Notification: Performance of SimCode: time 1.403e-06/0.5456, allocations: 0 / 0.8647 GB, free: 16.62 MB / 490.8 MB Notification: Performance of Templates: time 0.009965/0.5556, allocations: 4.352 MB / 0.8689 GB, free: 16.23 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J05A_DirectActingAntivirals.J05AG04_Etravirine.Etravirine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.882746838964522]