Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final.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.002081/0.002081, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002425/0.002425, allocations: 218.4 kB / 22.25 MB, free: 3.582 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.725/1.725, allocations: 230.6 MB / 256 MB, free: 9.641 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.427/1.427, allocations: 316.7 MB / 0.6144 GB, free: 93.11 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_Hahn2019_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final") [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.004548/0.004548, allocations: 73.58 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1712, allocations: 74 MB / 0.8472 GB, free: 4.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final): time 0.004729/0.1759, allocations: 2.694 MB / 0.8499 GB, free: 2.219 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3152/0.4912, allocations: 6.602 MB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.4914, allocations: 5.625 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.4915, allocations: 36.28 kB / 0.8564 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.4918, allocations: 121.2 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.4921, allocations: 76.72 kB / 0.8566 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.4925, allocations: 371.9 kB / 0.8569 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.4926, allocations: 50.41 kB / 0.857 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.4928, allocations: 148.4 kB / 0.8571 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.493, allocations: 137.1 kB / 0.8572 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.4931, allocations: 27.22 kB / 0.8573 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.4931, allocations: 23.97 kB / 0.8573 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.4932, allocations: 57.67 kB / 0.8573 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.4933, allocations: 134.3 kB / 0.8575 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.4937, allocations: 287.7 kB / 0.8577 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4937, allocations: 0.5312 kB / 0.8577 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4937, allocations: 1.562 kB / 0.8577 GB, free: 21.75 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4937, allocations: 0 / 0.8577 GB, free: 21.75 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.000969/0.4947, allocations: 0.5977 MB / 0.8583 GB, free: 21.28 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.4947, allocations: 11.5 kB / 0.8583 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.4948, allocations: 31.16 kB / 0.8584 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.495, allocations: 216.2 kB / 0.8586 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.495, allocations: 18.5 kB / 0.8586 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.4951, allocations: 28.45 kB / 0.8586 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.4955, allocations: 281.1 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.4955, allocations: 9.531 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4956, allocations: 7.969 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4956, allocations: 6.219 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.496, allocations: 235 kB / 0.8591 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.497, allocations: 0.6739 MB / 0.8598 GB, free: 20.56 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.4975, allocations: 242.1 kB / 0.86 GB, free: 20.47 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.4977, allocations: 149.7 kB / 0.8602 GB, free: 20.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.4977, allocations: 3.031 kB / 0.8602 GB, free: 20.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.4981, allocations: 361.5 kB / 0.8605 GB, free: 20.16 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.4981, allocations: 6.938 kB / 0.8605 GB, free: 20.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001729/0.4999, allocations: 1.077 MB / 0.8616 GB, free: 19.62 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.4999, allocations: 216.3 kB / 0.8618 GB, free: 19.37 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.5001, allocations: 249.8 kB / 0.862 GB, free: 19.26 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.5001, allocations: 34.02 kB / 0.862 GB, free: 19.23 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.5002, allocations: 163.3 kB / 0.8622 GB, free: 19.12 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.5003, allocations: 117.2 kB / 0.8623 GB, free: 19.05 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.5004, allocations: 70.09 kB / 0.8624 GB, free: 19.03 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.5004, allocations: 341.8 kB / 0.8627 GB, free: 18.72 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.5007, allocations: 210.1 kB / 0.8629 GB, free: 18.62 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.501, allocations: 319.6 kB / 0.8632 GB, free: 18.38 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.5015, allocations: 429.4 kB / 0.8636 GB, free: 18.12 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5015, allocations: 1.906 kB / 0.8636 GB, free: 18.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007519/0.5022, allocations: 0.5526 MB / 0.8642 GB, free: 17.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.5023, allocations: 88.81 kB / 0.8642 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5023, allocations: 3.766 kB / 0.8642 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5023, allocations: 6.75 kB / 0.8643 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.5026, allocations: 81.39 kB / 0.8643 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.5026, allocations: 5.906 kB / 0.8643 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.5029, allocations: 28.09 kB / 0.8644 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.5029, allocations: 16.66 kB / 0.8644 GB, free: 17.75 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.0001982/0.5031, allocations: 224.5 kB / 0.8646 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.5031, allocations: 32.88 kB / 0.8646 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.933e-05/0.5032, allocations: 32.5 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5032, allocations: 3.938 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5032, allocations: 0 / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.5032, allocations: 7.125 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5042, allocations: 0.7699 MB / 0.8654 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5042, allocations: 0 / 0.8654 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.5045, allocations: 51.38 kB / 0.8655 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5045, allocations: 2.078 kB / 0.8655 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.5045, allocations: 15.5 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5045, allocations: 3.062 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5045, allocations: 0.5938 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.5055, allocations: 0.7225 MB / 0.8662 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.5055, allocations: 26.16 kB / 0.8662 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.5056, allocations: 16.84 kB / 0.8662 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.5058, allocations: 19.89 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.5059, allocations: 29.25 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.5059, allocations: 11.66 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001552/0.5061, allocations: 179.6 kB / 0.8665 GB, free: 16.72 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5061, allocations: 4.5 kB / 0.8665 GB, free: 16.71 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000338/0.5064, allocations: 84.75 kB / 0.8665 GB, free: 16.71 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.0001232/0.5065, allocations: 127.3 kB / 0.8667 GB, free: 16.62 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.5072, allocations: 0.5687 MB / 0.8672 GB, free: 16.26 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5072, allocations: 0.5625 kB / 0.8672 GB, free: 16.26 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.5075, allocations: 300.4 kB / 0.8675 GB, free: 16.07 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.508, allocations: 85.81 kB / 0.8676 GB, free: 16.07 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.5095, allocations: 0.9412 MB / 0.8685 GB, free: 15.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.5096, allocations: 159 kB / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.5098, allocations: 36.08 kB / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.5098, allocations: 28.17 kB / 0.8687 GB, free: 15.49 MB / 490.8 MB Notification: Performance of SimCode: time 9.72e-07/0.5098, allocations: 0 / 0.8687 GB, free: 15.49 MB / 490.8 MB Notification: Performance of Templates: time 0.00948/0.5193, allocations: 5.004 MB / 0.8736 GB, free: 14.99 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.914464815985411]