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.001485/0.001485, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001399/0.001399, allocations: 169.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9217/0.9217, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.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.7626/0.7626, allocations: 291.2 MB / 0.5382 GB, free: 51.75 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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.545e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model): time 0.002505/0.00253, allocations: 2.702 MB / 0.7 GB, free: 7.645 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004477/0.007007, allocations: 6.623 MB / 0.7065 GB, free: 1.012 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.007179, allocations: 0 / 0.7065 GB, free: 1.012 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.007314, allocations: 39.58 kB / 0.7065 GB, free: 0.9727 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.007557, allocations: 119 kB / 0.7066 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.007785, allocations: 75.83 kB / 0.7067 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.008026, allocations: 393.9 kB / 0.7071 GB, free: 404 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.008177, allocations: 56.88 kB / 0.7071 GB, free: 352 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.008331, allocations: 211.4 kB / 0.7073 GB, free: 140 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.008524, allocations: 115.6 kB / 0.7075 GB, free: 24 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.008556, allocations: 24 kB / 0.7075 GB, free: 0 / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.285e-05/0.008599, allocations: 24.05 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.008638, allocations: 59.7 kB / 0.7076 GB, free: 15.92 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.768e-05/0.008736, allocations: 111.7 kB / 0.7077 GB, free: 15.81 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.009004, allocations: 307.1 kB / 0.708 GB, free: 15.51 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.009007, allocations: 0 / 0.708 GB, free: 15.51 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.234e-06/0.00901, allocations: 0 / 0.708 GB, free: 15.51 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.009015, allocations: 0 / 0.708 GB, free: 15.51 MB / 426.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.0007995/0.009814, allocations: 0.5846 MB / 0.7085 GB, free: 14.87 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.009857, allocations: 8.031 kB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.009916, allocations: 36.75 kB / 0.7086 GB, free: 14.83 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.01013, allocations: 212.7 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.01015, allocations: 24.69 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.01019, allocations: 24.38 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.01054, allocations: 284.7 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.01055, allocations: 3.953 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.01057, allocations: 8 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.01058, allocations: 11.98 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.01086, allocations: 232.5 kB / 0.7093 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.01168, allocations: 0.6678 MB / 0.71 GB, free: 13.28 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.01226, allocations: 244.7 kB / 0.7102 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.01241, allocations: 148.5 kB / 0.7104 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.01242, allocations: 4 kB / 0.7104 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.01273, allocations: 361.5 kB / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.01273, allocations: 0 / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.00125/0.01398, allocations: 1.096 MB / 0.7118 GB, free: 11.27 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.01405, allocations: 213.6 kB / 0.712 GB, free: 11.01 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.01423, allocations: 245.9 kB / 0.7122 GB, free: 10.76 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.01425, allocations: 33.7 kB / 0.7123 GB, free: 10.72 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.01434, allocations: 160.7 kB / 0.7124 GB, free: 10.56 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.01439, allocations: 119 kB / 0.7125 GB, free: 10.44 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.01447, allocations: 70.2 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.01455, allocations: 346.7 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.01474, allocations: 207.9 kB / 0.7131 GB, free: 9.793 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.01495, allocations: 315.2 kB / 0.7134 GB, free: 9.426 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.01529, allocations: 435 kB / 0.7138 GB, free: 8.934 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01529, allocations: 4 kB / 0.7138 GB, free: 8.93 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004831/0.01578, allocations: 0.5499 MB / 0.7144 GB, free: 8.336 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.01582, allocations: 97.09 kB / 0.7145 GB, free: 8.223 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.01583, allocations: 0 / 0.7145 GB, free: 8.223 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01585, allocations: 8 kB / 0.7145 GB, free: 8.215 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.01601, allocations: 71.89 kB / 0.7145 GB, free: 8.145 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.01602, allocations: 7.938 kB / 0.7145 GB, free: 8.137 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.01614, allocations: 23.98 kB / 0.7146 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.01615, allocations: 16 kB / 0.7146 GB, free: 8.098 MB / 426.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.0001827/0.01634, allocations: 219.2 kB / 0.7148 GB, free: 7.859 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.01637, allocations: 35.8 kB / 0.7148 GB, free: 7.824 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.01641, allocations: 34.95 kB / 0.7149 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.01641, allocations: 4 kB / 0.7149 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01641, allocations: 0 / 0.7149 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01642, allocations: 3.984 kB / 0.7149 GB, free: 7.781 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.01711, allocations: 0.76 MB / 0.7156 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01711, allocations: 4 kB / 0.7156 GB, free: 6.957 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.01726, allocations: 59.89 kB / 0.7157 GB, free: 6.898 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01727, allocations: 4 kB / 0.7157 GB, free: 6.895 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.01728, allocations: 8 kB / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01728, allocations: 0 / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.01729, allocations: 3.938 kB / 0.7157 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.0179, allocations: 0.7268 MB / 0.7164 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.01794, allocations: 35.86 kB / 0.7164 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.01797, allocations: 8 kB / 0.7164 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.01807, allocations: 15.98 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.01814, allocations: 39.88 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.01815, allocations: 8 kB / 0.7165 GB, free: 5.992 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001137/0.01826, allocations: 177.2 kB / 0.7167 GB, free: 5.82 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01826, allocations: 3.938 kB / 0.7167 GB, free: 5.816 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002189/0.01848, allocations: 88 kB / 0.7168 GB, free: 5.73 MB / 426.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.0001078/0.01859, allocations: 127 kB / 0.7169 GB, free: 5.602 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000714/0.0193, allocations: 0.557 MB / 0.7174 GB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01931, allocations: 0 / 0.7174 GB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.01951, allocations: 305.5 kB / 0.7177 GB, free: 4.645 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.01985, allocations: 97.05 kB / 0.7178 GB, free: 4.551 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009571/0.0208, allocations: 0.8164 MB / 0.7186 GB, free: 3.691 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.02091, allocations: 156.3 kB / 0.7188 GB, free: 3.516 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.02097, allocations: 32.48 kB / 0.7188 GB, free: 3.484 MB / 426.8 MB Notification: Performance of SimCode: time 7.12e-07/0.02097, allocations: 0 / 0.7188 GB, free: 3.484 MB / 426.8 MB Notification: Performance of Templates: time 0.1876/0.2086, allocations: 4.014 MB / 0.7227 GB, free: 36.72 MB / 426.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: 5.852771323174238]