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.0006591/0.0006591, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008732/0.001532, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0007052/0.0007052, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008923/0.001597, allocations: 475.7 kB / 11.72 MB, free: 2.453 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 1.029/1.029, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.13, allocations: 53.67 MB / 243.3 MB, free: 15.59 MB / 250.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.7428/0.7428, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02892/0.7717, allocations: 21.05 MB / 0.5432 GB, free: 31.96 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.473e-06/1.473e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.054e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference): time 0.0078/0.00783, allocations: 2.963 MB / 0.5475 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.02038, allocations: 6.778 MB / 0.5541 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.02067, allocations: 0 / 0.5541 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.02081, allocations: 39.58 kB / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.02113, allocations: 127 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.02137, allocations: 75.77 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.02174, allocations: 393.9 kB / 0.5547 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.02191, allocations: 58.84 kB / 0.5547 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.02223, allocations: 250.6 kB / 0.555 GB, free: 19.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.02246, allocations: 119.6 kB / 0.5551 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.0225, allocations: 24 kB / 0.5551 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.02255, allocations: 28 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.02259, allocations: 43.8 kB / 0.5552 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.02269, allocations: 95.81 kB / 0.5553 GB, free: 19.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.02298, allocations: 207.2 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.456e-05/0.02299, allocations: 0 / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02299, allocations: 0 / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.02301, allocations: 0 / 0.5555 GB, free: 19.36 MB / 410.7 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.0009419/0.02395, allocations: 0.6243 MB / 0.5561 GB, free: 18.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.024, allocations: 15.89 kB / 0.5561 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.02408, allocations: 36.91 kB / 0.5561 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.02432, allocations: 189.5 kB / 0.5563 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.02434, allocations: 20.75 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.02439, allocations: 28.31 kB / 0.5564 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.02466, allocations: 244.6 kB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.02468, allocations: 0 / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.02469, allocations: 12 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.02471, allocations: 4 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.02487, allocations: 138.6 kB / 0.5567 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.02564, allocations: 0.5152 MB / 0.5573 GB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.02589, allocations: 160 kB / 0.5574 GB, free: 17.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.02596, allocations: 96.48 kB / 0.5575 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.02598, allocations: 7.938 kB / 0.5575 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.02618, allocations: 321.4 kB / 0.5578 GB, free: 16.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.415e-06/0.02618, allocations: 0 / 0.5578 GB, free: 16.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008245/0.02701, allocations: 0.8157 MB / 0.5586 GB, free: 15.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.02705, allocations: 277 kB / 0.5589 GB, free: 15.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.02716, allocations: 225 kB / 0.5591 GB, free: 15.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.02717, allocations: 37.7 kB / 0.5591 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.02723, allocations: 137.3 kB / 0.5593 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.02728, allocations: 119 kB / 0.5594 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.02734, allocations: 74.14 kB / 0.5594 GB, free: 14.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2926/0.32, allocations: 337.9 kB / 0.5598 GB, free: 79.53 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3202, allocations: 143.8 kB / 0.5599 GB, free: 79.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3203, allocations: 251.3 kB / 0.5601 GB, free: 79.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.3205, allocations: 343.2 kB / 0.5605 GB, free: 78.95 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3205, allocations: 1.125 kB / 0.5605 GB, free: 78.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004139/0.3209, allocations: 390.1 kB / 0.5608 GB, free: 78.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.722e-05/0.321, allocations: 90.28 kB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.321, allocations: 5.625 kB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.321, allocations: 5.156 kB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.3214, allocations: 109.7 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3214, allocations: 7.281 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3216, allocations: 17.97 kB / 0.5611 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.3216, allocations: 14.06 kB / 0.5611 GB, free: 78.63 MB / 410.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.0002189/0.3218, allocations: 217 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.3219, allocations: 33.41 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.3219, allocations: 35.86 kB / 0.5613 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.3219, allocations: 1.594 kB / 0.5613 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3219, allocations: 1.188 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.322, allocations: 22.55 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.322, allocations: 9.922 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.322, allocations: 12.09 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.3221, allocations: 15.7 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.3222, allocations: 25.88 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003427/0.3225, allocations: 392.7 kB / 0.5618 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003833/0.3229, allocations: 0.5894 MB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001142/0.323, allocations: 139.9 kB / 0.5625 GB, free: 77.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.051e-05/0.3231, allocations: 84.78 kB / 0.5626 GB, free: 77.72 MB / 410.8 MB Notification: Performance of Backend: time 4.71e-07/0.3231, allocations: 3.375 kB / 0.5626 GB, free: 77.72 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.3235, allocations: 479.5 kB / 0.5631 GB, free: 77.38 MB / 410.8 MB Notification: Performance of SimCode: time 0.008058/0.3316, allocations: 1.32 MB / 0.5643 GB, free: 76.45 MB / 410.8 MB Notification: Performance of Templates: time 0.007843/0.3394, allocations: 5.272 MB / 0.5695 GB, free: 75.44 MB / 410.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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.855348232202232]