Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_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.0009602/0.0009602, 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.001136/0.001136, allocations: 215.5 kB / 23.01 MB, free: 2.934 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.028/1.028, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7675/0.7675, allocations: 312.4 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.N01AX07_Etomidate.Etomidate_van1983_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_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.001511/0.001511, allocations: 80.53 kB / 0.7699 GB, free: 20.27 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1349, allocations: 73.99 MB / 0.8422 GB, free: 10.42 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference): time 0.003327/0.1382, allocations: 2.298 MB / 0.8444 GB, free: 8.125 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007407/0.1456, allocations: 6.533 MB / 0.8508 GB, free: 1.59 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.1458, allocations: 0.5 kB / 0.8508 GB, free: 1.59 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.146, allocations: 28.28 kB / 0.8508 GB, free: 1.562 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.1462, allocations: 76.02 kB / 0.8509 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1465, allocations: 57.11 kB / 0.8509 GB, free: 1.434 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.1468, allocations: 254.7 kB / 0.8512 GB, free: 1.184 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.147, allocations: 37.16 kB / 0.8512 GB, free: 1.148 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1471, allocations: 95.64 kB / 0.8513 GB, free: 1.055 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1473, allocations: 104.1 kB / 0.8514 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1473, allocations: 16.62 kB / 0.8514 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.235e-05/0.1474, allocations: 16 kB / 0.8514 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.1474, allocations: 32.48 kB / 0.8515 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.425e-05/0.1475, allocations: 96.14 kB / 0.8516 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1478, allocations: 195.2 kB / 0.8518 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1478, allocations: 0.5625 kB / 0.8518 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1478, allocations: 0.6875 kB / 0.8518 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1478, allocations: 0 / 0.8518 GB, free: 0.6055 MB / 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.0008139/0.1486, allocations: 0.4949 MB / 0.8522 GB, free: 68 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1486, allocations: 8.031 kB / 0.8523 GB, free: 60 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.1487, allocations: 25.42 kB / 0.8523 GB, free: 36 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1489, allocations: 183.1 kB / 0.8524 GB, free: 15.83 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.149, allocations: 17.14 kB / 0.8525 GB, free: 15.81 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.149, allocations: 20.39 kB / 0.8525 GB, free: 15.79 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.1493, allocations: 191 kB / 0.8527 GB, free: 15.59 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1493, allocations: 3.984 kB / 0.8527 GB, free: 15.59 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1494, allocations: 4.625 kB / 0.8527 GB, free: 15.58 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1494, allocations: 8.531 kB / 0.8527 GB, free: 15.57 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.1496, allocations: 143.4 kB / 0.8528 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.1503, allocations: 486.1 kB / 0.8533 GB, free: 14.92 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.1507, allocations: 169.3 kB / 0.8534 GB, free: 14.74 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.1508, allocations: 99.81 kB / 0.8535 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1508, allocations: 0 / 0.8535 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.1511, allocations: 225.2 kB / 0.8538 GB, free: 14.39 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.1511, allocations: 0.6562 kB / 0.8538 GB, free: 14.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00117/0.1523, allocations: 0.7012 MB / 0.8544 GB, free: 13.62 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.1524, allocations: 136.5 kB / 0.8546 GB, free: 13.46 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1526, allocations: 212.6 kB / 0.8548 GB, free: 13.25 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1526, allocations: 34.33 kB / 0.8548 GB, free: 13.21 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.1527, allocations: 136.5 kB / 0.8549 GB, free: 13.07 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.1528, allocations: 76.03 kB / 0.855 GB, free: 13 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.1529, allocations: 53.66 kB / 0.8551 GB, free: 12.94 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.153, allocations: 343.3 kB / 0.8554 GB, free: 12.59 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1532, allocations: 149.6 kB / 0.8555 GB, free: 12.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.1534, allocations: 218.4 kB / 0.8557 GB, free: 12.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.1537, allocations: 281.5 kB / 0.856 GB, free: 11.86 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1537, allocations: 4 kB / 0.856 GB, free: 11.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.2832/0.4369, allocations: 384.1 kB / 0.8564 GB, free: 30.21 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.437, allocations: 68.12 kB / 0.8564 GB, free: 30.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.437, allocations: 1.156 kB / 0.8564 GB, free: 30.15 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.437, allocations: 4.438 kB / 0.8564 GB, free: 30.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.4372, allocations: 53.89 kB / 0.8565 GB, free: 30.15 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4372, allocations: 5.078 kB / 0.8565 GB, free: 30.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.4373, allocations: 20.75 kB / 0.8565 GB, free: 30.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.4373, allocations: 10.11 kB / 0.8565 GB, free: 30.15 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.0001924/0.4375, allocations: 176.5 kB / 0.8567 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.4375, allocations: 25.91 kB / 0.8567 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.4376, allocations: 26.38 kB / 0.8568 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4376, allocations: 3.438 kB / 0.8568 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4376, allocations: 0 / 0.8568 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.4376, allocations: 1.828 kB / 0.8568 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.4382, allocations: 0.5345 MB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4382, allocations: 4.031 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.4383, allocations: 33.2 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4383, allocations: 0.7188 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4383, allocations: 8.719 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4383, allocations: 2.688 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4383, allocations: 8.688 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.4388, allocations: 0.4943 MB / 0.8578 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.4388, allocations: 23.06 kB / 0.8578 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.4388, allocations: 9.344 kB / 0.8578 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.439, allocations: 15.02 kB / 0.8579 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.439, allocations: 24.61 kB / 0.8579 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.439, allocations: 9.734 kB / 0.8579 GB, free: 29.47 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.4391, allocations: 157.1 kB / 0.858 GB, free: 29.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4391, allocations: 0 / 0.858 GB, free: 29.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002098/0.4394, allocations: 55.78 kB / 0.8581 GB, free: 29.39 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.0001156/0.4395, allocations: 113.2 kB / 0.8582 GB, free: 29.31 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.4399, allocations: 385.1 kB / 0.8586 GB, free: 29.09 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4399, allocations: 0 / 0.8586 GB, free: 29.09 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.44, allocations: 172.4 kB / 0.8587 GB, free: 28.99 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.4403, allocations: 70.78 kB / 0.8588 GB, free: 28.99 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4414, allocations: 0.6968 MB / 0.8595 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.236e-05/0.4415, allocations: 125.3 kB / 0.8596 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.4415, allocations: 23.89 kB / 0.8596 GB, free: 28.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.192e-06/0.4415, allocations: 0 / 0.8596 GB, free: 28.6 MB / 490.8 MB Notification: Performance of Templates: time 0.004907/0.4464, allocations: 2.95 MB / 0.8625 GB, free: 28.39 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.336860982701182]