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.002461/0.002461, 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.003098/0.003098, allocations: 170.3 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.569/1.569, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.356/1.356, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.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.272e-06/1.272e-06, allocations: 0 / 0.6999 GB, free: 8.562 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.252e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference): time 0.00309/0.003113, allocations: 2.705 MB / 0.7025 GB, free: 5.836 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006019/0.009132, allocations: 6.611 MB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.00934, allocations: 4 kB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.009516, allocations: 39.56 kB / 0.709 GB, free: 15.17 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.009906, allocations: 127 kB / 0.7092 GB, free: 15.05 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.01019, allocations: 67.84 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.01075, allocations: 393.8 kB / 0.7096 GB, free: 14.59 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.01094, allocations: 56.83 kB / 0.7097 GB, free: 14.54 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.01128, allocations: 211.5 kB / 0.7099 GB, free: 14.34 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.0116, allocations: 119.6 kB / 0.71 GB, free: 14.22 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.01166, allocations: 24 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.01172, allocations: 24 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.0118, allocations: 51.77 kB / 0.7101 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.01198, allocations: 123.6 kB / 0.7102 GB, free: 14 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.01239, allocations: 291.1 kB / 0.7105 GB, free: 13.71 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.01239, allocations: 4 kB / 0.7105 GB, free: 13.71 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0124, allocations: 0 / 0.7105 GB, free: 13.71 MB / 426.8 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.01241, allocations: 0 / 0.7105 GB, free: 13.71 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.001194/0.0136, allocations: 0.5924 MB / 0.711 GB, free: 13.07 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.01364, allocations: 12.03 kB / 0.7111 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.741e-05/0.01373, allocations: 36.69 kB / 0.7111 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.01407, allocations: 212.7 kB / 0.7113 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.0141, allocations: 16.75 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.01416, allocations: 20.38 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.01473, allocations: 292.7 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.01475, allocations: 3.953 kB / 0.7116 GB, free: 12.44 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.01478, allocations: 12 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.01479, allocations: 4 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000547/0.01534, allocations: 240.4 kB / 0.7119 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.01669, allocations: 0.6756 MB / 0.7125 GB, free: 11.46 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.01732, allocations: 238.1 kB / 0.7127 GB, free: 11.2 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.01762, allocations: 148.4 kB / 0.7129 GB, free: 11.04 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.01763, allocations: 0 / 0.7129 GB, free: 11.04 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000565/0.01819, allocations: 369.2 kB / 0.7132 GB, free: 10.64 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.0182, allocations: 8 kB / 0.7132 GB, free: 10.63 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002279/0.02048, allocations: 1.072 MB / 0.7143 GB, free: 9.465 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.02065, allocations: 217.6 kB / 0.7145 GB, free: 9.203 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.02096, allocations: 249.9 kB / 0.7147 GB, free: 8.953 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.021, allocations: 37.7 kB / 0.7148 GB, free: 8.91 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.02115, allocations: 156.8 kB / 0.7149 GB, free: 8.75 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.02126, allocations: 107.1 kB / 0.715 GB, free: 8.645 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.0214, allocations: 78.19 kB / 0.7151 GB, free: 8.559 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.0216, allocations: 342.7 kB / 0.7154 GB, free: 8.215 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.02197, allocations: 211.8 kB / 0.7156 GB, free: 7.988 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.02243, allocations: 319.1 kB / 0.7159 GB, free: 7.613 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/0.02313, allocations: 431.1 kB / 0.7163 GB, free: 7.125 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.02314, allocations: 8 kB / 0.7164 GB, free: 7.117 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001006/0.02415, allocations: 0.5457 MB / 0.7169 GB, free: 6.527 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.02423, allocations: 89.11 kB / 0.717 GB, free: 6.422 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.02424, allocations: 4 kB / 0.717 GB, free: 6.418 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.02426, allocations: 4.344 kB / 0.717 GB, free: 6.414 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.02459, allocations: 79.83 kB / 0.7171 GB, free: 6.336 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.02461, allocations: 11.98 kB / 0.7171 GB, free: 6.324 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.02485, allocations: 19.98 kB / 0.7171 GB, free: 6.305 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.02489, allocations: 20 kB / 0.7171 GB, free: 6.285 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.0003464/0.02524, allocations: 226.9 kB / 0.7173 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.0253, allocations: 31.81 kB / 0.7174 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.296e-05/0.02537, allocations: 34.95 kB / 0.7174 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.02537, allocations: 4 kB / 0.7174 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.02538, allocations: 0 / 0.7174 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.02539, allocations: 3.984 kB / 0.7174 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.02681, allocations: 0.7639 MB / 0.7181 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02681, allocations: 0 / 0.7181 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.0271, allocations: 51.97 kB / 0.7182 GB, free: 5.094 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.02711, allocations: 4 kB / 0.7182 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.02714, allocations: 15.98 kB / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.02715, allocations: 4 kB / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.02715, allocations: 3.938 kB / 0.7182 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.02836, allocations: 0.719 MB / 0.7189 GB, free: 4.289 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.02841, allocations: 31.86 kB / 0.7189 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.02847, allocations: 12 kB / 0.719 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.02868, allocations: 15.98 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.02878, allocations: 31.89 kB / 0.719 GB, free: 4.199 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.02881, allocations: 15.98 kB / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002058/0.02902, allocations: 177.2 kB / 0.7192 GB, free: 4.012 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02902, allocations: 0 / 0.7192 GB, free: 4.012 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003805/0.0294, allocations: 88 kB / 0.7193 GB, free: 3.926 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.0001843/0.02958, allocations: 130.9 kB / 0.7194 GB, free: 3.793 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2276/0.2572, allocations: 0.5595 MB / 0.7199 GB, free: 37.17 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2572, allocations: 0 / 0.7199 GB, free: 37.17 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.2576, allocations: 302 kB / 0.7202 GB, free: 36.98 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.2583, allocations: 86.61 kB / 0.7203 GB, free: 36.98 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.2595, allocations: 0.7887 MB / 0.7211 GB, free: 36.58 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2597, allocations: 159.1 kB / 0.7212 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.2598, allocations: 35.98 kB / 0.7213 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.2599, allocations: 26.44 kB / 0.7213 GB, free: 36.48 MB / 426.8 MB Notification: Performance of SimCode: time 7.21e-07/0.2599, allocations: 3.625 kB / 0.7213 GB, free: 36.48 MB / 426.8 MB Notification: Performance of Templates: time 0.009631/0.2695, allocations: 4.555 MB / 0.7257 GB, free: 36.06 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.024235614808276]