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.001846/0.001846, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 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.001934/0.001934, allocations: 220 kB / 22.26 MB, free: 3.578 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.677/1.677, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 178] 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 1.478/1.478, allocations: 316.8 MB / 0.6144 GB, free: 93 MB / 410.7 MB " [Timeout remaining time 178] 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: 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.01112/0.01112, allocations: 77.66 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.171, allocations: 73.99 MB / 0.8473 GB, free: 4.895 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final): time 0.004046/0.1751, allocations: 2.315 MB / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3891/0.5642, allocations: 6.522 MB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.5645, allocations: 3 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.5647, allocations: 24.66 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.5652, allocations: 83.78 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.5655, allocations: 54.92 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.5659, allocations: 254.6 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.5661, allocations: 35.58 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.5662, allocations: 103 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.5665, allocations: 96.06 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.5666, allocations: 16.81 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.822e-05/0.5666, allocations: 19.69 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.5667, allocations: 36.84 kB / 0.8566 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.5668, allocations: 97.56 kB / 0.8567 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.5671, allocations: 194.6 kB / 0.8569 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.5672, allocations: 0 / 0.8569 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5672, allocations: 1.078 kB / 0.8569 GB, free: 21.87 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.5672, allocations: 0 / 0.8569 GB, free: 21.87 MB / 490.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.001041/0.5682, allocations: 0.4896 MB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5682, allocations: 9 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.5683, allocations: 24.36 kB / 0.8574 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.5686, allocations: 182.6 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.5687, allocations: 10.64 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.5687, allocations: 27.05 kB / 0.8576 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.5692, allocations: 189.4 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.5692, allocations: 2.25 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.5693, allocations: 5.75 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.5693, allocations: 7.625 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.5698, allocations: 143.5 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.5708, allocations: 485.6 kB / 0.8584 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/0.5715, allocations: 169.8 kB / 0.8585 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.5718, allocations: 100 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.5718, allocations: 4.141 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004444/0.5722, allocations: 222.1 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.854e-06/0.5722, allocations: 0.625 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001963/0.5742, allocations: 0.7053 MB / 0.8595 GB, free: 20.28 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.5742, allocations: 135.7 kB / 0.8597 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.5745, allocations: 220.3 kB / 0.8599 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.5746, allocations: 31.48 kB / 0.8599 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5747, allocations: 130.9 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.5747, allocations: 74.72 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.5748, allocations: 54.23 kB / 0.8602 GB, free: 19.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.5749, allocations: 336.3 kB / 0.8605 GB, free: 19.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.5753, allocations: 147.5 kB / 0.8606 GB, free: 19.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.5756, allocations: 219.9 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.5762, allocations: 282.1 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5762, allocations: 0.625 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008187/0.577, allocations: 391.4 kB / 0.8615 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.5771, allocations: 61.39 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5771, allocations: 7.281 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.5771, allocations: 3.406 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.5774, allocations: 55.3 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.5774, allocations: 8.359 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.5777, allocations: 22.2 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.5777, allocations: 7.875 kB / 0.8616 GB, free: 18.86 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.0002475/0.578, allocations: 176.7 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.578, allocations: 24.44 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.5781, allocations: 29.38 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5781, allocations: 0 / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.5781, allocations: 1.797 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.5781, allocations: 3.688 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009657/0.5791, allocations: 0.5369 MB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5791, allocations: 4.562 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.5793, allocations: 37.05 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5793, allocations: 1.344 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.5794, allocations: 13.52 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.5794, allocations: 7 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5794, allocations: 0 / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009743/0.5804, allocations: 0.4889 MB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.5804, allocations: 21.94 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.5805, allocations: 9.078 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.5807, allocations: 11.31 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.5808, allocations: 27.08 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.5808, allocations: 9.062 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001697/0.581, allocations: 159 kB / 0.8631 GB, free: 18.03 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.581, allocations: 0 / 0.8631 GB, free: 18.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003302/0.5813, allocations: 51.88 kB / 0.8632 GB, free: 18.03 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 0.0001393/0.5815, allocations: 116.2 kB / 0.8633 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005858/0.5821, allocations: 380.5 kB / 0.8637 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5821, allocations: 2.031 kB / 0.8637 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.5823, allocations: 173.5 kB / 0.8638 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.5828, allocations: 64.38 kB / 0.8639 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.5841, allocations: 0.6842 MB / 0.8646 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.5842, allocations: 127.2 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.5844, allocations: 24.78 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.5844, allocations: 25.92 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of SimCode: time 6.72e-07/0.5844, allocations: 0 / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of Templates: time 0.008846/0.5933, allocations: 3.636 MB / 0.8683 GB, free: 16.87 MB / 490.8 MB " [Timeout remaining time 659] 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: 8.096031032968313]