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.001413/0.001413, allocations: 112.3 kB / 19.71 MB, free: 432 kB / 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.001866/0.001866, allocations: 217.3 kB / 23 MB, free: 2.965 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.086/1.086, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.7249/0.7249, allocations: 312.3 MB / 0.6109 GB, free: 97.75 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_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.001461/0.001461, allocations: 78.31 kB / 0.7699 GB, free: 20.28 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1273, allocations: 73.98 MB / 0.8422 GB, free: 10.43 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final): time 0.002965/0.1303, allocations: 2.707 MB / 0.8448 GB, free: 7.723 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006277/0.1366, allocations: 6.614 MB / 0.8513 GB, free: 1.109 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.1368, allocations: 0.5 kB / 0.8513 GB, free: 1.109 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.137, allocations: 40.11 kB / 0.8513 GB, free: 1.07 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1372, allocations: 120.2 kB / 0.8514 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1374, allocations: 72.44 kB / 0.8515 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.1378, allocations: 382.7 kB / 0.8519 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1379, allocations: 52.91 kB / 0.8519 GB, free: 468 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.138, allocations: 136.1 kB / 0.8521 GB, free: 332 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1383, allocations: 140 kB / 0.8522 GB, free: 192 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.1383, allocations: 24.62 kB / 0.8522 GB, free: 168 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.208e-05/0.1383, allocations: 24 kB / 0.8522 GB, free: 144 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.1384, allocations: 60.22 kB / 0.8523 GB, free: 84 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1385, allocations: 143.9 kB / 0.8524 GB, free: 15.94 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1387, allocations: 278.8 kB / 0.8527 GB, free: 15.67 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1387, allocations: 0.6562 kB / 0.8527 GB, free: 15.67 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1387, allocations: 4 kB / 0.8527 GB, free: 15.66 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1387, allocations: 0.625 kB / 0.8527 GB, free: 15.66 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.0007767/0.1395, allocations: 0.598 MB / 0.8533 GB, free: 15.02 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1396, allocations: 16.55 kB / 0.8533 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.1396, allocations: 33.31 kB / 0.8533 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1399, allocations: 209.1 kB / 0.8535 GB, free: 14.74 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1399, allocations: 17.34 kB / 0.8535 GB, free: 14.72 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1399, allocations: 23.94 kB / 0.8536 GB, free: 14.7 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.1402, allocations: 285.1 kB / 0.8538 GB, free: 14.4 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1403, allocations: 11.83 kB / 0.8539 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1403, allocations: 12.59 kB / 0.8539 GB, free: 14.38 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.1403, allocations: 4.594 kB / 0.8539 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.1405, allocations: 229.5 kB / 0.8541 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.1413, allocations: 0.6731 MB / 0.8547 GB, free: 13.42 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.1417, allocations: 239.2 kB / 0.855 GB, free: 13.16 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1418, allocations: 149.1 kB / 0.8551 GB, free: 13 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1419, allocations: 0.5938 kB / 0.8551 GB, free: 13 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004499/0.1423, allocations: 362.8 kB / 0.8555 GB, free: 12.61 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.245e-06/0.1423, allocations: 0 / 0.8555 GB, free: 12.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2505/0.3928, allocations: 1.076 MB / 0.8565 GB, free: 30.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.3928, allocations: 223.6 kB / 0.8567 GB, free: 30.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.393, allocations: 250.8 kB / 0.857 GB, free: 30.24 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3931, allocations: 34.2 kB / 0.857 GB, free: 30.21 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.3931, allocations: 157.6 kB / 0.8571 GB, free: 30.12 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.3932, allocations: 119.3 kB / 0.8573 GB, free: 30.06 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.3933, allocations: 72.23 kB / 0.8573 GB, free: 30.04 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.3933, allocations: 339.6 kB / 0.8577 GB, free: 29.73 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.3935, allocations: 217.5 kB / 0.8579 GB, free: 29.63 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3937, allocations: 310.6 kB / 0.8582 GB, free: 29.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.3941, allocations: 443.7 kB / 0.8586 GB, free: 29.14 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.3941, allocations: 3.406 kB / 0.8586 GB, free: 29.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005191/0.3946, allocations: 0.5427 MB / 0.8591 GB, free: 28.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.3946, allocations: 93.17 kB / 0.8592 GB, free: 28.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3946, allocations: 4.219 kB / 0.8592 GB, free: 28.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.3947, allocations: 4.047 kB / 0.8592 GB, free: 28.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.3949, allocations: 87.59 kB / 0.8593 GB, free: 28.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3949, allocations: 7.203 kB / 0.8593 GB, free: 28.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.395, allocations: 22.3 kB / 0.8593 GB, free: 28.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.395, allocations: 13.89 kB / 0.8593 GB, free: 28.8 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.0001878/0.3952, allocations: 215.6 kB / 0.8595 GB, free: 28.61 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.3952, allocations: 38.66 kB / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.3953, allocations: 43.86 kB / 0.8596 GB, free: 28.58 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3953, allocations: 2.469 kB / 0.8596 GB, free: 28.58 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3953, allocations: 0 / 0.8596 GB, free: 28.58 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3953, allocations: 1.875 kB / 0.8596 GB, free: 28.58 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.396, allocations: 0.763 MB / 0.8604 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.396, allocations: 3.375 kB / 0.8604 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.3962, allocations: 58.12 kB / 0.8604 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3962, allocations: 0 / 0.8604 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3962, allocations: 13 kB / 0.8604 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3962, allocations: 3.5 kB / 0.8604 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3962, allocations: 0 / 0.8604 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.3968, allocations: 0.7272 MB / 0.8612 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.3968, allocations: 28.31 kB / 0.8612 GB, free: 27.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.3968, allocations: 12.38 kB / 0.8612 GB, free: 27.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.397, allocations: 14.34 kB / 0.8612 GB, free: 27.84 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.397, allocations: 36.27 kB / 0.8612 GB, free: 27.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3971, allocations: 6.781 kB / 0.8612 GB, free: 27.84 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3972, allocations: 180.8 kB / 0.8614 GB, free: 27.76 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.3972, allocations: 0.8125 kB / 0.8614 GB, free: 27.76 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002425/0.3974, allocations: 87.09 kB / 0.8615 GB, free: 27.76 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.0001028/0.3975, allocations: 125.1 kB / 0.8616 GB, free: 27.67 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.398, allocations: 0.5633 MB / 0.8622 GB, free: 27.31 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.398, allocations: 4.531 kB / 0.8622 GB, free: 27.31 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.3982, allocations: 298.8 kB / 0.8625 GB, free: 27.12 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3986, allocations: 92.48 kB / 0.8626 GB, free: 27.11 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3998, allocations: 0.9582 MB / 0.8635 GB, free: 26.64 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.3999, allocations: 161.9 kB / 0.8636 GB, free: 26.56 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.4, allocations: 31.77 kB / 0.8637 GB, free: 26.55 MB / 490.8 MB Notification: Performance of SimCode: time 6.51e-07/0.4, allocations: 0 / 0.8637 GB, free: 26.55 MB / 490.8 MB Notification: Performance of Templates: time 0.007119/0.4071, allocations: 4.011 MB / 0.8676 GB, free: 26.2 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2386808777228]