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.001839/0.001839, allocations: 84.44 kB / 19.17 MB, free: 0.7266 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.002145/0.002145, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.676/1.676, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.335/1.335, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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.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.453e-06/1.453e-06, allocations: 0 / 0.6999 GB, free: 8.5 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.657e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.496 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline): time 0.003368/0.003395, allocations: 3.021 MB / 0.7029 GB, free: 5.453 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00624/0.009635, allocations: 6.639 MB / 0.7093 GB, free: 14.8 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004152/0.01005, allocations: 0 / 0.7093 GB, free: 14.8 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.01031, allocations: 47.56 kB / 0.7094 GB, free: 14.76 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.0108, allocations: 130.9 kB / 0.7095 GB, free: 14.63 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.0112, allocations: 83.83 kB / 0.7096 GB, free: 14.55 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.01183, allocations: 429.9 kB / 0.71 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.01205, allocations: 73.94 kB / 0.7101 GB, free: 14.05 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.01239, allocations: 215.6 kB / 0.7103 GB, free: 13.84 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.0127, allocations: 131.6 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.01276, allocations: 32 kB / 0.7104 GB, free: 13.68 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.35e-05/0.01282, allocations: 32 kB / 0.7105 GB, free: 13.65 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.229e-05/0.01291, allocations: 71.64 kB / 0.7105 GB, free: 13.58 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.01308, allocations: 123.7 kB / 0.7106 GB, free: 13.46 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.01362, allocations: 363 kB / 0.711 GB, free: 13.11 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.01362, allocations: 0 / 0.711 GB, free: 13.11 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.564e-06/0.01362, allocations: 0 / 0.711 GB, free: 13.11 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.01363, allocations: 0 / 0.711 GB, free: 13.11 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.00162/0.01525, allocations: 0.6037 MB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.01529, allocations: 11.97 kB / 0.7116 GB, free: 12.44 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.01538, allocations: 40.69 kB / 0.7116 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.01573, allocations: 224.7 kB / 0.7118 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.01576, allocations: 12.88 kB / 0.7119 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.01582, allocations: 28.33 kB / 0.7119 GB, free: 12.12 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.01643, allocations: 302.2 kB / 0.7122 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.01645, allocations: 4 kB / 0.7122 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.01648, allocations: 12 kB / 0.7122 GB, free: 11.78 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.01649, allocations: 8 kB / 0.7122 GB, free: 11.77 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.01703, allocations: 248.2 kB / 0.7124 GB, free: 11.52 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.01828, allocations: 0.6505 MB / 0.7131 GB, free: 10.83 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.01899, allocations: 278 kB / 0.7133 GB, free: 10.54 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.0193, allocations: 160.4 kB / 0.7135 GB, free: 10.37 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.01932, allocations: 4 kB / 0.7135 GB, free: 10.36 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005903/0.01991, allocations: 371.4 kB / 0.7138 GB, free: 9.949 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.973e-06/0.01991, allocations: 0 / 0.7138 GB, free: 9.949 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002404/0.02232, allocations: 1.135 MB / 0.715 GB, free: 8.719 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/0.02249, allocations: 217.6 kB / 0.7152 GB, free: 8.457 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.02281, allocations: 257.8 kB / 0.7154 GB, free: 8.199 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.02286, allocations: 33.7 kB / 0.7154 GB, free: 8.16 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.02299, allocations: 152.9 kB / 0.7156 GB, free: 8.004 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/0.02336, allocations: 123 kB / 0.7157 GB, free: 7.883 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.02349, allocations: 70.19 kB / 0.7158 GB, free: 7.809 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.02369, allocations: 346.8 kB / 0.7161 GB, free: 7.461 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.02407, allocations: 219.9 kB / 0.7163 GB, free: 7.227 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.02454, allocations: 330.8 kB / 0.7166 GB, free: 6.836 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/0.02525, allocations: 450.2 kB / 0.7171 GB, free: 6.328 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.02525, allocations: 0 / 0.7171 GB, free: 6.328 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009906/0.02624, allocations: 0.5807 MB / 0.7176 GB, free: 5.703 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.02633, allocations: 96.38 kB / 0.7177 GB, free: 5.594 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.02634, allocations: 4 kB / 0.7177 GB, free: 5.59 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.02636, allocations: 4 kB / 0.7177 GB, free: 5.586 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.02669, allocations: 83.83 kB / 0.7178 GB, free: 5.504 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.0267, allocations: 11.92 kB / 0.7178 GB, free: 5.492 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.02693, allocations: 24.3 kB / 0.7178 GB, free: 5.469 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.02697, allocations: 16 kB / 0.7179 GB, free: 5.453 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.0003154/0.02729, allocations: 248.5 kB / 0.7181 GB, free: 5.195 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.02734, allocations: 31.81 kB / 0.7181 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.02741, allocations: 34.95 kB / 0.7182 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.02742, allocations: 4 kB / 0.7182 GB, free: 5.125 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.02743, allocations: 0 / 0.7182 GB, free: 5.125 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.02743, allocations: 7.984 kB / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.02877, allocations: 0.8173 MB / 0.719 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02877, allocations: 0 / 0.719 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.02908, allocations: 59.89 kB / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.02909, allocations: 4 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.02912, allocations: 8 kB / 0.719 GB, free: 4.172 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.02912, allocations: 0 / 0.719 GB, free: 4.172 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.02912, allocations: 0 / 0.719 GB, free: 4.172 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1934/0.2226, allocations: 0.7725 MB / 0.7198 GB, free: 37.12 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.2228, allocations: 52.91 kB / 0.7198 GB, free: 37.12 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.2229, allocations: 13.91 kB / 0.7198 GB, free: 37.12 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.2232, allocations: 16.78 kB / 0.7199 GB, free: 37.12 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.2233, allocations: 31.7 kB / 0.7199 GB, free: 37.12 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.2233, allocations: 13.52 kB / 0.7199 GB, free: 37.12 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001929/0.2235, allocations: 184.2 kB / 0.7201 GB, free: 37.04 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2235, allocations: 0 / 0.7201 GB, free: 37.04 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004656/0.224, allocations: 89.64 kB / 0.7202 GB, free: 37.04 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.0001379/0.2241, allocations: 126.6 kB / 0.7203 GB, free: 36.95 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007711/0.2249, allocations: 0.585 MB / 0.7209 GB, free: 36.61 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2249, allocations: 1.375 kB / 0.7209 GB, free: 36.61 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.2252, allocations: 310.8 kB / 0.7212 GB, free: 36.42 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.2258, allocations: 92.64 kB / 0.7212 GB, free: 36.42 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.2272, allocations: 0.8673 MB / 0.7221 GB, free: 36 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.2274, allocations: 163.6 kB / 0.7223 GB, free: 35.91 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.2276, allocations: 38.03 kB / 0.7223 GB, free: 35.91 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.2276, allocations: 28 kB / 0.7223 GB, free: 35.9 MB / 426.8 MB Notification: Performance of SimCode: time 3.91e-07/0.2276, allocations: 0 / 0.7223 GB, free: 35.9 MB / 426.8 MB Notification: Performance of Templates: time 0.01174/0.2394, allocations: 4.837 MB / 0.727 GB, free: 35.44 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.129357727011666]