Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model.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.00216/0.00216, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002729/0.002729, allocations: 215.6 kB / 22.25 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.796/1.796, allocations: 230.6 MB / 256 MB, free: 9.582 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.512/1.512, allocations: 316.7 MB / 0.6144 GB, free: 92.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.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model") [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.003982/0.003982, allocations: 73.55 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1582, allocations: 73.99 MB / 0.8472 GB, free: 4.891 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model): time 0.005179/0.1633, allocations: 2.708 MB / 0.8499 GB, free: 2.184 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.345/0.5084, allocations: 6.604 MB / 0.8563 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.5086, allocations: 3 kB / 0.8563 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.5088, allocations: 39.42 kB / 0.8564 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.509, allocations: 119.7 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.5093, allocations: 72.89 kB / 0.8566 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.5096, allocations: 377.3 kB / 0.8569 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.5098, allocations: 53.55 kB / 0.857 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.51, allocations: 142.2 kB / 0.8571 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.5102, allocations: 141.2 kB / 0.8572 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.5103, allocations: 25.47 kB / 0.8573 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.751e-05/0.5103, allocations: 24.25 kB / 0.8573 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.5104, allocations: 53.25 kB / 0.8573 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.5105, allocations: 135 kB / 0.8575 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.5108, allocations: 291.2 kB / 0.8577 GB, free: 21.68 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.5108, allocations: 0 / 0.8577 GB, free: 21.68 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5108, allocations: 2.594 kB / 0.8578 GB, free: 21.68 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.5108, allocations: 0 / 0.8578 GB, free: 21.68 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000941/0.5118, allocations: 0.5957 MB / 0.8583 GB, free: 21.22 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5118, allocations: 13.83 kB / 0.8583 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.5119, allocations: 34.16 kB / 0.8584 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.5121, allocations: 213.9 kB / 0.8586 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.5122, allocations: 14.69 kB / 0.8586 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.5122, allocations: 28.17 kB / 0.8586 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.5127, allocations: 283.6 kB / 0.8589 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.5127, allocations: 10.86 kB / 0.8589 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.5127, allocations: 5.219 kB / 0.8589 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5127, allocations: 5.438 kB / 0.8589 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.5131, allocations: 235.7 kB / 0.8591 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009949/0.5141, allocations: 0.6734 MB / 0.8598 GB, free: 20.5 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.5146, allocations: 239.9 kB / 0.86 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.5148, allocations: 150.7 kB / 0.8602 GB, free: 20.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.5148, allocations: 6.562 kB / 0.8602 GB, free: 20.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003846/0.5152, allocations: 363.5 kB / 0.8605 GB, free: 20.1 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.5152, allocations: 0 / 0.8605 GB, free: 20.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001638/0.5168, allocations: 1.081 MB / 0.8616 GB, free: 19.56 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.5169, allocations: 213.6 kB / 0.8618 GB, free: 19.31 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.5171, allocations: 249 kB / 0.862 GB, free: 19.2 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.5171, allocations: 35.17 kB / 0.8621 GB, free: 19.17 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.5172, allocations: 158.5 kB / 0.8622 GB, free: 19.06 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.5173, allocations: 118.1 kB / 0.8623 GB, free: 18.99 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.5174, allocations: 76.83 kB / 0.8624 GB, free: 18.97 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.5174, allocations: 342.9 kB / 0.8627 GB, free: 18.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.5177, allocations: 209.2 kB / 0.8629 GB, free: 18.55 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.518, allocations: 318.6 kB / 0.8632 GB, free: 18.32 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.5185, allocations: 432 kB / 0.8636 GB, free: 18.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5185, allocations: 2.125 kB / 0.8636 GB, free: 18.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007648/0.5192, allocations: 0.5489 MB / 0.8642 GB, free: 17.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.5193, allocations: 90.94 kB / 0.8643 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5193, allocations: 6.344 kB / 0.8643 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5193, allocations: 4.812 kB / 0.8643 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.5196, allocations: 81.55 kB / 0.8643 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5196, allocations: 4.984 kB / 0.8643 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.5198, allocations: 25.89 kB / 0.8644 GB, free: 17.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.5198, allocations: 18.16 kB / 0.8644 GB, free: 17.69 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001918/0.52, allocations: 222.8 kB / 0.8646 GB, free: 17.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.5201, allocations: 31.84 kB / 0.8646 GB, free: 17.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.5202, allocations: 36.25 kB / 0.8647 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5202, allocations: 2.969 kB / 0.8647 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5202, allocations: 1.938 kB / 0.8647 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.5202, allocations: 7.797 kB / 0.8647 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.5212, allocations: 0.7594 MB / 0.8654 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5212, allocations: 1.812 kB / 0.8654 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.5215, allocations: 52.59 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5215, allocations: 2.094 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.5215, allocations: 17.95 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5215, allocations: 1.781 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5215, allocations: 0.5938 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009583/0.5225, allocations: 0.7252 MB / 0.8662 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.5225, allocations: 30.42 kB / 0.8662 GB, free: 16.74 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.5226, allocations: 17.39 kB / 0.8662 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.5227, allocations: 17.25 kB / 0.8663 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.5228, allocations: 29.47 kB / 0.8663 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.5229, allocations: 13.88 kB / 0.8663 GB, free: 16.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001683/0.523, allocations: 177.5 kB / 0.8665 GB, free: 16.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.523, allocations: 0 / 0.8665 GB, free: 16.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00034/0.5234, allocations: 86.69 kB / 0.8666 GB, free: 16.66 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.5235, allocations: 128.8 kB / 0.8667 GB, free: 16.56 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006813/0.5242, allocations: 0.5681 MB / 0.8672 GB, free: 16.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5242, allocations: 0.625 kB / 0.8672 GB, free: 16.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.5245, allocations: 300.8 kB / 0.8675 GB, free: 16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.525, allocations: 84.19 kB / 0.8676 GB, free: 16 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.5265, allocations: 0.9456 MB / 0.8685 GB, free: 15.52 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.5266, allocations: 159 kB / 0.8687 GB, free: 15.44 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.5267, allocations: 34.7 kB / 0.8687 GB, free: 15.43 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.5268, allocations: 26.69 kB / 0.8687 GB, free: 15.43 MB / 490.8 MB Notification: Performance of SimCode: time 4.51e-07/0.5268, allocations: 0 / 0.8687 GB, free: 15.43 MB / 490.8 MB Notification: Performance of Templates: time 0.0105/0.5373, allocations: 4.993 MB / 0.8736 GB, free: 14.93 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.899131894111633]