Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference.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.001007/0.001007, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.001525/0.001525, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.9064/0.9064, allocations: 177.1 MB / 203.5 MB, free: 5.672 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.7437/0.7437, allocations: 291.2 MB / 0.5382 GB, free: 51.81 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.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.291e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference): time 0.002134/0.002157, allocations: 2.708 MB / 0.7 GB, free: 7.625 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.00594, allocations: 6.6 MB / 0.7065 GB, free: 1.016 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.00607, allocations: 4 kB / 0.7065 GB, free: 1.012 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.00619, allocations: 43.56 kB / 0.7065 GB, free: 0.9688 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.006387, allocations: 127 kB / 0.7066 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.006585, allocations: 75.83 kB / 0.7067 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.006806, allocations: 389.9 kB / 0.7071 GB, free: 396 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.006935, allocations: 56.89 kB / 0.7071 GB, free: 344 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.007069, allocations: 211.4 kB / 0.7073 GB, free: 132 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.00723, allocations: 115.6 kB / 0.7074 GB, free: 16 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.007274, allocations: 28.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.99e-05/0.007303, allocations: 28 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.007341, allocations: 55.72 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.588e-05/0.007427, allocations: 115.7 kB / 0.7076 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.007663, allocations: 291.1 kB / 0.7079 GB, free: 15.51 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.007667, allocations: 3.984 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.273e-06/0.007668, allocations: 0 / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.007673, allocations: 0 / 0.7079 GB, free: 15.5 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.0007039/0.008377, allocations: 0.5885 MB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.008412, allocations: 12.03 kB / 0.7085 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.008465, allocations: 36.75 kB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.008673, allocations: 212.7 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.008693, allocations: 20.69 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.008726, allocations: 24.38 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.009035, allocations: 284.7 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.00905, allocations: 7.953 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.009067, allocations: 12 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.009073, allocations: 4 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.009337, allocations: 232.5 kB / 0.7093 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.01007, allocations: 0.6756 MB / 0.71 GB, free: 13.26 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.01041, allocations: 246 kB / 0.7102 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.01055, allocations: 148.5 kB / 0.7103 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.01056, allocations: 0 / 0.7103 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.01086, allocations: 363.7 kB / 0.7107 GB, free: 12.44 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.372e-06/0.01086, allocations: 3.938 kB / 0.7107 GB, free: 12.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001179/0.01204, allocations: 1.082 MB / 0.7118 GB, free: 11.26 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.01212, allocations: 221.6 kB / 0.712 GB, free: 10.99 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.01228, allocations: 245.9 kB / 0.7122 GB, free: 10.75 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.0123, allocations: 37.64 kB / 0.7122 GB, free: 10.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.01237, allocations: 156.8 kB / 0.7124 GB, free: 10.54 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.01243, allocations: 119.1 kB / 0.7125 GB, free: 10.43 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.0125, allocations: 74.19 kB / 0.7126 GB, free: 10.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.01258, allocations: 346.7 kB / 0.7129 GB, free: 9.996 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.01276, allocations: 203.9 kB / 0.7131 GB, free: 9.777 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.01297, allocations: 315.2 kB / 0.7134 GB, free: 9.406 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.01329, allocations: 431 kB / 0.7138 GB, free: 8.918 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01329, allocations: 4 kB / 0.7138 GB, free: 8.914 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004641/0.01376, allocations: 0.5497 MB / 0.7143 GB, free: 8.32 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.0138, allocations: 89.11 kB / 0.7144 GB, free: 8.215 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01381, allocations: 7.984 kB / 0.7144 GB, free: 8.207 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01383, allocations: 4 kB / 0.7144 GB, free: 8.203 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.01399, allocations: 79.89 kB / 0.7145 GB, free: 8.125 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.014, allocations: 8.281 kB / 0.7145 GB, free: 8.117 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.0141, allocations: 23.98 kB / 0.7146 GB, free: 8.094 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.01412, allocations: 16 kB / 0.7146 GB, free: 8.078 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.000172/0.01429, allocations: 215.1 kB / 0.7148 GB, free: 7.848 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.01432, allocations: 31.81 kB / 0.7148 GB, free: 7.816 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.01436, allocations: 30.95 kB / 0.7148 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.01436, allocations: 4 kB / 0.7148 GB, free: 7.781 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.01437, allocations: 0 / 0.7148 GB, free: 7.781 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01437, allocations: 7.984 kB / 0.7148 GB, free: 7.773 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.01503, allocations: 0.7678 MB / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01503, allocations: 0 / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.01518, allocations: 55.91 kB / 0.7156 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01518, allocations: 0 / 0.7156 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.01519, allocations: 11.98 kB / 0.7157 GB, free: 6.879 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.0152, allocations: 4 kB / 0.7157 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.0152, allocations: 3.938 kB / 0.7157 GB, free: 6.871 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.01579, allocations: 0.7268 MB / 0.7164 GB, free: 6.086 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.01582, allocations: 31.86 kB / 0.7164 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.01585, allocations: 12 kB / 0.7164 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.01595, allocations: 15.98 kB / 0.7164 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.01602, allocations: 39.88 kB / 0.7165 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.01603, allocations: 8 kB / 0.7165 GB, free: 5.98 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001064/0.01614, allocations: 177.2 kB / 0.7166 GB, free: 5.809 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01614, allocations: 0 / 0.7166 GB, free: 5.809 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002125/0.01635, allocations: 95.94 kB / 0.7167 GB, free: 5.715 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.0001086/0.01646, allocations: 126.9 kB / 0.7169 GB, free: 5.586 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.01691, allocations: 0.5615 MB / 0.7174 GB, free: 4.957 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01691, allocations: 0 / 0.7174 GB, free: 4.957 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.01711, allocations: 309.6 kB / 0.7177 GB, free: 4.621 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.01744, allocations: 84.55 kB / 0.7178 GB, free: 4.539 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.01834, allocations: 0.8125 MB / 0.7186 GB, free: 3.684 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.003e-05/0.01843, allocations: 156.3 kB / 0.7187 GB, free: 3.508 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.0185, allocations: 32.48 kB / 0.7188 GB, free: 3.477 MB / 426.8 MB Notification: Performance of SimCode: time 8.61e-07/0.0185, allocations: 0 / 0.7188 GB, free: 3.477 MB / 426.8 MB Notification: Performance of Templates: time 0.1542/0.1727, allocations: 4.025 MB / 0.7227 GB, free: 36.79 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.775463113561273]