Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.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.001011/0.001011, allocations: 104.3 kB / 19.71 MB, free: 440 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.0009854/0.0009854, 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 0.9703/0.9703, allocations: 230.7 MB / 256.8 MB, free: 9.598 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.7483/0.7483, allocations: 312.3 MB / 0.6108 GB, free: 97.16 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") [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.001647/0.001647, allocations: 73.02 kB / 0.7699 GB, free: 19.64 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1181, allocations: 74 MB / 0.8422 GB, free: 9.777 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil): time 0.002803/0.1209, allocations: 2.707 MB / 0.8448 GB, free: 7.07 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.004912/0.1258, allocations: 6.606 MB / 0.8513 GB, free: 476 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1259, allocations: 7.938 kB / 0.8513 GB, free: 468 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.126, allocations: 32.23 kB / 0.8513 GB, free: 436 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.1262, allocations: 124.3 kB / 0.8514 GB, free: 312 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1264, allocations: 72.38 kB / 0.8515 GB, free: 240 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.1267, allocations: 378.7 kB / 0.8519 GB, free: 15.86 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1269, allocations: 57.45 kB / 0.8519 GB, free: 15.81 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.127, allocations: 135.5 kB / 0.8521 GB, free: 15.68 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.1273, allocations: 140 kB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.1273, allocations: 24.62 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/0.1273, allocations: 28 kB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.1274, allocations: 60.42 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.1275, allocations: 132.1 kB / 0.8524 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1277, allocations: 294.8 kB / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1277, allocations: 0.7188 kB / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1277, allocations: 0 / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1277, allocations: 0.5938 kB / 0.8527 GB, free: 15.01 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.0007276/0.1284, allocations: 0.5978 MB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1285, allocations: 8.531 kB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1285, allocations: 33.25 kB / 0.8533 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1287, allocations: 209.1 kB / 0.8535 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1287, allocations: 21.38 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1288, allocations: 24.56 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.1291, allocations: 288.4 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1291, allocations: 7.953 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.1291, allocations: 8.594 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1291, allocations: 8.719 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.1294, allocations: 233 kB / 0.8541 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.1301, allocations: 0.6775 MB / 0.8548 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.1305, allocations: 227.4 kB / 0.855 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.1306, allocations: 157 kB / 0.8551 GB, free: 12.35 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.1306, allocations: 4.5 kB / 0.8551 GB, free: 12.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2468/0.3774, allocations: 360.3 kB / 0.8555 GB, free: 21.28 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.425e-06/0.3774, allocations: 0 / 0.8555 GB, free: 21.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001218/0.3786, allocations: 1.08 MB / 0.8565 GB, free: 20.79 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3787, allocations: 222.2 kB / 0.8567 GB, free: 20.54 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3788, allocations: 249.6 kB / 0.857 GB, free: 20.43 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3788, allocations: 35.36 kB / 0.857 GB, free: 20.4 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.3789, allocations: 156.4 kB / 0.8572 GB, free: 20.3 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.3789, allocations: 111.1 kB / 0.8573 GB, free: 20.25 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.379, allocations: 81.02 kB / 0.8573 GB, free: 20.23 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.3791, allocations: 336.6 kB / 0.8577 GB, free: 19.92 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3792, allocations: 211.7 kB / 0.8579 GB, free: 19.81 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.3794, allocations: 322 kB / 0.8582 GB, free: 19.58 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.3797, allocations: 432 kB / 0.8586 GB, free: 19.32 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3797, allocations: 3.25 kB / 0.8586 GB, free: 19.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004109/0.3801, allocations: 0.5509 MB / 0.8591 GB, free: 19.08 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.3801, allocations: 89.95 kB / 0.8592 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3801, allocations: 4.547 kB / 0.8592 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3802, allocations: 5.562 kB / 0.8592 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3803, allocations: 78.95 kB / 0.8593 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3803, allocations: 8.25 kB / 0.8593 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3804, allocations: 27.11 kB / 0.8593 GB, free: 18.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3805, allocations: 22.2 kB / 0.8594 GB, free: 18.98 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.0001398/0.3806, allocations: 218.8 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3806, allocations: 32.94 kB / 0.8596 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.3806, allocations: 33.11 kB / 0.8596 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3807, allocations: 2.094 kB / 0.8596 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3807, allocations: 2.688 kB / 0.8596 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3807, allocations: 3.938 kB / 0.8596 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.3812, allocations: 0.7585 MB / 0.8604 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3812, allocations: 0.6875 kB / 0.8604 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.3814, allocations: 55.16 kB / 0.8604 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3814, allocations: 1.266 kB / 0.8604 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3814, allocations: 11.52 kB / 0.8604 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3814, allocations: 9.75 kB / 0.8604 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3814, allocations: 4.969 kB / 0.8605 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.3819, allocations: 0.7258 MB / 0.8612 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.3819, allocations: 20.59 kB / 0.8612 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.382, allocations: 11 kB / 0.8612 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.3821, allocations: 21.52 kB / 0.8612 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.3821, allocations: 33.8 kB / 0.8612 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3822, allocations: 13.5 kB / 0.8613 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.3822, allocations: 173.8 kB / 0.8614 GB, free: 17.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3822, allocations: 0.625 kB / 0.8614 GB, free: 17.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001998/0.3824, allocations: 88.16 kB / 0.8615 GB, free: 17.97 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 7.927e-05/0.3825, allocations: 126.9 kB / 0.8616 GB, free: 17.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.3829, allocations: 0.5638 MB / 0.8622 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3829, allocations: 0.5 kB / 0.8622 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.3831, allocations: 299.5 kB / 0.8625 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3834, allocations: 91.09 kB / 0.8626 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3844, allocations: 0.9655 MB / 0.8635 GB, free: 16.88 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.3846, allocations: 158.7 kB / 0.8636 GB, free: 16.79 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.3846, allocations: 32.11 kB / 0.8637 GB, free: 16.79 MB / 490.8 MB Notification: Performance of SimCode: time 7.91e-07/0.3846, allocations: 4 kB / 0.8637 GB, free: 16.78 MB / 490.8 MB Notification: Performance of Templates: time 0.004944/0.3896, allocations: 4.016 MB / 0.8676 GB, free: 16.43 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.006872538477182]