Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_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.0007483/0.0007483, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008985/0.001647, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007268/0.0007268, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008623/0.001589, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1197/1.132, allocations: 53.67 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.8342/0.8342, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04017/0.8744, allocations: 21.05 MB / 0.5432 GB, free: 31.73 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.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.662e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final): time 0.003189/0.003215, allocations: 2.495 MB / 0.547 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005937/0.009152, allocations: 6.696 MB / 0.5536 GB, free: 21.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.009366, allocations: 4 kB / 0.5536 GB, free: 21.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.00948, allocations: 27.66 kB / 0.5536 GB, free: 21.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.009692, allocations: 83.33 kB / 0.5537 GB, free: 21.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.009896, allocations: 67.73 kB / 0.5538 GB, free: 20.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.01015, allocations: 266.6 kB / 0.554 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.0103, allocations: 30.55 kB / 0.554 GB, free: 20.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.01053, allocations: 176.3 kB / 0.5542 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.01074, allocations: 87.72 kB / 0.5543 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.01077, allocations: 16 kB / 0.5543 GB, free: 20.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.074e-05/0.01081, allocations: 20 kB / 0.5543 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.01084, allocations: 27.88 kB / 0.5544 GB, free: 20.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.01092, allocations: 63.86 kB / 0.5544 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.01114, allocations: 143.5 kB / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.99e-05/0.01116, allocations: 0 / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01116, allocations: 0 / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.01118, allocations: 0 / 0.5546 GB, free: 20.15 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.0007769/0.01196, allocations: 0.4937 MB / 0.555 GB, free: 19.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.012, allocations: 19.89 kB / 0.5551 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.01206, allocations: 20.92 kB / 0.5551 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.01228, allocations: 183 kB / 0.5552 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.0123, allocations: 8.609 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.01234, allocations: 20.31 kB / 0.5553 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.01256, allocations: 159.4 kB / 0.5554 GB, free: 19.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.01257, allocations: 4 kB / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.01258, allocations: 0 / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.01259, allocations: 4 kB / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.01268, allocations: 80.64 kB / 0.5555 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.01316, allocations: 361 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.01338, allocations: 104.2 kB / 0.556 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.01343, allocations: 62.53 kB / 0.556 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.01344, allocations: 0 / 0.556 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.01363, allocations: 200.3 kB / 0.5562 GB, free: 18.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.01363, allocations: 4 kB / 0.5562 GB, free: 18.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007086/0.01434, allocations: 0.5121 MB / 0.5567 GB, free: 17.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.01438, allocations: 166.2 kB / 0.5569 GB, free: 17.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.0145, allocations: 206 kB / 0.5571 GB, free: 17.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.01452, allocations: 33.7 kB / 0.5571 GB, free: 17.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.01456, allocations: 120.4 kB / 0.5572 GB, free: 17.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.0146, allocations: 63.47 kB / 0.5573 GB, free: 17.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.01467, allocations: 55.17 kB / 0.5573 GB, free: 17.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.01472, allocations: 334.8 kB / 0.5576 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.01479, allocations: 101 kB / 0.5577 GB, free: 16.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.01487, allocations: 177.3 kB / 0.5579 GB, free: 16.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.01501, allocations: 205.6 kB / 0.5581 GB, free: 16.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01501, allocations: 0 / 0.5581 GB, free: 16.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002041/0.01521, allocations: 272.2 kB / 0.5584 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.01525, allocations: 63.41 kB / 0.5584 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.01526, allocations: 0 / 0.5584 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.01527, allocations: 4 kB / 0.5584 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.01548, allocations: 63.89 kB / 0.5585 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01549, allocations: 6.656 kB / 0.5585 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.01559, allocations: 20.14 kB / 0.5585 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.0156, allocations: 16 kB / 0.5585 GB, free: 15.63 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.0001376/0.01574, allocations: 180.5 kB / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.01577, allocations: 15.98 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.01581, allocations: 29.95 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01581, allocations: 3.984 kB / 0.5588 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.01581, allocations: 0 / 0.5588 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01581, allocations: 0 / 0.5588 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.01615, allocations: 370.3 kB / 0.5591 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01615, allocations: 11.92 kB / 0.5591 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.01632, allocations: 47.91 kB / 0.5592 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.01635, allocations: 19.84 kB / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01635, allocations: 0 / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.01637, allocations: 4 kB / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01637, allocations: 0 / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01637, allocations: 0 / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3969/0.4133, allocations: 347.7 kB / 0.5595 GB, free: 79.34 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.4134, allocations: 9.594 kB / 0.5595 GB, free: 79.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.4135, allocations: 17.03 kB / 0.5595 GB, free: 79.34 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.4136, allocations: 14.75 kB / 0.5596 GB, free: 79.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4136, allocations: 6.938 kB / 0.5596 GB, free: 79.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.069e-05/0.4137, allocations: 63.34 kB / 0.5596 GB, free: 79.33 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4137, allocations: 1.031 kB / 0.5596 GB, free: 79.33 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003055/0.414, allocations: 54.53 kB / 0.5597 GB, free: 79.33 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001469/0.4142, allocations: 100.1 kB / 0.5598 GB, free: 79.27 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.4145, allocations: 308.6 kB / 0.5601 GB, free: 79.04 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.4145, allocations: 3.125 kB / 0.5601 GB, free: 79.04 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.4146, allocations: 157.7 kB / 0.5602 GB, free: 78.94 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.415, allocations: 84.89 kB / 0.5603 GB, free: 78.94 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007524/0.4225, allocations: 0.5526 MB / 0.5608 GB, free: 78.67 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.868e-05/0.4226, allocations: 80.66 kB / 0.5609 GB, free: 78.6 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.4227, allocations: 23.77 kB / 0.5609 GB, free: 78.6 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.4229, allocations: 121.2 kB / 0.5611 GB, free: 78.55 MB / 410.8 MB Notification: Performance of SimCode: time 9.52e-07/0.4229, allocations: 3.938 kB / 0.5611 GB, free: 78.55 MB / 410.8 MB Notification: Performance of Templates: time 0.007914/0.4308, allocations: 3.794 MB / 0.5648 GB, free: 78.36 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.295285124331713]