Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline.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.001029/0.001029, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.00113/0.00113, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.009/1.009, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7701/0.7701, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.016e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline): time 0.002563/0.002584, allocations: 3.013 MB / 0.7003 GB, free: 7.324 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.006942, allocations: 6.639 MB / 0.7068 GB, free: 0.6758 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.007062, allocations: 4 kB / 0.7068 GB, free: 0.6719 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.007188, allocations: 43.56 kB / 0.7068 GB, free: 0.6289 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.007393, allocations: 130.9 kB / 0.707 GB, free: 0.5 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.007603, allocations: 91.77 kB / 0.707 GB, free: 420 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.007879, allocations: 430 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.008062, allocations: 61.41 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.00827, allocations: 223.5 kB / 0.7077 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.008483, allocations: 127.6 kB / 0.7079 GB, free: 15.58 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.008523, allocations: 32 kB / 0.7079 GB, free: 15.55 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.00856, allocations: 36 kB / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.008607, allocations: 67.69 kB / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.923e-05/0.008706, allocations: 123.6 kB / 0.7081 GB, free: 15.33 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.009019, allocations: 362.9 kB / 0.7084 GB, free: 14.98 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.009022, allocations: 0 / 0.7084 GB, free: 14.98 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009023, allocations: 0 / 0.7084 GB, free: 14.98 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.009028, allocations: 0 / 0.7084 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.0008115/0.009839, allocations: 0.6037 MB / 0.709 GB, free: 14.32 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.009878, allocations: 8.031 kB / 0.709 GB, free: 14.32 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.009944, allocations: 44.69 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.01019, allocations: 224.7 kB / 0.7093 GB, free: 14.03 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.01021, allocations: 12.88 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.01024, allocations: 28.33 kB / 0.7093 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.01059, allocations: 306.2 kB / 0.7096 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.0106, allocations: 3.938 kB / 0.7096 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.01062, allocations: 16 kB / 0.7096 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.01063, allocations: 7.938 kB / 0.7097 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.01092, allocations: 248.2 kB / 0.7099 GB, free: 13.38 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.01166, allocations: 0.6543 MB / 0.7105 GB, free: 12.69 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.01209, allocations: 274 kB / 0.7108 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.01225, allocations: 160.4 kB / 0.7109 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.01226, allocations: 4 kB / 0.7109 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.01258, allocations: 367.4 kB / 0.7113 GB, free: 11.82 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.01258, allocations: 0 / 0.7113 GB, free: 11.82 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001329/0.01391, allocations: 1.139 MB / 0.7124 GB, free: 10.58 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.014, allocations: 217.6 kB / 0.7126 GB, free: 10.32 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.01418, allocations: 253.9 kB / 0.7129 GB, free: 10.07 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.01421, allocations: 33.7 kB / 0.7129 GB, free: 10.03 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.01429, allocations: 156.8 kB / 0.713 GB, free: 9.867 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.01435, allocations: 119.1 kB / 0.7132 GB, free: 9.75 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.01443, allocations: 70.19 kB / 0.7132 GB, free: 9.676 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.01451, allocations: 350.8 kB / 0.7136 GB, free: 9.324 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.01471, allocations: 219.8 kB / 0.7138 GB, free: 9.09 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.01495, allocations: 330.8 kB / 0.7141 GB, free: 8.699 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.01531, allocations: 450.2 kB / 0.7145 GB, free: 8.191 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01531, allocations: 0 / 0.7145 GB, free: 8.191 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005101/0.01582, allocations: 0.5808 MB / 0.7151 GB, free: 7.566 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.01587, allocations: 93.09 kB / 0.7152 GB, free: 7.457 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01588, allocations: 4 kB / 0.7152 GB, free: 7.453 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.01589, allocations: 4 kB / 0.7152 GB, free: 7.449 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.01606, allocations: 83.83 kB / 0.7153 GB, free: 7.367 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.01607, allocations: 7.984 kB / 0.7153 GB, free: 7.359 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.01618, allocations: 20.23 kB / 0.7153 GB, free: 7.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.0162, allocations: 23.98 kB / 0.7153 GB, free: 7.316 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.0001877/0.01639, allocations: 240.3 kB / 0.7155 GB, free: 7.062 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.01642, allocations: 31.81 kB / 0.7156 GB, free: 7.031 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.01646, allocations: 30.95 kB / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01646, allocations: 4 kB / 0.7156 GB, free: 6.996 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01646, allocations: 0 / 0.7156 GB, free: 6.996 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.01647, allocations: 7.984 kB / 0.7156 GB, free: 6.988 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.01719, allocations: 0.8211 MB / 0.7164 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.0172, allocations: 0 / 0.7164 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.01735, allocations: 55.95 kB / 0.7165 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.01736, allocations: 4 kB / 0.7165 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.01738, allocations: 8 kB / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01738, allocations: 0 / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01738, allocations: 7.875 kB / 0.7165 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.01804, allocations: 0.7757 MB / 0.7172 GB, free: 5.207 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.01812, allocations: 47.78 kB / 0.7173 GB, free: 5.16 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.01816, allocations: 16 kB / 0.7173 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01826, allocations: 19.97 kB / 0.7173 GB, free: 5.125 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.01835, allocations: 35.94 kB / 0.7174 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.01837, allocations: 11.94 kB / 0.7174 GB, free: 5.078 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001246/0.01849, allocations: 185.2 kB / 0.7175 GB, free: 4.898 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01849, allocations: 0 / 0.7175 GB, free: 4.898 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002339/0.01873, allocations: 92 kB / 0.7176 GB, free: 4.809 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.0001426/0.01887, allocations: 122.9 kB / 0.7177 GB, free: 4.684 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.01943, allocations: 0.5881 MB / 0.7183 GB, free: 4.027 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01943, allocations: 4.688 kB / 0.7183 GB, free: 4.023 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.01969, allocations: 318.1 kB / 0.7186 GB, free: 3.676 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.02006, allocations: 95.25 kB / 0.7187 GB, free: 3.582 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.02125, allocations: 0.8907 MB / 0.7196 GB, free: 2.648 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.892e-05/0.02135, allocations: 164.2 kB / 0.7197 GB, free: 2.465 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.02142, allocations: 28.5 kB / 0.7198 GB, free: 2.438 MB / 426.8 MB Notification: Performance of SimCode: time 6.51e-07/0.02142, allocations: 0 / 0.7198 GB, free: 2.438 MB / 426.8 MB Notification: Performance of Templates: time 0.2023/0.2237, allocations: 4.37 MB / 0.724 GB, free: 36.18 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.665330519899726]