Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.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.0009784/0.0009784, allocations: 104.3 kB / 19.71 MB, free: 440 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.001078/0.001078, allocations: 221.3 kB / 23.01 MB, free: 2.938 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.9899/0.9899, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7261/0.7261, allocations: 312.3 MB / 0.6109 GB, free: 97.81 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate") [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.00253/0.00253, allocations: 73.78 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1208, allocations: 73.99 MB / 0.8422 GB, free: 10.32 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate): time 0.003056/0.1239, allocations: 2.718 MB / 0.8448 GB, free: 7.602 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006124/0.13, allocations: 6.602 MB / 0.8513 GB, free: 1 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.1302, allocations: 7.938 kB / 0.8513 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.1304, allocations: 36.25 kB / 0.8513 GB, free: 0.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.1306, allocations: 124.1 kB / 0.8515 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1309, allocations: 69 kB / 0.8515 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1311, allocations: 382.1 kB / 0.8519 GB, free: 404 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1313, allocations: 49.47 kB / 0.8519 GB, free: 356 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1314, allocations: 140 kB / 0.8521 GB, free: 216 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1316, allocations: 140 kB / 0.8522 GB, free: 76 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.1317, allocations: 24 kB / 0.8522 GB, free: 52 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.475e-05/0.1317, allocations: 28.5 kB / 0.8523 GB, free: 24 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.1318, allocations: 60.27 kB / 0.8523 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1319, allocations: 135.4 kB / 0.8524 GB, free: 15.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1322, allocations: 291.4 kB / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1322, allocations: 0.5 kB / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1322, allocations: 0 / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1322, allocations: 4.469 kB / 0.8527 GB, free: 15.54 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.0008517/0.133, allocations: 0.5979 MB / 0.8533 GB, free: 14.89 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1331, allocations: 8.75 kB / 0.8533 GB, free: 14.89 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.1331, allocations: 33.34 kB / 0.8533 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1334, allocations: 209.1 kB / 0.8535 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1334, allocations: 17.34 kB / 0.8536 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.1334, allocations: 23.94 kB / 0.8536 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.1338, allocations: 285.3 kB / 0.8539 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1338, allocations: 15.94 kB / 0.8539 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.1338, allocations: 4.5 kB / 0.8539 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1338, allocations: 4 kB / 0.8539 GB, free: 14.26 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.1341, allocations: 234 kB / 0.8541 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.1349, allocations: 0.6769 MB / 0.8548 GB, free: 13.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.1353, allocations: 233.8 kB / 0.855 GB, free: 13.05 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.1354, allocations: 161 kB / 0.8551 GB, free: 12.88 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1354, allocations: 4.656 kB / 0.8551 GB, free: 12.88 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.1358, allocations: 354.3 kB / 0.8555 GB, free: 12.49 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.255e-06/0.1358, allocations: 0 / 0.8555 GB, free: 12.49 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3358/0.4716, allocations: 1.077 MB / 0.8565 GB, free: 21.19 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.4716, allocations: 219.1 kB / 0.8567 GB, free: 20.94 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.4718, allocations: 247.4 kB / 0.857 GB, free: 20.84 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4719, allocations: 39.73 kB / 0.857 GB, free: 20.81 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.4719, allocations: 156.2 kB / 0.8572 GB, free: 20.72 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.472, allocations: 115.4 kB / 0.8573 GB, free: 20.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.4721, allocations: 77.19 kB / 0.8573 GB, free: 20.64 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.4721, allocations: 343.3 kB / 0.8577 GB, free: 20.33 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.4723, allocations: 208.9 kB / 0.8579 GB, free: 20.22 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.4725, allocations: 311.7 kB / 0.8582 GB, free: 20 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.4728, allocations: 435.3 kB / 0.8586 GB, free: 19.74 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4728, allocations: 0 / 0.8586 GB, free: 19.74 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005175/0.4734, allocations: 0.5549 MB / 0.8591 GB, free: 19.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.4734, allocations: 91.95 kB / 0.8592 GB, free: 19.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4734, allocations: 6.406 kB / 0.8592 GB, free: 19.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.4734, allocations: 5.469 kB / 0.8592 GB, free: 19.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.4736, allocations: 78.02 kB / 0.8593 GB, free: 19.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4736, allocations: 5.344 kB / 0.8593 GB, free: 19.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4738, allocations: 23.08 kB / 0.8593 GB, free: 19.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.4738, allocations: 18.22 kB / 0.8593 GB, free: 19.4 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.0001988/0.474, allocations: 228.4 kB / 0.8596 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.474, allocations: 36.88 kB / 0.8596 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.4741, allocations: 26.72 kB / 0.8596 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.4741, allocations: 4.75 kB / 0.8596 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4741, allocations: 0 / 0.8596 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4741, allocations: 3.078 kB / 0.8596 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.4749, allocations: 0.7625 MB / 0.8604 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4749, allocations: 0.6875 kB / 0.8604 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.475, allocations: 56.91 kB / 0.8604 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.475, allocations: 2.359 kB / 0.8604 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.4751, allocations: 14.33 kB / 0.8604 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4751, allocations: 0.5938 kB / 0.8604 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4751, allocations: 1.031 kB / 0.8605 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.4757, allocations: 0.7273 MB / 0.8612 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.4757, allocations: 24.2 kB / 0.8612 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.4758, allocations: 16.25 kB / 0.8612 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4759, allocations: 17.73 kB / 0.8612 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.476, allocations: 27.7 kB / 0.8612 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.476, allocations: 11.55 kB / 0.8613 GB, free: 18.47 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001248/0.4761, allocations: 182.2 kB / 0.8614 GB, free: 18.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4761, allocations: 3.078 kB / 0.8614 GB, free: 18.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002688/0.4764, allocations: 89.88 kB / 0.8615 GB, free: 18.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.0001273/0.4765, allocations: 123.8 kB / 0.8616 GB, free: 18.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004905/0.477, allocations: 0.5615 MB / 0.8622 GB, free: 17.95 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.477, allocations: 3.875 kB / 0.8622 GB, free: 17.95 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.4772, allocations: 303.5 kB / 0.8625 GB, free: 17.76 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.4776, allocations: 85.31 kB / 0.8626 GB, free: 17.76 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.4788, allocations: 0.9688 MB / 0.8635 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.479, allocations: 158 kB / 0.8637 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.479, allocations: 32.64 kB / 0.8637 GB, free: 17.2 MB / 490.8 MB Notification: Performance of SimCode: time 1.222e-06/0.479, allocations: 2.625 kB / 0.8637 GB, free: 17.2 MB / 490.8 MB Notification: Performance of Templates: time 0.0076/0.4866, allocations: 4.009 MB / 0.8676 GB, free: 16.85 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.414467028342187]