Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_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.0009147/0.0009147, allocations: 108.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.001553/0.001553, allocations: 221.4 kB / 23.01 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.9562/0.9562, allocations: 230.6 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.7639/0.7639, allocations: 312.3 MB / 0.6108 GB, free: 97.11 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.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_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.004855/0.004855, allocations: 74.77 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.144, allocations: 73.99 MB / 0.8422 GB, free: 9.824 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference): time 0.002886/0.1469, allocations: 2.691 MB / 0.8448 GB, free: 7.133 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006347/0.1532, allocations: 6.605 MB / 0.8512 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1534, allocations: 4.625 kB / 0.8513 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.1535, allocations: 36.2 kB / 0.8513 GB, free: 500 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1538, allocations: 124.3 kB / 0.8514 GB, free: 376 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.154, allocations: 68.53 kB / 0.8515 GB, free: 308 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.1543, allocations: 382.2 kB / 0.8518 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1545, allocations: 53.5 kB / 0.8519 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1546, allocations: 139.5 kB / 0.852 GB, free: 15.74 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1548, allocations: 140.1 kB / 0.8522 GB, free: 15.6 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.1549, allocations: 24.62 kB / 0.8522 GB, free: 15.58 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-05/0.1549, allocations: 24.56 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.1549, allocations: 55.72 kB / 0.8523 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1551, allocations: 139.9 kB / 0.8524 GB, free: 15.36 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1553, allocations: 291.4 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1553, allocations: 0 / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1553, allocations: 0.5 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1553, allocations: 0 / 0.8527 GB, free: 15.08 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.0007844/0.1561, allocations: 0.6024 MB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1562, allocations: 8.031 kB / 0.8533 GB, free: 14.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.1562, allocations: 33.47 kB / 0.8533 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1565, allocations: 209.1 kB / 0.8535 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1565, allocations: 17.38 kB / 0.8535 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.1565, allocations: 32.55 kB / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.1569, allocations: 284.6 kB / 0.8538 GB, free: 13.81 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1569, allocations: 11.89 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1569, allocations: 4.625 kB / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1569, allocations: 8.562 kB / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.1572, allocations: 229 kB / 0.8541 GB, free: 13.55 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.158, allocations: 0.6894 MB / 0.8547 GB, free: 12.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.1584, allocations: 231.2 kB / 0.8549 GB, free: 12.57 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.1586, allocations: 153.1 kB / 0.8551 GB, free: 12.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1586, allocations: 4.5 kB / 0.8551 GB, free: 12.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003239/0.1589, allocations: 355.4 kB / 0.8554 GB, free: 12.01 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.865e-06/0.1589, allocations: 0.7188 kB / 0.8554 GB, free: 12.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2586/0.4176, allocations: 1.074 MB / 0.8565 GB, free: 30.22 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.4177, allocations: 219.2 kB / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.4179, allocations: 249.5 kB / 0.8569 GB, free: 29.86 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.418, allocations: 39.39 kB / 0.857 GB, free: 29.83 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4181, allocations: 154.7 kB / 0.8571 GB, free: 29.73 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.4182, allocations: 113.3 kB / 0.8572 GB, free: 29.68 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4183, allocations: 78.77 kB / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.4184, allocations: 338.2 kB / 0.8576 GB, free: 29.35 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.4187, allocations: 209 kB / 0.8578 GB, free: 29.25 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.4189, allocations: 326.7 kB / 0.8581 GB, free: 29.02 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.4192, allocations: 429.9 kB / 0.8585 GB, free: 28.76 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4192, allocations: 0 / 0.8585 GB, free: 28.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004957/0.4197, allocations: 0.5521 MB / 0.8591 GB, free: 28.52 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.4198, allocations: 95.69 kB / 0.8592 GB, free: 28.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4198, allocations: 3.703 kB / 0.8592 GB, free: 28.42 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.4198, allocations: 6.188 kB / 0.8592 GB, free: 28.42 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.42, allocations: 79.16 kB / 0.8593 GB, free: 28.42 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.42, allocations: 8.375 kB / 0.8593 GB, free: 28.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4201, allocations: 19.19 kB / 0.8593 GB, free: 28.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.4202, allocations: 19.33 kB / 0.8593 GB, free: 28.41 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.0001949/0.4204, allocations: 226.1 kB / 0.8595 GB, free: 28.23 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.4204, allocations: 30.58 kB / 0.8595 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.4204, allocations: 33.72 kB / 0.8596 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4204, allocations: 5.094 kB / 0.8596 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4204, allocations: 3.5 kB / 0.8596 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4205, allocations: 2.438 kB / 0.8596 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.4212, allocations: 0.7636 MB / 0.8603 GB, free: 27.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4212, allocations: 3.938 kB / 0.8603 GB, free: 27.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.4213, allocations: 58.02 kB / 0.8604 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4213, allocations: 1.75 kB / 0.8604 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4213, allocations: 15.17 kB / 0.8604 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4213, allocations: 0 / 0.8604 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4213, allocations: 3.312 kB / 0.8604 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.4219, allocations: 0.7263 MB / 0.8611 GB, free: 27.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.422, allocations: 26.5 kB / 0.8611 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.422, allocations: 12.97 kB / 0.8612 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.4221, allocations: 13.86 kB / 0.8612 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.4222, allocations: 31.89 kB / 0.8612 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.4222, allocations: 15.52 kB / 0.8612 GB, free: 27.46 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001278/0.4223, allocations: 179.1 kB / 0.8614 GB, free: 27.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4223, allocations: 0 / 0.8614 GB, free: 27.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002575/0.4226, allocations: 87.69 kB / 0.8615 GB, free: 27.38 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.0001078/0.4227, allocations: 127.2 kB / 0.8616 GB, free: 27.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.4232, allocations: 0.5631 MB / 0.8621 GB, free: 26.93 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4232, allocations: 2.625 kB / 0.8621 GB, free: 26.93 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.4233, allocations: 305.5 kB / 0.8624 GB, free: 26.74 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.4237, allocations: 88.02 kB / 0.8625 GB, free: 26.74 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.425, allocations: 0.9696 MB / 0.8635 GB, free: 26.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.4251, allocations: 154.9 kB / 0.8636 GB, free: 26.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.4251, allocations: 33.17 kB / 0.8637 GB, free: 26.18 MB / 490.8 MB Notification: Performance of SimCode: time 6.21e-07/0.4251, allocations: 0 / 0.8637 GB, free: 26.18 MB / 490.8 MB Notification: Performance of Templates: time 0.006119/0.4313, allocations: 4.007 MB / 0.8676 GB, free: 25.83 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.229535437189043]