Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_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.002424/0.002424, 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.002793/0.002793, allocations: 219.5 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.843/1.843, allocations: 230.6 MB / 256 MB, free: 9.625 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.431/1.431, allocations: 316.7 MB / 0.6144 GB, free: 93.25 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_Pypendop2014_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_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.005085/0.005085, allocations: 73.42 kB / 0.7749 GB, free: 14.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.2, allocations: 73.99 MB / 0.8472 GB, free: 5.09 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference): time 0.00538/0.2054, allocations: 2.31 MB / 0.8495 GB, free: 2.785 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4399/0.6452, allocations: 6.519 MB / 0.8558 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.6454, allocations: 3.234 kB / 0.8558 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.6456, allocations: 27.88 kB / 0.8559 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.6458, allocations: 84.27 kB / 0.8559 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.6461, allocations: 54.25 kB / 0.856 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.6463, allocations: 257.4 kB / 0.8562 GB, free: 21.69 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.6465, allocations: 32.75 kB / 0.8563 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.6466, allocations: 102.6 kB / 0.8564 GB, free: 21.67 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.6468, allocations: 97.67 kB / 0.8565 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/0.6469, allocations: 19.78 kB / 0.8565 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.6469, allocations: 17.12 kB / 0.8565 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.647, allocations: 36.22 kB / 0.8565 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.6471, allocations: 94.14 kB / 0.8566 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.6474, allocations: 198.9 kB / 0.8568 GB, free: 21.58 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6474, allocations: 6.188 kB / 0.8568 GB, free: 21.58 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6474, allocations: 0 / 0.8568 GB, free: 21.58 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.6474, allocations: 0 / 0.8568 GB, free: 21.58 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008125/0.6482, allocations: 496.2 kB / 0.8573 GB, free: 21.18 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6482, allocations: 9.156 kB / 0.8573 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.6483, allocations: 23.67 kB / 0.8573 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.6485, allocations: 187.5 kB / 0.8575 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6486, allocations: 8.078 kB / 0.8575 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.6486, allocations: 24.67 kB / 0.8575 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.649, allocations: 187.1 kB / 0.8577 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.649, allocations: 2.734 kB / 0.8577 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.649, allocations: 6.938 kB / 0.8577 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.649, allocations: 4.062 kB / 0.8577 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.6493, allocations: 147.3 kB / 0.8579 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.65, allocations: 481.2 kB / 0.8583 GB, free: 20.59 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.6505, allocations: 175.1 kB / 0.8585 GB, free: 20.54 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.6507, allocations: 99.06 kB / 0.8586 GB, free: 20.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.6507, allocations: 1.031 kB / 0.8586 GB, free: 20.5 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.651, allocations: 227.8 kB / 0.8588 GB, free: 20.35 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.651, allocations: 0 / 0.8588 GB, free: 20.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001379/0.6524, allocations: 0.7025 MB / 0.8595 GB, free: 19.99 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6524, allocations: 138 kB / 0.8596 GB, free: 19.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.6526, allocations: 218.7 kB / 0.8598 GB, free: 19.73 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.6526, allocations: 32.48 kB / 0.8598 GB, free: 19.7 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.6527, allocations: 133.4 kB / 0.86 GB, free: 19.61 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.6527, allocations: 75.75 kB / 0.86 GB, free: 19.56 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.6528, allocations: 51.81 kB / 0.8601 GB, free: 19.54 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.6529, allocations: 337.5 kB / 0.8604 GB, free: 19.23 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.6531, allocations: 144.6 kB / 0.8606 GB, free: 19.15 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.6533, allocations: 223.7 kB / 0.8608 GB, free: 18.98 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.6537, allocations: 281.4 kB / 0.861 GB, free: 18.82 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6537, allocations: 0.5625 kB / 0.861 GB, free: 18.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005357/0.6542, allocations: 389.2 kB / 0.8614 GB, free: 18.64 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.6542, allocations: 63.03 kB / 0.8615 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6543, allocations: 6.188 kB / 0.8615 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.6543, allocations: 4.969 kB / 0.8615 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.6545, allocations: 52.3 kB / 0.8615 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.6545, allocations: 2.781 kB / 0.8615 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.6547, allocations: 18.22 kB / 0.8616 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.6547, allocations: 15.78 kB / 0.8616 GB, free: 18.57 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001581/0.6548, allocations: 181.9 kB / 0.8617 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.6549, allocations: 24.39 kB / 0.8618 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.6549, allocations: 23.78 kB / 0.8618 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6549, allocations: 0.7188 kB / 0.8618 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6549, allocations: 1.469 kB / 0.8618 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.6549, allocations: 4.625 kB / 0.8618 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.6556, allocations: 0.5441 MB / 0.8623 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6556, allocations: 0.5 kB / 0.8623 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.6558, allocations: 38.81 kB / 0.8624 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.6558, allocations: 0 / 0.8624 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.6559, allocations: 9.125 kB / 0.8624 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.6559, allocations: 10.16 kB / 0.8624 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6559, allocations: 0 / 0.8624 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.6565, allocations: 496.3 kB / 0.8629 GB, free: 17.84 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.6566, allocations: 27.38 kB / 0.8629 GB, free: 17.82 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.6566, allocations: 7.125 kB / 0.8629 GB, free: 17.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.6568, allocations: 14.16 kB / 0.8629 GB, free: 17.82 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.6569, allocations: 24.31 kB / 0.8629 GB, free: 17.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.6569, allocations: 5.5 kB / 0.8629 GB, free: 17.82 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001442/0.657, allocations: 161.1 kB / 0.8631 GB, free: 17.74 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.657, allocations: 0 / 0.8631 GB, free: 17.74 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002993/0.6573, allocations: 56.66 kB / 0.8631 GB, free: 17.74 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001132/0.6574, allocations: 118.2 kB / 0.8632 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005812/0.658, allocations: 376.5 kB / 0.8636 GB, free: 17.42 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.658, allocations: 2.812 kB / 0.8636 GB, free: 17.42 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.6583, allocations: 172.8 kB / 0.8638 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.6588, allocations: 65.94 kB / 0.8638 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.6601, allocations: 0.6844 MB / 0.8645 GB, free: 17.01 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.6602, allocations: 128 kB / 0.8646 GB, free: 16.93 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.6603, allocations: 20.62 kB / 0.8646 GB, free: 16.93 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.6604, allocations: 20.91 kB / 0.8647 GB, free: 16.92 MB / 490.8 MB Notification: Performance of SimCode: time 8.22e-07/0.6604, allocations: 4 kB / 0.8647 GB, free: 16.92 MB / 490.8 MB Notification: Performance of Templates: time 0.009638/0.67, allocations: 3.642 MB / 0.8682 GB, free: 16.6 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.911877785110846]