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.002673/0.002673, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.003136/0.003136, allocations: 217.4 kB / 22.25 MB, free: 3.57 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.699/1.699, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.45/1.45, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003881/0.003881, allocations: 78.09 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1663, allocations: 73.99 MB / 0.8472 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Khaowroongrueng2024_reference): time 0.004353/0.1706, allocations: 2.709 MB / 0.8499 GB, free: 2.188 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2763/0.447, allocations: 6.597 MB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.4472, allocations: 3.188 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.4474, allocations: 38.09 kB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.4477, allocations: 124.5 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.448, allocations: 71.27 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.4484, allocations: 376.6 kB / 0.8569 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.4485, allocations: 51.31 kB / 0.857 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.4487, allocations: 144.6 kB / 0.8571 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.449, allocations: 144 kB / 0.8572 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.449, allocations: 23.12 kB / 0.8573 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.4491, allocations: 25.5 kB / 0.8573 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.4492, allocations: 49.92 kB / 0.8573 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.4493, allocations: 141.2 kB / 0.8575 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.4497, allocations: 284.3 kB / 0.8577 GB, free: 21.71 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4497, allocations: 0.7812 kB / 0.8577 GB, free: 21.71 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4497, allocations: 0 / 0.8577 GB, free: 21.71 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4497, allocations: 3 kB / 0.8577 GB, free: 21.71 MB / 490.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.001125/0.4508, allocations: 0.5989 MB / 0.8583 GB, free: 21.24 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4508, allocations: 9.406 kB / 0.8583 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.138e-05/0.4509, allocations: 33.56 kB / 0.8584 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.4512, allocations: 211.5 kB / 0.8586 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4513, allocations: 17.69 kB / 0.8586 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.4513, allocations: 26.84 kB / 0.8586 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.4519, allocations: 285.4 kB / 0.8589 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.4519, allocations: 4.516 kB / 0.8589 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.4519, allocations: 7.953 kB / 0.8589 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4519, allocations: 9.438 kB / 0.8589 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.4525, allocations: 241.5 kB / 0.8591 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.4538, allocations: 0.6784 MB / 0.8598 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006381/0.4545, allocations: 237.6 kB / 0.86 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.4548, allocations: 151.6 kB / 0.8602 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.4548, allocations: 7.359 kB / 0.8602 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005649/0.4554, allocations: 350.7 kB / 0.8605 GB, free: 20.12 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.355e-06/0.4554, allocations: 0.5625 kB / 0.8605 GB, free: 20.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.002549/0.4579, allocations: 1.081 MB / 0.8616 GB, free: 19.58 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.458, allocations: 222.2 kB / 0.8618 GB, free: 19.33 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.4583, allocations: 244.6 kB / 0.862 GB, free: 19.22 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.4583, allocations: 41.34 kB / 0.8621 GB, free: 19.19 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.4584, allocations: 154.1 kB / 0.8622 GB, free: 19.08 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.4585, allocations: 115.5 kB / 0.8623 GB, free: 19.01 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.4586, allocations: 73.52 kB / 0.8624 GB, free: 18.99 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.4587, allocations: 339.9 kB / 0.8627 GB, free: 18.68 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.459, allocations: 212.1 kB / 0.8629 GB, free: 18.58 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.4594, allocations: 318.7 kB / 0.8632 GB, free: 18.34 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.4601, allocations: 432 kB / 0.8636 GB, free: 18.08 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4601, allocations: 1.875 kB / 0.8636 GB, free: 18.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001103/0.4612, allocations: 0.5491 MB / 0.8642 GB, free: 17.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.4613, allocations: 91.77 kB / 0.8642 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.4613, allocations: 2.688 kB / 0.8643 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.4613, allocations: 6.125 kB / 0.8643 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.4618, allocations: 80.83 kB / 0.8643 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.4618, allocations: 6.625 kB / 0.8643 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.4622, allocations: 29.77 kB / 0.8644 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.4622, allocations: 19.8 kB / 0.8644 GB, free: 17.71 MB / 490.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.0002558/0.4625, allocations: 223.5 kB / 0.8646 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.4625, allocations: 33.27 kB / 0.8646 GB, free: 17.51 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.9e-05/0.4626, allocations: 33.12 kB / 0.8647 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4626, allocations: 4.031 kB / 0.8647 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4626, allocations: 3.938 kB / 0.8647 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.4626, allocations: 6.812 kB / 0.8647 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.4641, allocations: 0.7644 MB / 0.8654 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4641, allocations: 1.156 kB / 0.8654 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.4645, allocations: 51.08 kB / 0.8655 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4645, allocations: 4.031 kB / 0.8655 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.4645, allocations: 14.86 kB / 0.8655 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4645, allocations: 1.156 kB / 0.8655 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4645, allocations: 0 / 0.8655 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.4657, allocations: 0.7261 MB / 0.8662 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.4658, allocations: 30.47 kB / 0.8662 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.4659, allocations: 16.08 kB / 0.8662 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.4662, allocations: 16.64 kB / 0.8663 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.4663, allocations: 29.3 kB / 0.8663 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.4663, allocations: 13.27 kB / 0.8663 GB, free: 16.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002269/0.4665, allocations: 177.2 kB / 0.8665 GB, free: 16.67 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4665, allocations: 0 / 0.8665 GB, free: 16.67 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0006439/0.4672, allocations: 87.19 kB / 0.8666 GB, free: 16.67 MB / 490.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.0001311/0.4673, allocations: 127.2 kB / 0.8667 GB, free: 16.58 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0009959/0.4683, allocations: 0.5691 MB / 0.8672 GB, free: 16.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4683, allocations: 0.5 kB / 0.8672 GB, free: 16.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004822/0.4688, allocations: 297.3 kB / 0.8675 GB, free: 16.02 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.4696, allocations: 86.61 kB / 0.8676 GB, free: 16.02 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.4715, allocations: 0.9439 MB / 0.8685 GB, free: 15.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.4717, allocations: 161.8 kB / 0.8687 GB, free: 15.45 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.4719, allocations: 31.78 kB / 0.8687 GB, free: 15.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.4719, allocations: 29.17 kB / 0.8687 GB, free: 15.44 MB / 490.8 MB Notification: Performance of SimCode: time 3.4e-07/0.4719, allocations: 3.938 kB / 0.8687 GB, free: 15.44 MB / 490.8 MB Notification: Performance of Templates: time 0.01353/0.4855, allocations: 4.997 MB / 0.8736 GB, free: 14.95 MB / 490.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.713979912921786]