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.001063/0.001063, allocations: 108.4 kB / 19.71 MB, free: 436 kB / 13.93 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.001362/0.001362, allocations: 213.3 kB / 23 MB, free: 2.965 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.017/1.017, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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.7299/0.7299, allocations: 312.3 MB / 0.6108 GB, free: 97.56 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 71.3 kB / 0.7699 GB, free: 20.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1253, allocations: 73.99 MB / 0.8421 GB, free: 10.25 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base): time 0.003167/0.1284, allocations: 2.302 MB / 0.8444 GB, free: 7.949 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.1343, allocations: 6.533 MB / 0.8507 GB, free: 1.414 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1344, allocations: 7.938 kB / 0.8507 GB, free: 1.406 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.1346, allocations: 24.31 kB / 0.8508 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1348, allocations: 72.81 kB / 0.8508 GB, free: 1.312 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.1351, allocations: 59.86 kB / 0.8509 GB, free: 1.254 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.1354, allocations: 255.4 kB / 0.8511 GB, free: 1.004 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1355, allocations: 33.19 kB / 0.8512 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1357, allocations: 99.64 kB / 0.8513 GB, free: 0.875 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1359, allocations: 100.1 kB / 0.8514 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.1359, allocations: 16.66 kB / 0.8514 GB, free: 0.7617 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.1359, allocations: 20 kB / 0.8514 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.1359, allocations: 36.48 kB / 0.8514 GB, free: 0.707 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.136, allocations: 92.23 kB / 0.8515 GB, free: 0.6172 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1363, allocations: 202.8 kB / 0.8517 GB, free: 432 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1363, allocations: 0.625 kB / 0.8517 GB, free: 432 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1363, allocations: 0 / 0.8517 GB, free: 432 kB / 474.8 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1363, allocations: 4.531 kB / 0.8517 GB, free: 428 kB / 474.8 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.0007328/0.137, allocations: 0.4908 MB / 0.8522 GB, free: 15.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.137, allocations: 8.031 kB / 0.8522 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.1371, allocations: 25.39 kB / 0.8522 GB, free: 15.85 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1373, allocations: 187.6 kB / 0.8524 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1373, allocations: 8.609 kB / 0.8524 GB, free: 15.63 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.1374, allocations: 24.58 kB / 0.8524 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.1377, allocations: 187 kB / 0.8526 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1377, allocations: 0.625 kB / 0.8526 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1377, allocations: 11.94 kB / 0.8526 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1377, allocations: 0.5938 kB / 0.8526 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.1379, allocations: 151.4 kB / 0.8528 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/0.1386, allocations: 478.2 kB / 0.8532 GB, free: 14.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.139, allocations: 177.9 kB / 0.8534 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1391, allocations: 91.14 kB / 0.8535 GB, free: 14.46 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1391, allocations: 7.938 kB / 0.8535 GB, free: 14.45 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.1394, allocations: 230.1 kB / 0.8537 GB, free: 14.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.1394, allocations: 0.5 kB / 0.8537 GB, free: 14.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001126/0.1405, allocations: 0.6972 MB / 0.8544 GB, free: 13.45 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.1406, allocations: 136.5 kB / 0.8545 GB, free: 13.28 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1408, allocations: 216.7 kB / 0.8547 GB, free: 13.06 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1408, allocations: 29.7 kB / 0.8548 GB, free: 13.03 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.1409, allocations: 137.1 kB / 0.8549 GB, free: 12.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.1409, allocations: 76.16 kB / 0.855 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.141, allocations: 57.66 kB / 0.855 GB, free: 12.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.1411, allocations: 335.3 kB / 0.8553 GB, free: 12.42 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1413, allocations: 145.5 kB / 0.8555 GB, free: 12.26 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2394/0.3806, allocations: 221.9 kB / 0.8557 GB, free: 30.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.381, allocations: 277.4 kB / 0.8559 GB, free: 30.24 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.381, allocations: 0.625 kB / 0.856 GB, free: 30.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004048/0.3814, allocations: 393.8 kB / 0.8563 GB, free: 30.08 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.3814, allocations: 64.16 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3814, allocations: 0.9375 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.3815, allocations: 9.859 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3816, allocations: 53.38 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3816, allocations: 2.891 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3817, allocations: 18.86 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3817, allocations: 8.156 kB / 0.8565 GB, free: 30.02 MB / 490.8 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.0001684/0.3819, allocations: 181 kB / 0.8566 GB, free: 29.87 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.3819, allocations: 24.02 kB / 0.8567 GB, free: 29.87 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.382, allocations: 26.84 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.382, allocations: 5.75 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.382, allocations: 0 / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.382, allocations: 0.8438 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.3825, allocations: 0.5493 MB / 0.8572 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3825, allocations: 0.5625 kB / 0.8572 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.3826, allocations: 37.02 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3826, allocations: 0 / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3826, allocations: 10.03 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3826, allocations: 7.5 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3827, allocations: 0 / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.3831, allocations: 499.5 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.3831, allocations: 21.08 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3831, allocations: 7.438 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.3832, allocations: 14.19 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.3833, allocations: 18.52 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3833, allocations: 11.83 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.732e-05/0.3834, allocations: 155.6 kB / 0.858 GB, free: 29.27 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3834, allocations: 3.141 kB / 0.858 GB, free: 29.27 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002007/0.3836, allocations: 57.97 kB / 0.858 GB, free: 29.27 MB / 490.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 9.473e-05/0.3837, allocations: 120.4 kB / 0.8582 GB, free: 29.18 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.384, allocations: 378.7 kB / 0.8585 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.384, allocations: 1.938 kB / 0.8585 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3842, allocations: 169.9 kB / 0.8587 GB, free: 28.85 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3845, allocations: 63.5 kB / 0.8587 GB, free: 28.85 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/0.3854, allocations: 0.6959 MB / 0.8594 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.485e-05/0.3855, allocations: 128.2 kB / 0.8595 GB, free: 28.46 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.3855, allocations: 28.34 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of SimCode: time 6.61e-07/0.3855, allocations: 0 / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of Templates: time 0.004132/0.3897, allocations: 2.941 MB / 0.8624 GB, free: 28.24 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.359104514122009]