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_base.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.00069/0.00069, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000913/0.001603, 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.001638/0.001638, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002029/0.003667, 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 0.9878/0.9878, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.133/1.121, allocations: 53.68 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.8291/0.8291, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03825/0.8673, allocations: 21.04 MB / 0.5432 GB, free: 31.75 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_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.78e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base): time 0.00367/0.003697, allocations: 2.506 MB / 0.547 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.01216, allocations: 6.688 MB / 0.5536 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.01249, allocations: 0 / 0.5536 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.01265, allocations: 27.66 kB / 0.5536 GB, free: 21.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.01299, allocations: 87.31 kB / 0.5537 GB, free: 21.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.01328, allocations: 59.75 kB / 0.5537 GB, free: 20.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.01366, allocations: 270.6 kB / 0.554 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.01385, allocations: 38.53 kB / 0.554 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.01417, allocations: 172.2 kB / 0.5542 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.01442, allocations: 83.73 kB / 0.5543 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.01446, allocations: 16 kB / 0.5543 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.0145, allocations: 16 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.01454, allocations: 31.86 kB / 0.5543 GB, free: 20.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.01463, allocations: 63.88 kB / 0.5544 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.0149, allocations: 139.5 kB / 0.5545 GB, free: 20.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.273e-05/0.01492, allocations: 0 / 0.5545 GB, free: 20.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01492, allocations: 4 kB / 0.5545 GB, free: 20.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.01494, allocations: 0 / 0.5545 GB, free: 20.16 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.0008429/0.01578, allocations: 0.5015 MB / 0.555 GB, free: 19.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.01582, allocations: 11.89 kB / 0.555 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.01589, allocations: 20.92 kB / 0.5551 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.01614, allocations: 183 kB / 0.5552 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.01617, allocations: 8.609 kB / 0.5552 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.01621, allocations: 16.31 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.01646, allocations: 163.5 kB / 0.5554 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.01648, allocations: 0 / 0.5554 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.0165, allocations: 4 kB / 0.5554 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.0165, allocations: 4 kB / 0.5554 GB, free: 19.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.01665, allocations: 80.64 kB / 0.5555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.01733, allocations: 361 kB / 0.5558 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.01765, allocations: 108.2 kB / 0.5559 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.01772, allocations: 62.55 kB / 0.556 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.01774, allocations: 4 kB / 0.556 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.01798, allocations: 199.3 kB / 0.5562 GB, free: 18.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.033e-06/0.01798, allocations: 0 / 0.5562 GB, free: 18.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008921/0.01887, allocations: 0.5132 MB / 0.5567 GB, free: 17.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.01893, allocations: 158.2 kB / 0.5569 GB, free: 17.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.01908, allocations: 214 kB / 0.5571 GB, free: 17.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.0191, allocations: 33.7 kB / 0.5571 GB, free: 17.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.01915, allocations: 116.4 kB / 0.5572 GB, free: 17.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.0192, allocations: 67.47 kB / 0.5573 GB, free: 17.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.01928, allocations: 51.19 kB / 0.5573 GB, free: 17.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.665e-05/0.01933, allocations: 338.8 kB / 0.5576 GB, free: 16.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.01942, allocations: 100.3 kB / 0.5577 GB, free: 16.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.01952, allocations: 175.7 kB / 0.5579 GB, free: 16.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.01969, allocations: 218.2 kB / 0.5581 GB, free: 16.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01969, allocations: 0 / 0.5581 GB, free: 16.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000283/0.01997, allocations: 264.2 kB / 0.5584 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.02002, allocations: 62.53 kB / 0.5584 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.02003, allocations: 8.203 kB / 0.5584 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.02005, allocations: 4 kB / 0.5584 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.02031, allocations: 67.91 kB / 0.5585 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.02032, allocations: 2.656 kB / 0.5585 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.02046, allocations: 23.92 kB / 0.5585 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.02048, allocations: 4 kB / 0.5585 GB, free: 15.64 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.000213/0.02069, allocations: 177.6 kB / 0.5587 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.02073, allocations: 23.98 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.02078, allocations: 25.95 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.02079, allocations: 0 / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.02079, allocations: 4 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.0208, allocations: 0 / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.02122, allocations: 370.3 kB / 0.5591 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.02123, allocations: 7.938 kB / 0.5591 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.02144, allocations: 39.91 kB / 0.5591 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.02147, allocations: 19.86 kB / 0.5592 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.02148, allocations: 4 kB / 0.5592 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.0215, allocations: 7.984 kB / 0.5592 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.0215, allocations: 7.125 kB / 0.5592 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0215, allocations: 0 / 0.5592 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3409/0.3624, allocations: 342.8 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.3624, allocations: 7.312 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3626, allocations: 16.8 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.3627, allocations: 20.77 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3627, allocations: 6.094 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.443e-05/0.3628, allocations: 65.14 kB / 0.5596 GB, free: 79.4 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3628, allocations: 0 / 0.5596 GB, free: 79.4 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002297/0.363, allocations: 57.16 kB / 0.5597 GB, free: 79.4 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.000121/0.3631, allocations: 89.55 kB / 0.5598 GB, free: 79.33 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.3634, allocations: 316.2 kB / 0.5601 GB, free: 79.11 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.3634, allocations: 2.125 kB / 0.5601 GB, free: 79.11 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3635, allocations: 154.4 kB / 0.5602 GB, free: 79 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3638, allocations: 84.44 kB / 0.5603 GB, free: 79 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.3693, allocations: 0.554 MB / 0.5608 GB, free: 78.74 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.472e-05/0.3694, allocations: 80.8 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3695, allocations: 23.44 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.3697, allocations: 121.6 kB / 0.561 GB, free: 78.62 MB / 410.8 MB Notification: Performance of SimCode: time 1.683e-06/0.3697, allocations: 0 / 0.561 GB, free: 78.62 MB / 410.8 MB Notification: Performance of Templates: time 0.007139/0.3768, allocations: 3.805 MB / 0.5648 GB, free: 78.41 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.240509209223092]