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.00137/0.00137, allocations: 100.4 kB / 19.7 MB, free: 440 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.001162/0.001162, allocations: 216.4 kB / 23 MB, free: 2.969 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.9873/0.9873, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7122/0.7122, allocations: 312.3 MB / 0.6108 GB, free: 97.51 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.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.004776/0.004776, allocations: 71.42 kB / 0.7699 GB, free: 20.07 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1323, allocations: 73.99 MB / 0.8422 GB, free: 10.22 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model): time 0.002708/0.135, allocations: 2.703 MB / 0.8448 GB, free: 7.52 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.1401, allocations: 6.602 MB / 0.8512 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.1402, allocations: 0.625 kB / 0.8512 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.1403, allocations: 43.58 kB / 0.8513 GB, free: 0.875 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.1405, allocations: 116.9 kB / 0.8514 GB, free: 0.7617 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.1407, allocations: 72.59 kB / 0.8515 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.141, allocations: 382.1 kB / 0.8518 GB, free: 324 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1411, allocations: 49.47 kB / 0.8519 GB, free: 276 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1413, allocations: 143.4 kB / 0.852 GB, free: 132 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.1415, allocations: 140.6 kB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1415, allocations: 24 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.226e-05/0.1415, allocations: 24.66 kB / 0.8522 GB, free: 15.94 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.1416, allocations: 59.64 kB / 0.8523 GB, free: 15.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.561e-05/0.1417, allocations: 136 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1419, allocations: 291.3 kB / 0.8527 GB, free: 15.47 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1419, allocations: 0 / 0.8527 GB, free: 15.47 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1419, allocations: 0.625 kB / 0.8527 GB, free: 15.47 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1419, allocations: 0.5 kB / 0.8527 GB, free: 15.47 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.0007438/0.1427, allocations: 0.6057 MB / 0.8533 GB, free: 14.81 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1427, allocations: 8.625 kB / 0.8533 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.1427, allocations: 32.75 kB / 0.8533 GB, free: 14.77 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.143, allocations: 209.7 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.143, allocations: 13.38 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.143, allocations: 27.94 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.1433, allocations: 284.6 kB / 0.8538 GB, free: 14.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1433, allocations: 12.45 kB / 0.8538 GB, free: 14.19 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.1434, allocations: 4.531 kB / 0.8538 GB, free: 14.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1434, allocations: 4 kB / 0.8538 GB, free: 14.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.1436, allocations: 233.7 kB / 0.8541 GB, free: 13.95 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1447, allocations: 0.6853 MB / 0.8547 GB, free: 13.22 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.145, allocations: 233.8 kB / 0.8549 GB, free: 12.97 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1452, allocations: 157 kB / 0.8551 GB, free: 12.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.1452, allocations: 4.625 kB / 0.8551 GB, free: 12.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.1455, allocations: 361.9 kB / 0.8554 GB, free: 12.4 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.303e-06/0.1455, allocations: 0.6875 kB / 0.8554 GB, free: 12.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2499/0.3954, allocations: 1.081 MB / 0.8565 GB, free: 21.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3954, allocations: 218.1 kB / 0.8567 GB, free: 21.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3956, allocations: 247.6 kB / 0.8569 GB, free: 20.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3956, allocations: 36.02 kB / 0.857 GB, free: 20.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.3957, allocations: 162 kB / 0.8571 GB, free: 20.78 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.3957, allocations: 111.8 kB / 0.8572 GB, free: 20.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.3958, allocations: 75.08 kB / 0.8573 GB, free: 20.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.3958, allocations: 340 kB / 0.8576 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.396, allocations: 213.2 kB / 0.8578 GB, free: 20.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.3962, allocations: 312.6 kB / 0.8581 GB, free: 20.06 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3965, allocations: 440.9 kB / 0.8586 GB, free: 19.8 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3965, allocations: 0 / 0.8586 GB, free: 19.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004322/0.3969, allocations: 0.5525 MB / 0.8591 GB, free: 19.56 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.3969, allocations: 89.8 kB / 0.8592 GB, free: 19.46 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3969, allocations: 5.531 kB / 0.8592 GB, free: 19.46 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.397, allocations: 9.188 kB / 0.8592 GB, free: 19.46 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3971, allocations: 75.61 kB / 0.8593 GB, free: 19.46 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3971, allocations: 3.75 kB / 0.8593 GB, free: 19.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3972, allocations: 25.69 kB / 0.8593 GB, free: 19.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3973, allocations: 16.38 kB / 0.8593 GB, free: 19.46 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.0001553/0.3974, allocations: 225.6 kB / 0.8595 GB, free: 19.28 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3974, allocations: 33.94 kB / 0.8596 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.3975, allocations: 35.02 kB / 0.8596 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3975, allocations: 2.812 kB / 0.8596 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3975, allocations: 0 / 0.8596 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3975, allocations: 2.844 kB / 0.8596 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.3981, allocations: 0.7654 MB / 0.8603 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3981, allocations: 0 / 0.8603 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.3982, allocations: 53.53 kB / 0.8604 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3982, allocations: 2.25 kB / 0.8604 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3983, allocations: 16.27 kB / 0.8604 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3983, allocations: 2.406 kB / 0.8604 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3983, allocations: 7.469 kB / 0.8604 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.3988, allocations: 0.7251 MB / 0.8611 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.3988, allocations: 19.72 kB / 0.8611 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.3988, allocations: 14.09 kB / 0.8612 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.3989, allocations: 19.09 kB / 0.8612 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.399, allocations: 30.17 kB / 0.8612 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.399, allocations: 13.45 kB / 0.8612 GB, free: 18.53 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.783e-05/0.3991, allocations: 176.5 kB / 0.8614 GB, free: 18.45 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3991, allocations: 3.969 kB / 0.8614 GB, free: 18.45 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002164/0.3993, allocations: 88.22 kB / 0.8615 GB, free: 18.45 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 8.287e-05/0.3994, allocations: 120.7 kB / 0.8616 GB, free: 18.36 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.3998, allocations: 0.5709 MB / 0.8622 GB, free: 18.02 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.3998, allocations: 0.625 kB / 0.8622 GB, free: 18.02 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.4, allocations: 296.7 kB / 0.8624 GB, free: 17.83 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.4003, allocations: 86.95 kB / 0.8625 GB, free: 17.83 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.4014, allocations: 0.9695 MB / 0.8635 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.4015, allocations: 158 kB / 0.8636 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.4015, allocations: 28.77 kB / 0.8636 GB, free: 17.27 MB / 490.8 MB Notification: Performance of SimCode: time 1.093e-06/0.4015, allocations: 4 kB / 0.8636 GB, free: 17.26 MB / 490.8 MB Notification: Performance of Templates: time 0.004878/0.4064, allocations: 4.019 MB / 0.8676 GB, free: 16.91 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.054496784694493]