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.001916/0.001916, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002037/0.002037, allocations: 220.1 kB / 22.25 MB, free: 3.559 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 9.578 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.427/1.427, allocations: 316.8 MB / 0.6144 GB, free: 92.99 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_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.004163/0.004163, allocations: 77.92 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2171, allocations: 73.99 MB / 0.8473 GB, free: 4.848 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base): time 0.005465/0.2226, allocations: 2.297 MB / 0.8495 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3459/0.5685, allocations: 6.526 MB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.5688, allocations: 0.9375 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.5689, allocations: 27.69 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.5692, allocations: 81.39 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.5694, allocations: 52.91 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.5697, allocations: 256 kB / 0.8563 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.5699, allocations: 36.41 kB / 0.8563 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.57, allocations: 103.4 kB / 0.8564 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.5702, allocations: 94.27 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.5702, allocations: 17.94 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.219e-05/0.5703, allocations: 18.31 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.5703, allocations: 37.44 kB / 0.8566 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.5704, allocations: 94.78 kB / 0.8567 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.5707, allocations: 198.1 kB / 0.8569 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5707, allocations: 1.688 kB / 0.8569 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5707, allocations: 0 / 0.8569 GB, free: 21.84 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.5707, allocations: 3.281 kB / 0.8569 GB, free: 21.84 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.0008467/0.5715, allocations: 498.9 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5716, allocations: 10.41 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.5716, allocations: 22.3 kB / 0.8574 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.5719, allocations: 188.8 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.5719, allocations: 9.109 kB / 0.8576 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.5719, allocations: 24.97 kB / 0.8576 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.5723, allocations: 185.9 kB / 0.8578 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5723, allocations: 3.141 kB / 0.8578 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.5723, allocations: 5.156 kB / 0.8578 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5723, allocations: 3.094 kB / 0.8578 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.5727, allocations: 149.2 kB / 0.8579 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007071/0.5734, allocations: 483.7 kB / 0.8584 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.5738, allocations: 174.6 kB / 0.8585 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.574, allocations: 95.56 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.574, allocations: 1.219 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.5743, allocations: 227.4 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.5743, allocations: 0.5 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001354/0.5756, allocations: 0.708 MB / 0.8595 GB, free: 20.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.5757, allocations: 137.8 kB / 0.8597 GB, free: 20.1 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.5759, allocations: 216 kB / 0.8599 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.5759, allocations: 35.64 kB / 0.8599 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.576, allocations: 131.2 kB / 0.86 GB, free: 19.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.576, allocations: 76.81 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.5761, allocations: 52.42 kB / 0.8602 GB, free: 19.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.868e-05/0.5762, allocations: 335.2 kB / 0.8605 GB, free: 19.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.5764, allocations: 146.6 kB / 0.8606 GB, free: 19.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.5766, allocations: 222.7 kB / 0.8608 GB, free: 19.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.577, allocations: 275.3 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.577, allocations: 3.938 kB / 0.8611 GB, free: 19.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005381/0.5775, allocations: 391.3 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.5775, allocations: 63.06 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.5776, allocations: 7.062 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.5776, allocations: 2.688 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.5778, allocations: 54.66 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5778, allocations: 5.156 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.578, allocations: 21.75 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.578, allocations: 8.312 kB / 0.8616 GB, free: 18.83 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.0001853/0.5782, allocations: 180.4 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.5782, allocations: 22.64 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.5783, allocations: 31.27 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5783, allocations: 4.406 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5783, allocations: 0.625 kB / 0.8619 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.5783, allocations: 4.531 kB / 0.8619 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/0.579, allocations: 0.5336 MB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.579, allocations: 0.8906 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.5792, allocations: 43.97 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5792, allocations: 0.5938 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.5792, allocations: 7.25 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5792, allocations: 7.875 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5792, allocations: 2.25 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.5799, allocations: 499.1 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.5799, allocations: 23.36 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.58, allocations: 5.875 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.5801, allocations: 15.84 kB / 0.863 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.5802, allocations: 20.48 kB / 0.863 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.5802, allocations: 10.64 kB / 0.863 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001186/0.5804, allocations: 157.1 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5804, allocations: 4.719 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003061/0.5807, allocations: 55.45 kB / 0.8632 GB, free: 18 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.0001133/0.5808, allocations: 115.7 kB / 0.8633 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.5813, allocations: 379.2 kB / 0.8637 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5813, allocations: 1.188 kB / 0.8637 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.5816, allocations: 172.8 kB / 0.8638 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.582, allocations: 72.53 kB / 0.8639 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.5833, allocations: 0.6859 MB / 0.8646 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.5835, allocations: 127.9 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.5836, allocations: 19.28 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.5836, allocations: 25.97 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of SimCode: time 9.82e-07/0.5837, allocations: 0 / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of Templates: time 0.008708/0.5924, allocations: 3.627 MB / 0.8683 GB, free: 16.86 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.819204912986606]