Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_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.0009043/0.0009043, 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.0009556/0.0009556, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.013/1.013, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7247/0.7247, allocations: 312.3 MB / 0.6109 GB, free: 97.12 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_Kaneda2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_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.001667/0.001667, allocations: 71.45 kB / 0.7699 GB, free: 19.61 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1277, allocations: 73.99 MB / 0.8422 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference): time 0.003438/0.1311, allocations: 2.687 MB / 0.8448 GB, free: 7.07 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005982/0.1371, allocations: 6.602 MB / 0.8513 GB, free: 480 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1372, allocations: 7.875 kB / 0.8513 GB, free: 472 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1374, allocations: 36.23 kB / 0.8513 GB, free: 436 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1376, allocations: 120.2 kB / 0.8514 GB, free: 316 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.1378, allocations: 72.47 kB / 0.8515 GB, free: 244 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.1382, allocations: 382.7 kB / 0.8518 GB, free: 15.86 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1384, allocations: 53.52 kB / 0.8519 GB, free: 15.81 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1385, allocations: 139.5 kB / 0.852 GB, free: 15.68 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1388, allocations: 139.8 kB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.1388, allocations: 24.72 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.405e-05/0.1388, allocations: 24.59 kB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.1389, allocations: 55.77 kB / 0.8523 GB, free: 15.44 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.139, allocations: 140 kB / 0.8524 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1393, allocations: 290.8 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1393, allocations: 0.7188 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1393, allocations: 4 kB / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1393, 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.00109/0.1404, allocations: 0.5941 MB / 0.8533 GB, free: 14.37 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1405, allocations: 12.66 kB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.1405, allocations: 33.38 kB / 0.8533 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1408, allocations: 209.1 kB / 0.8535 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1408, allocations: 17.19 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.1408, allocations: 28.72 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.1412, allocations: 292.4 kB / 0.8538 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1412, allocations: 3.953 kB / 0.8538 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1412, allocations: 8.5 kB / 0.8538 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1412, allocations: 4.719 kB / 0.8538 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.1415, allocations: 229 kB / 0.8541 GB, free: 13.49 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.1423, allocations: 0.6816 MB / 0.8547 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.1426, allocations: 238.8 kB / 0.855 GB, free: 12.51 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.1428, allocations: 153.7 kB / 0.8551 GB, free: 12.35 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.1428, allocations: 3.984 kB / 0.8551 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2684/0.4112, allocations: 351.3 kB / 0.8554 GB, free: 30.44 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.617e-06/0.4112, allocations: 0 / 0.8554 GB, free: 30.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001379/0.4126, allocations: 1.077 MB / 0.8565 GB, free: 29.96 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.4126, allocations: 219.9 kB / 0.8567 GB, free: 29.71 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.4128, allocations: 252.5 kB / 0.8569 GB, free: 29.6 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4128, allocations: 35.92 kB / 0.857 GB, free: 29.57 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.4129, allocations: 160.1 kB / 0.8571 GB, free: 29.47 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.4129, allocations: 115.9 kB / 0.8572 GB, free: 29.42 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.413, allocations: 74.45 kB / 0.8573 GB, free: 29.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.4131, allocations: 340.2 kB / 0.8576 GB, free: 29.09 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.4132, allocations: 209.7 kB / 0.8578 GB, free: 28.98 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.4134, allocations: 319 kB / 0.8581 GB, free: 28.75 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.4138, allocations: 431.8 kB / 0.8586 GB, free: 28.5 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4138, allocations: 0.75 kB / 0.8586 GB, free: 28.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004455/0.4142, allocations: 0.5568 MB / 0.8591 GB, free: 28.25 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.4142, allocations: 92.38 kB / 0.8592 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4142, allocations: 2.938 kB / 0.8592 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4143, allocations: 2.812 kB / 0.8592 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4144, allocations: 80.06 kB / 0.8593 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4144, allocations: 5.812 kB / 0.8593 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.4146, allocations: 25.61 kB / 0.8593 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.4146, allocations: 20.47 kB / 0.8593 GB, free: 28.16 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.0001539/0.4147, allocations: 226.8 kB / 0.8595 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.4148, allocations: 31.88 kB / 0.8596 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.4148, allocations: 36.69 kB / 0.8596 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4148, allocations: 7.188 kB / 0.8596 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4148, allocations: 0 / 0.8596 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4148, allocations: 0 / 0.8596 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.4154, allocations: 0.7612 MB / 0.8603 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4155, allocations: 3.812 kB / 0.8603 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.4156, allocations: 50.02 kB / 0.8604 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4156, allocations: 4.562 kB / 0.8604 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4156, allocations: 16.06 kB / 0.8604 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4156, allocations: 1.312 kB / 0.8604 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4156, allocations: 3.938 kB / 0.8604 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.4162, allocations: 0.7317 MB / 0.8611 GB, free: 27.23 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.4162, allocations: 22.95 kB / 0.8612 GB, free: 27.21 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.4163, allocations: 14.55 kB / 0.8612 GB, free: 27.21 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4164, allocations: 17.3 kB / 0.8612 GB, free: 27.21 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.4165, allocations: 34.31 kB / 0.8612 GB, free: 27.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.4165, allocations: 11.12 kB / 0.8612 GB, free: 27.21 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001192/0.4166, allocations: 179.9 kB / 0.8614 GB, free: 27.13 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4166, allocations: 0 / 0.8614 GB, free: 27.13 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003274/0.417, allocations: 87.11 kB / 0.8615 GB, free: 27.13 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.0001016/0.4171, allocations: 126.3 kB / 0.8616 GB, free: 27.04 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005329/0.4176, allocations: 0.5626 MB / 0.8622 GB, free: 26.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4176, allocations: 0.625 kB / 0.8622 GB, free: 26.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.4178, allocations: 299.7 kB / 0.8624 GB, free: 26.49 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.4183, allocations: 87.69 kB / 0.8625 GB, free: 26.49 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.4196, allocations: 0.9672 MB / 0.8635 GB, free: 26.01 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.4198, allocations: 159.4 kB / 0.8636 GB, free: 25.93 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.4199, allocations: 32.33 kB / 0.8637 GB, free: 25.92 MB / 490.8 MB Notification: Performance of SimCode: time 6.01e-07/0.4199, allocations: 0 / 0.8637 GB, free: 25.92 MB / 490.8 MB Notification: Performance of Templates: time 0.00599/0.4258, allocations: 4.018 MB / 0.8676 GB, free: 25.56 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.284248231910169]