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.0009742/0.0009742, allocations: 104.4 kB / 19.71 MB, free: 436 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.0009918/0.0009918, allocations: 215.5 kB / 23.01 MB, free: 2.957 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.9844/0.9844, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.7173/0.7173, allocations: 312.3 MB / 0.6108 GB, free: 97.54 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_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.001635/0.001635, allocations: 71.44 kB / 0.7699 GB, free: 20.06 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1221, allocations: 73.99 MB / 0.8421 GB, free: 10.21 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference): time 0.002816/0.1249, allocations: 2.31 MB / 0.8444 GB, free: 7.898 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.1302, allocations: 6.525 MB / 0.8507 GB, free: 1.371 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1304, allocations: 4.656 kB / 0.8507 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.1305, allocations: 27.72 kB / 0.8508 GB, free: 1.34 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.1307, allocations: 84.59 kB / 0.8508 GB, free: 1.258 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1309, allocations: 52.38 kB / 0.8509 GB, free: 1.207 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006032/0.1316, allocations: 255.3 kB / 0.8511 GB, free: 0.957 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1317, allocations: 41.16 kB / 0.8512 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1319, allocations: 91.66 kB / 0.8513 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1321, allocations: 100.1 kB / 0.8514 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.1321, allocations: 20.59 kB / 0.8514 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.1322, allocations: 16 kB / 0.8514 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.1322, allocations: 36.47 kB / 0.8514 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.1323, allocations: 96.17 kB / 0.8515 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1325, allocations: 195.2 kB / 0.8517 GB, free: 384 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1325, allocations: 0.625 kB / 0.8517 GB, free: 384 kB / 474.8 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1325, allocations: 0 / 0.8517 GB, free: 384 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1326, allocations: 0.625 kB / 0.8517 GB, free: 384 kB / 474.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.0008237/0.1334, allocations: 0.4908 MB / 0.8522 GB, free: 15.84 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1334, allocations: 8.031 kB / 0.8522 GB, free: 15.83 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.1335, allocations: 25.39 kB / 0.8522 GB, free: 15.81 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1337, allocations: 187.7 kB / 0.8524 GB, free: 15.6 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1337, allocations: 12.61 kB / 0.8524 GB, free: 15.59 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.1338, allocations: 24.59 kB / 0.8524 GB, free: 15.56 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.134, allocations: 187.1 kB / 0.8526 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1341, allocations: 4 kB / 0.8526 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1341, allocations: 8.531 kB / 0.8526 GB, free: 15.35 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1341, allocations: 4.5 kB / 0.8526 GB, free: 15.35 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.1343, allocations: 146.9 kB / 0.8528 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.1349, allocations: 490.6 kB / 0.8532 GB, free: 14.69 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.1353, allocations: 169.3 kB / 0.8534 GB, free: 14.51 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1354, allocations: 95.2 kB / 0.8535 GB, free: 14.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.1354, allocations: 4.5 kB / 0.8535 GB, free: 14.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.1357, allocations: 221.8 kB / 0.8537 GB, free: 14.16 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.1357, allocations: 0 / 0.8537 GB, free: 14.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009324/0.1366, allocations: 0.701 MB / 0.8544 GB, free: 13.39 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1366, allocations: 137.2 kB / 0.8545 GB, free: 13.23 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1368, allocations: 215 kB / 0.8547 GB, free: 13.01 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1368, allocations: 34.3 kB / 0.8548 GB, free: 12.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.1369, allocations: 133.2 kB / 0.8549 GB, free: 12.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.1369, allocations: 71.41 kB / 0.855 GB, free: 12.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.137, allocations: 58.22 kB / 0.855 GB, free: 12.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.1371, allocations: 342.8 kB / 0.8553 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1372, allocations: 145.5 kB / 0.8555 GB, free: 12.2 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.1374, allocations: 218.4 kB / 0.8557 GB, free: 11.95 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2681/0.4055, allocations: 280.1 kB / 0.8559 GB, free: 30.26 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4055, allocations: 1.094 kB / 0.8559 GB, free: 30.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004366/0.4059, allocations: 391.2 kB / 0.8563 GB, free: 30.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.4059, allocations: 63.44 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4059, allocations: 1.812 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.406, allocations: 5.859 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4061, allocations: 52.02 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.4061, allocations: 7.125 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.4062, allocations: 15.92 kB / 0.8565 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.4062, allocations: 20.2 kB / 0.8565 GB, free: 30.04 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.0001674/0.4064, allocations: 173.5 kB / 0.8566 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.4064, allocations: 24.62 kB / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.4065, allocations: 24.42 kB / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4065, allocations: 4.125 kB / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4065, allocations: 4.375 kB / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4065, allocations: 3 kB / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.407, allocations: 0.5361 MB / 0.8572 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.407, allocations: 0 / 0.8572 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.4071, allocations: 36.39 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4071, allocations: 0 / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4071, allocations: 8.734 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.4071, allocations: 3.938 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4072, allocations: 0 / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.4076, allocations: 0.496 MB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.4076, allocations: 20.72 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.4076, allocations: 9.656 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.4077, allocations: 15.48 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.4078, allocations: 25.75 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.4078, allocations: 6.094 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.84e-05/0.4079, allocations: 154.8 kB / 0.858 GB, free: 29.29 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4079, allocations: 2.953 kB / 0.858 GB, free: 29.29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001969/0.4081, allocations: 58.41 kB / 0.858 GB, free: 29.29 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 8.445e-05/0.4081, allocations: 119.2 kB / 0.8582 GB, free: 29.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.4085, allocations: 372.2 kB / 0.8585 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4085, allocations: 0 / 0.8585 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.4086, allocations: 180.3 kB / 0.8587 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.4089, allocations: 64.53 kB / 0.8587 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/0.4098, allocations: 0.6979 MB / 0.8594 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.629e-05/0.4099, allocations: 127.8 kB / 0.8595 GB, free: 28.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.41, allocations: 24.23 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.41, allocations: 0.7188 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of Templates: time 0.004374/0.4143, allocations: 2.946 MB / 0.8624 GB, free: 28.27 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pypendop2014_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.190993434749544]