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.002121/0.002121, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002579/0.002579, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.629/1.629, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.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.397/1.397, allocations: 292.9 MB / 0.5392 GB, free: 49.84 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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.93e-05/4.102e-05, allocations: 3.547 kB / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam_Chen2025_base_model): time 0.00404/0.004081, allocations: 2.705 MB / 0.7025 GB, free: 5.82 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008018/0.0121, allocations: 6.608 MB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.01239, allocations: 7.938 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.01261, allocations: 39.58 kB / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.01311, allocations: 127 kB / 0.7091 GB, free: 15.03 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.01346, allocations: 75.83 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006454/0.01411, allocations: 389.9 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.01432, allocations: 60.81 kB / 0.7096 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.01476, allocations: 199.5 kB / 0.7098 GB, free: 14.32 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.01513, allocations: 123.6 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.01521, allocations: 28 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-05/0.01528, allocations: 28 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.01536, allocations: 59.62 kB / 0.7101 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.01555, allocations: 115.8 kB / 0.7102 GB, free: 13.98 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.01604, allocations: 291.1 kB / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01604, allocations: 0 / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.744e-06/0.01605, allocations: 0 / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.01606, allocations: 0 / 0.7105 GB, free: 13.69 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.001351/0.01741, allocations: 0.5963 MB / 0.711 GB, free: 13.04 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.01746, allocations: 12.03 kB / 0.7111 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.01757, allocations: 32.75 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.01799, allocations: 212.7 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.01802, allocations: 12.75 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/0.01808, allocations: 28.36 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.01868, allocations: 292.7 kB / 0.7116 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.01871, allocations: 3.953 kB / 0.7116 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.01874, allocations: 8 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.01875, allocations: 11.94 kB / 0.7116 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.01932, allocations: 228.5 kB / 0.7118 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.02081, allocations: 0.6718 MB / 0.7125 GB, free: 11.45 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/0.02145, allocations: 245.3 kB / 0.7127 GB, free: 11.19 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.02176, allocations: 156.4 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.02177, allocations: 3.938 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005711/0.02234, allocations: 358.2 kB / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/0.02235, allocations: 0 / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.00249/0.02484, allocations: 1.076 MB / 0.7143 GB, free: 9.449 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/0.02502, allocations: 221.6 kB / 0.7145 GB, free: 9.184 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.02534, allocations: 241.9 kB / 0.7147 GB, free: 8.941 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.02539, allocations: 37.7 kB / 0.7148 GB, free: 8.898 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.02554, allocations: 156.8 kB / 0.7149 GB, free: 8.738 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.02566, allocations: 115.1 kB / 0.715 GB, free: 8.625 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.0258, allocations: 74.19 kB / 0.7151 GB, free: 8.543 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.026, allocations: 346.8 kB / 0.7154 GB, free: 8.195 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.02639, allocations: 211.8 kB / 0.7156 GB, free: 7.969 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.02684, allocations: 311.2 kB / 0.7159 GB, free: 7.605 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.02751, allocations: 431 kB / 0.7163 GB, free: 7.117 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.02752, allocations: 4 kB / 0.7163 GB, free: 7.113 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009751/0.02849, allocations: 0.5497 MB / 0.7169 GB, free: 6.52 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.02858, allocations: 89.09 kB / 0.717 GB, free: 6.414 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.02859, allocations: 4 kB / 0.717 GB, free: 6.41 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.02862, allocations: 4 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.02896, allocations: 79.89 kB / 0.717 GB, free: 6.328 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.02897, allocations: 4.344 kB / 0.717 GB, free: 6.324 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.02922, allocations: 27.98 kB / 0.7171 GB, free: 6.297 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.02926, allocations: 15.94 kB / 0.7171 GB, free: 6.281 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.0003394/0.0296, allocations: 238.7 kB / 0.7173 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.02966, allocations: 31.81 kB / 0.7173 GB, free: 5.996 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.051e-05/0.02974, allocations: 30.95 kB / 0.7174 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.02974, allocations: 4 kB / 0.7174 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.02975, allocations: 3.938 kB / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.02976, allocations: 4 kB / 0.7174 GB, free: 5.953 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.03113, allocations: 0.7639 MB / 0.7181 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.03113, allocations: 0 / 0.7181 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.03143, allocations: 55.89 kB / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.03143, allocations: 0 / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.03146, allocations: 8 kB / 0.7182 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.03147, allocations: 8 kB / 0.7182 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.03148, allocations: 3.938 kB / 0.7182 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.03278, allocations: 0.7231 MB / 0.7189 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.03284, allocations: 23.81 kB / 0.7189 GB, free: 4.25 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.0329, allocations: 20.05 kB / 0.7189 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.03311, allocations: 11.98 kB / 0.719 GB, free: 4.219 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.03323, allocations: 35.89 kB / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.03326, allocations: 12 kB / 0.719 GB, free: 4.172 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002315/0.03349, allocations: 177.2 kB / 0.7192 GB, free: 4 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.03349, allocations: 4 kB / 0.7192 GB, free: 3.996 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003838/0.03387, allocations: 88 kB / 0.7193 GB, free: 3.91 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.0001768/0.03405, allocations: 122.9 kB / 0.7194 GB, free: 3.785 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009433/0.03499, allocations: 0.5615 MB / 0.7199 GB, free: 3.156 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03499, allocations: 0 / 0.7199 GB, free: 3.156 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.21/0.245, allocations: 301.1 kB / 0.7202 GB, free: 37.16 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.2458, allocations: 85.06 kB / 0.7203 GB, free: 37.16 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2472, allocations: 0.7972 MB / 0.7211 GB, free: 36.77 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2474, allocations: 159.1 kB / 0.7212 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.000139/0.2475, allocations: 35.25 kB / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.2476, allocations: 28.2 kB / 0.7213 GB, free: 36.67 MB / 426.8 MB Notification: Performance of SimCode: time 1.192e-06/0.2476, allocations: 0 / 0.7213 GB, free: 36.67 MB / 426.8 MB Notification: Performance of Templates: time 0.01051/0.2581, allocations: 4.557 MB / 0.7257 GB, free: 36.26 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 -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.057367721106857]