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.00112/0.00112, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001647/0.002767, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001175/0.001175, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002736, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09952/1.104, allocations: 53.67 MB / 243.3 MB, free: 15.58 MB / 250.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.8262/0.8262, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03065/0.8568, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.162e-06/1.162e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.918e-06/1.108e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline): time 0.002677/0.002688, allocations: 3.312 MB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.007158, allocations: 6.809 MB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.007306, allocations: 0 / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.124e-05/0.007377, allocations: 43.56 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.007563, allocations: 130.9 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.00773, allocations: 79.84 kB / 0.5547 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.007984, allocations: 445.8 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.00811, allocations: 71.36 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.008317, allocations: 266.5 kB / 0.5554 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.008482, allocations: 127.6 kB / 0.5556 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.008514, allocations: 32 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.949e-05/0.008543, allocations: 32 kB / 0.5556 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.008575, allocations: 47.81 kB / 0.5557 GB, free: 19.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.622e-05/0.008651, allocations: 103.8 kB / 0.5558 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.008848, allocations: 223.2 kB / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.008862, allocations: 0 / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.008862, allocations: 4 kB / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.008875, allocations: 0 / 0.556 GB, free: 18.81 MB / 410.7 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.0006011/0.009476, allocations: 0.6434 MB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.009507, allocations: 15.84 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.009559, allocations: 40.89 kB / 0.5567 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.009745, allocations: 197.5 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.009763, allocations: 12.88 kB / 0.5569 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.009795, allocations: 32.33 kB / 0.5569 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.009998, allocations: 250.1 kB / 0.5571 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01001, allocations: 3.984 kB / 0.5571 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.01002, allocations: 8 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.01003, allocations: 4 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.01014, allocations: 130.6 kB / 0.5573 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.01063, allocations: 473.9 kB / 0.5577 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.01084, allocations: 183.1 kB / 0.5579 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.0109, allocations: 111 kB / 0.558 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.01091, allocations: 7.938 kB / 0.558 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.01109, allocations: 327.4 kB / 0.5583 GB, free: 16.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.293e-06/0.01109, allocations: 0 / 0.5583 GB, free: 16.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007397/0.01183, allocations: 0.8346 MB / 0.5592 GB, free: 15.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.01187, allocations: 277 kB / 0.5594 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2956/0.3075, allocations: 228.5 kB / 0.5596 GB, free: 78.76 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.3076, allocations: 37.95 kB / 0.5597 GB, free: 78.73 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.3076, allocations: 136.4 kB / 0.5598 GB, free: 78.65 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.3077, allocations: 120.4 kB / 0.5599 GB, free: 78.61 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.3077, allocations: 74.89 kB / 0.56 GB, free: 78.59 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.3078, allocations: 343.8 kB / 0.5603 GB, free: 78.28 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.3079, allocations: 150.4 kB / 0.5605 GB, free: 78.18 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.308, allocations: 252.5 kB / 0.5607 GB, free: 77.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.3082, allocations: 339.5 kB / 0.561 GB, free: 77.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3082, allocations: 1.094 kB / 0.561 GB, free: 77.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002939/0.3085, allocations: 392.6 kB / 0.5614 GB, free: 77.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/0.3086, allocations: 89.86 kB / 0.5615 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3086, allocations: 3.328 kB / 0.5615 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3086, allocations: 4.844 kB / 0.5615 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.3089, allocations: 110 kB / 0.5616 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3089, allocations: 8.875 kB / 0.5616 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.309, allocations: 24.33 kB / 0.5616 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.309, allocations: 14.98 kB / 0.5616 GB, free: 77.38 MB / 410.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.000162/0.3092, allocations: 215.4 kB / 0.5618 GB, free: 77.21 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.3092, allocations: 37.8 kB / 0.5619 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.3093, allocations: 36.02 kB / 0.5619 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3093, allocations: 4.453 kB / 0.5619 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3093, allocations: 0.6562 kB / 0.5619 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.3094, allocations: 31.98 kB / 0.562 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.3094, allocations: 11.72 kB / 0.562 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.3094, allocations: 16.16 kB / 0.562 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.3095, allocations: 16.39 kB / 0.562 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.3096, allocations: 24.56 kB / 0.562 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003392/0.3099, allocations: 405.6 kB / 0.5624 GB, free: 76.95 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003504/0.3103, allocations: 0.6016 MB / 0.563 GB, free: 76.55 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001148/0.3104, allocations: 150.3 kB / 0.5631 GB, free: 76.48 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.055e-05/0.3105, allocations: 76.75 kB / 0.5632 GB, free: 76.46 MB / 410.8 MB Notification: Performance of Backend: time 3.31e-07/0.3105, allocations: 0 / 0.5632 GB, free: 76.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.3109, allocations: 485.7 kB / 0.5637 GB, free: 76.12 MB / 410.8 MB Notification: Performance of SimCode: time 0.007905/0.3188, allocations: 1.365 MB / 0.565 GB, free: 75.17 MB / 410.8 MB Notification: Performance of Templates: time 0.007926/0.3267, allocations: 5.549 MB / 0.5704 GB, free: 74 MB / 410.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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.908935509622097]