Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.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.0008335/0.0008335, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001213/0.002047, 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.001087/0.001087, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004839/0.005926, 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.064/1.064, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09232/1.156, allocations: 53.66 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.8828/0.8828, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03621/0.919, 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.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=518400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=518400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.317e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final): time 0.001971/0.001985, allocations: 2.498 MB / 0.547 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005381/0.007365, allocations: 6.684 MB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.007467, allocations: 0 / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.346e-05/0.00754, allocations: 35.66 kB / 0.5536 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.007725, allocations: 83.31 kB / 0.5536 GB, free: 21.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.007895, allocations: 55.81 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.008161, allocations: 266.6 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.008273, allocations: 42.53 kB / 0.554 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.008495, allocations: 172.2 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.008676, allocations: 87.72 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.008709, allocations: 16 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.00874, allocations: 20 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.008773, allocations: 27.88 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.008849, allocations: 63.88 kB / 0.5543 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.00904, allocations: 135.5 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.009049, allocations: 0 / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00905, allocations: 3.938 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.009059, allocations: 0 / 0.5545 GB, free: 20.38 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.0005967/0.009655, allocations: 0.5015 MB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.009684, allocations: 15.89 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.009737, allocations: 24.92 kB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.009919, allocations: 175.1 kB / 0.5552 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.009939, allocations: 16.55 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.009968, allocations: 16.31 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.01017, allocations: 159.5 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.01018, allocations: 0 / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.01019, allocations: 4 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.0102, allocations: 4 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.01029, allocations: 76.7 kB / 0.5554 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.01079, allocations: 368.9 kB / 0.5558 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.01099, allocations: 108.2 kB / 0.5559 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.01105, allocations: 58.55 kB / 0.556 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.01106, allocations: 4 kB / 0.556 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.01119, allocations: 190.5 kB / 0.5561 GB, free: 18.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.263e-06/0.0112, allocations: 0 / 0.5561 GB, free: 18.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005719/0.01177, allocations: 0.5209 MB / 0.5566 GB, free: 17.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.01181, allocations: 166.2 kB / 0.5568 GB, free: 17.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.01191, allocations: 206 kB / 0.557 GB, free: 17.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.01193, allocations: 33.7 kB / 0.557 GB, free: 17.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.01196, allocations: 116.4 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.01199, allocations: 67.45 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.01204, allocations: 51.19 kB / 0.5573 GB, free: 17.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.01209, allocations: 338.8 kB / 0.5576 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.01215, allocations: 105 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.01223, allocations: 165.4 kB / 0.5578 GB, free: 16.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.01235, allocations: 218.9 kB / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01235, allocations: 3.938 kB / 0.5581 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001782/0.01253, allocations: 267 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.01257, allocations: 63.41 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.01257, allocations: 0 / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.01258, allocations: 7.984 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.01277, allocations: 69.86 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.01277, allocations: 0 / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.01285, allocations: 24.2 kB / 0.5585 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.01286, allocations: 11.94 kB / 0.5585 GB, free: 15.85 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.0001078/0.01297, allocations: 167.6 kB / 0.5586 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.01299, allocations: 19.98 kB / 0.5587 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.01302, allocations: 25.95 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01303, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01303, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.01306, allocations: 19.86 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.01307, allocations: 19.86 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.01309, allocations: 8 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.01315, allocations: 11.98 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.0132, allocations: 15.97 kB / 0.5588 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001802/0.01338, allocations: 268.2 kB / 0.559 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001903/0.01357, allocations: 422.5 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.3077/0.3213, allocations: 81.36 kB / 0.5595 GB, free: 79.61 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3214, allocations: 60.23 kB / 0.5595 GB, free: 79.6 MB / 410.8 MB Notification: Performance of Backend: time 6.41e-07/0.3214, allocations: 0 / 0.5595 GB, free: 79.6 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.3219, allocations: 338.7 kB / 0.5599 GB, free: 79.36 MB / 410.8 MB Notification: Performance of SimCode: time 0.005689/0.3276, allocations: 1.113 MB / 0.561 GB, free: 78.55 MB / 410.8 MB Notification: Performance of Templates: time 0.006767/0.3344, allocations: 3.866 MB / 0.5647 GB, free: 78.42 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.297814249061048]