Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone.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.0007028/0.0007028, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009219/0.001625, 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.0007095/0.0007095, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009828/0.001692, 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.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09774/1.124, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.7912/0.7912, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03327/0.8245, 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.N07BC05_Levomethadone.Levomethadone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 3.984 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.396e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone): time 0.002334/0.002358, allocations: 2.498 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005038/0.007395, allocations: 6.696 MB / 0.5535 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.007685, allocations: 4 kB / 0.5535 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.007827, allocations: 23.72 kB / 0.5536 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.008094, allocations: 83.27 kB / 0.5537 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.00833, allocations: 63.8 kB / 0.5537 GB, free: 21.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.008591, allocations: 266.6 kB / 0.554 GB, free: 20.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.008765, allocations: 30.55 kB / 0.554 GB, free: 20.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.009025, allocations: 176.2 kB / 0.5542 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.009251, allocations: 91.77 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.009279, allocations: 20 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.229e-05/0.009302, allocations: 19.94 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.009332, allocations: 27.88 kB / 0.5543 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.009396, allocations: 59.94 kB / 0.5544 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.009618, allocations: 139.4 kB / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.008e-05/0.009638, allocations: 4 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009639, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.009655, allocations: 0 / 0.5545 GB, free: 20.34 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005988/0.01025, allocations: 0.4937 MB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.01029, allocations: 15.84 kB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.01034, allocations: 28.91 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.01052, allocations: 179 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.01054, allocations: 12.61 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.01056, allocations: 12.38 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.01073, allocations: 159.4 kB / 0.5554 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01074, allocations: 0 / 0.5554 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.01075, allocations: 12 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.01076, allocations: 4 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.01084, allocations: 76.64 kB / 0.5555 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.01127, allocations: 365 kB / 0.5558 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.01149, allocations: 112.1 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.01153, allocations: 54.55 kB / 0.556 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.01154, allocations: 4 kB / 0.556 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.01175, allocations: 200.3 kB / 0.5562 GB, free: 18.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 4.568e-06/0.01176, allocations: 0 / 0.5562 GB, free: 18.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.00077/0.01253, allocations: 0.5123 MB / 0.5567 GB, free: 17.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.01257, allocations: 170.1 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.01267, allocations: 202 kB / 0.557 GB, free: 17.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.01268, allocations: 37.69 kB / 0.5571 GB, free: 17.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.01273, allocations: 112.4 kB / 0.5572 GB, free: 17.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.01277, allocations: 79.45 kB / 0.5572 GB, free: 17.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.01282, allocations: 51.19 kB / 0.5573 GB, free: 17.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.01286, allocations: 334.8 kB / 0.5576 GB, free: 16.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.01291, allocations: 97 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.01297, allocations: 179.7 kB / 0.5579 GB, free: 16.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.01308, allocations: 211.1 kB / 0.5581 GB, free: 16.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01308, allocations: 0 / 0.5581 GB, free: 16.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001485/0.01323, allocations: 260.2 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.01327, allocations: 63.39 kB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01327, allocations: 4 kB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01329, allocations: 4 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.01347, allocations: 68.11 kB / 0.5585 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01347, allocations: 4 kB / 0.5585 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.687e-05/0.01355, allocations: 19.23 kB / 0.5585 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.01356, allocations: 15.94 kB / 0.5585 GB, free: 15.82 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001285/0.01369, allocations: 169.6 kB / 0.5587 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.01371, allocations: 19.92 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.01374, allocations: 25.95 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01374, allocations: 4 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01374, allocations: 4 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.01377, allocations: 15.86 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01378, allocations: 11.94 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.01381, allocations: 7.984 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.01386, allocations: 8 kB / 0.5588 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.01391, allocations: 23.95 kB / 0.5588 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001856/0.01409, allocations: 270.5 kB / 0.559 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002001/0.01429, allocations: 427.7 kB / 0.5594 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2743/0.2886, allocations: 74.77 kB / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001131/0.2887, allocations: 63.59 kB / 0.5596 GB, free: 79.54 MB / 410.8 MB Notification: Performance of Backend: time 4.91e-07/0.2887, allocations: 0 / 0.5596 GB, free: 79.54 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.2892, allocations: 335.8 kB / 0.5599 GB, free: 79.3 MB / 410.8 MB Notification: Performance of SimCode: time 0.005466/0.2947, allocations: 1.115 MB / 0.561 GB, free: 78.49 MB / 410.8 MB Notification: Performance of Templates: time 0.006002/0.3007, allocations: 3.855 MB / 0.5647 GB, free: 78.35 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7622270407155156]