Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference.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.0007404/0.0007404, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009807/0.001721, 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.000753/0.000753, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008976/0.001651, 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.033/1.033, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08972/1.123, allocations: 53.67 MB / 243.3 MB, free: 15.59 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.7626/0.7626, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03993/0.8025, allocations: 21.04 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_Fediuk2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5446 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.886e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference): time 0.003686/0.003705, allocations: 3.289 MB / 0.5478 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00573/0.009435, allocations: 6.801 MB / 0.5544 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.009643, allocations: 3.938 kB / 0.5544 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.34e-05/0.009726, allocations: 43.56 kB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.009933, allocations: 134.9 kB / 0.5546 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.01012, allocations: 83.83 kB / 0.5547 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.01043, allocations: 437.8 kB / 0.5551 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.01058, allocations: 73.33 kB / 0.5552 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.01081, allocations: 270.5 kB / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.01099, allocations: 123.6 kB / 0.5555 GB, free: 19.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.01103, allocations: 32 kB / 0.5556 GB, free: 19.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.01106, allocations: 36 kB / 0.5556 GB, free: 19.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.0111, allocations: 47.81 kB / 0.5556 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.01119, allocations: 103.8 kB / 0.5557 GB, free: 19.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.0114, allocations: 227.2 kB / 0.556 GB, free: 18.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.01142, allocations: 0 / 0.556 GB, free: 18.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01142, allocations: 0 / 0.556 GB, free: 18.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.01143, allocations: 0 / 0.556 GB, free: 18.85 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.0007724/0.0122, allocations: 0.6434 MB / 0.5566 GB, free: 18.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.01225, allocations: 11.89 kB / 0.5566 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.01232, allocations: 40.89 kB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.01254, allocations: 201.5 kB / 0.5568 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.01257, allocations: 12.88 kB / 0.5568 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.01261, allocations: 28.33 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.01284, allocations: 246.1 kB / 0.5571 GB, free: 17.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01286, allocations: 4 kB / 0.5571 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.01287, allocations: 4 kB / 0.5571 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.01288, allocations: 8 kB / 0.5571 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.013, allocations: 138.6 kB / 0.5573 GB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.01357, allocations: 473.9 kB / 0.5577 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.0138, allocations: 173.3 kB / 0.5579 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.01386, allocations: 111.1 kB / 0.558 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.01387, allocations: 15.81 kB / 0.558 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.01408, allocations: 327.4 kB / 0.5583 GB, free: 16.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.744e-06/0.01408, allocations: 0 / 0.5583 GB, free: 16.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008084/0.01489, allocations: 0.8327 MB / 0.5591 GB, free: 15.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.01495, allocations: 273 kB / 0.5594 GB, free: 14.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2878/0.3027, allocations: 231 kB / 0.5596 GB, free: 80.06 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.3028, allocations: 36.8 kB / 0.5596 GB, free: 80.03 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.3028, allocations: 138.9 kB / 0.5598 GB, free: 79.95 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.3029, allocations: 124.3 kB / 0.5599 GB, free: 79.91 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.303, allocations: 74.16 kB / 0.56 GB, free: 79.89 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.303, allocations: 344.7 kB / 0.5603 GB, free: 79.58 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.3031, allocations: 146.5 kB / 0.5604 GB, free: 79.48 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3032, allocations: 251.1 kB / 0.5607 GB, free: 79.25 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.3034, allocations: 337.8 kB / 0.561 GB, free: 79 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3035, allocations: 1.594 kB / 0.561 GB, free: 79 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003019/0.3038, allocations: 388.1 kB / 0.5614 GB, free: 78.77 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.3038, allocations: 93.5 kB / 0.5614 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3038, allocations: 3.25 kB / 0.5614 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3038, allocations: 5.531 kB / 0.5615 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.3041, allocations: 112.6 kB / 0.5616 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3041, allocations: 9.688 kB / 0.5616 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.3043, allocations: 22.91 kB / 0.5616 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.3043, allocations: 15.42 kB / 0.5616 GB, free: 78.68 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.000157/0.3044, allocations: 213.4 kB / 0.5618 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.3045, allocations: 40.38 kB / 0.5618 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.3045, allocations: 34.08 kB / 0.5619 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3045, allocations: 2.688 kB / 0.5619 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3045, allocations: 0 / 0.5619 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.3046, allocations: 33.45 kB / 0.5619 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.3046, allocations: 9.75 kB / 0.5619 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.3047, allocations: 20.38 kB / 0.5619 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.3047, allocations: 10.67 kB / 0.562 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.3048, allocations: 32.08 kB / 0.562 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003486/0.3052, allocations: 396.2 kB / 0.5624 GB, free: 78.25 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003845/0.3056, allocations: 0.6008 MB / 0.5629 GB, free: 77.85 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001169/0.3057, allocations: 151.8 kB / 0.5631 GB, free: 77.77 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.069e-05/0.3057, allocations: 81.73 kB / 0.5632 GB, free: 77.76 MB / 410.8 MB Notification: Performance of Backend: time 2.3e-07/0.3057, allocations: 0 / 0.5632 GB, free: 77.76 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.3062, allocations: 492.8 kB / 0.5636 GB, free: 77.42 MB / 410.8 MB Notification: Performance of SimCode: time 0.009139/0.3153, allocations: 1.361 MB / 0.565 GB, free: 76.47 MB / 410.8 MB Notification: Performance of Templates: time 0.009368/0.3247, allocations: 5.569 MB / 0.5704 GB, free: 75.27 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BA03_Varenicline.Varenicline_Fediuk2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8428935846313834]