Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_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.002453/0.002453, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 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.00307/0.00307, allocations: 214.4 kB / 22.25 MB, free: 3.566 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.801/1.801, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] 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 1.462/1.462, allocations: 316.7 MB / 0.6144 GB, free: 93.43 MB / 410.7 MB " [Timeout remaining time 178] 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_Shen2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_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.01098/0.01098, allocations: 69.83 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1952, allocations: 73.99 MB / 0.8472 GB, free: 5.168 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference): time 0.005021/0.2003, allocations: 2.706 MB / 0.8499 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4265/0.6267, allocations: 6.599 MB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.627, allocations: 2.312 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.6271, allocations: 43.89 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.6274, allocations: 116.5 kB / 0.8565 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.6277, allocations: 72.34 kB / 0.8565 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.628, allocations: 379.4 kB / 0.8569 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.6282, allocations: 49.31 kB / 0.8569 GB, free: 21.53 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.6283, allocations: 144.5 kB / 0.8571 GB, free: 21.51 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.6286, allocations: 141.9 kB / 0.8572 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.6287, allocations: 24.34 kB / 0.8572 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.799e-05/0.6287, allocations: 27.91 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.6288, allocations: 49.91 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.6289, allocations: 139 kB / 0.8575 GB, free: 21.43 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.6292, allocations: 285.5 kB / 0.8577 GB, free: 21.38 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6292, allocations: 1.656 kB / 0.8577 GB, free: 21.38 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6292, allocations: 2.094 kB / 0.8577 GB, free: 21.38 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.6293, allocations: 0 / 0.8577 GB, free: 21.38 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.0009244/0.6302, allocations: 0.5995 MB / 0.8583 GB, free: 20.91 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.6302, allocations: 9.5 kB / 0.8583 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.6303, allocations: 37.19 kB / 0.8584 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.6305, allocations: 214.7 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.6306, allocations: 14.19 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.6306, allocations: 24.34 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.6311, allocations: 285.7 kB / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.6311, allocations: 5.922 kB / 0.8589 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.6311, allocations: 8.844 kB / 0.8589 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.6311, allocations: 5.469 kB / 0.8589 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.6315, allocations: 240.4 kB / 0.8591 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.6325, allocations: 0.6781 MB / 0.8598 GB, free: 20.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.633, allocations: 238.9 kB / 0.86 GB, free: 20.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.6332, allocations: 150.4 kB / 0.8602 GB, free: 20.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.6333, allocations: 3.562 kB / 0.8602 GB, free: 20.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003841/0.6336, allocations: 356.9 kB / 0.8605 GB, free: 19.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.6336, allocations: 0.6875 kB / 0.8605 GB, free: 19.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001747/0.6354, allocations: 1.082 MB / 0.8616 GB, free: 19.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.6355, allocations: 221 kB / 0.8618 GB, free: 19 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.6357, allocations: 247.8 kB / 0.862 GB, free: 18.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.6357, allocations: 38.88 kB / 0.862 GB, free: 18.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.6358, allocations: 156.8 kB / 0.8622 GB, free: 18.75 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.6358, allocations: 116.5 kB / 0.8623 GB, free: 18.68 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.636, allocations: 71.58 kB / 0.8624 GB, free: 18.66 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.636, allocations: 340.9 kB / 0.8627 GB, free: 18.35 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.6363, allocations: 209.9 kB / 0.8629 GB, free: 18.25 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.6366, allocations: 317.2 kB / 0.8632 GB, free: 18.02 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.6371, allocations: 433.5 kB / 0.8636 GB, free: 17.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6371, allocations: 2.094 kB / 0.8636 GB, free: 17.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007715/0.6379, allocations: 0.5491 MB / 0.8641 GB, free: 17.49 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.638, allocations: 92.03 kB / 0.8642 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.638, allocations: 7.094 kB / 0.8642 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.638, allocations: 6 kB / 0.8642 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.6383, allocations: 80.52 kB / 0.8643 GB, free: 17.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.6383, allocations: 7.844 kB / 0.8643 GB, free: 17.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.6386, allocations: 26.61 kB / 0.8644 GB, free: 17.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.6386, allocations: 18.47 kB / 0.8644 GB, free: 17.39 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.0002594/0.6389, allocations: 222.2 kB / 0.8646 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.6389, allocations: 33.36 kB / 0.8646 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.639, allocations: 31.73 kB / 0.8646 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.639, allocations: 3.141 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.639, allocations: 0 / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.639, allocations: 8.344 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.6401, allocations: 0.7644 MB / 0.8654 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6401, allocations: 0 / 0.8654 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.6404, allocations: 52.77 kB / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6404, allocations: 1.094 kB / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.6404, allocations: 17.17 kB / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6404, allocations: 1.062 kB / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6404, allocations: 5.984 kB / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.6414, allocations: 0.7274 MB / 0.8662 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.6415, allocations: 27.7 kB / 0.8662 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.6416, allocations: 14.92 kB / 0.8662 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.6418, allocations: 17.81 kB / 0.8662 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.6419, allocations: 29.14 kB / 0.8663 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.6419, allocations: 15.2 kB / 0.8663 GB, free: 16.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001981/0.6421, allocations: 178.6 kB / 0.8665 GB, free: 16.35 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6421, allocations: 0.7812 kB / 0.8665 GB, free: 16.35 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000396/0.6425, allocations: 85.91 kB / 0.8665 GB, free: 16.35 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.0001479/0.6427, allocations: 131.9 kB / 0.8667 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007507/0.6434, allocations: 0.5678 MB / 0.8672 GB, free: 15.89 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6434, allocations: 0.6562 kB / 0.8672 GB, free: 15.89 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.6438, allocations: 300.8 kB / 0.8675 GB, free: 15.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.6443, allocations: 79.78 kB / 0.8676 GB, free: 15.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.646, allocations: 0.9456 MB / 0.8685 GB, free: 15.21 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.6461, allocations: 157.3 kB / 0.8687 GB, free: 15.13 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.6463, allocations: 35.19 kB / 0.8687 GB, free: 15.13 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.6464, allocations: 28.7 kB / 0.8687 GB, free: 15.12 MB / 490.8 MB Notification: Performance of SimCode: time 6.72e-07/0.6464, allocations: 3.938 kB / 0.8687 GB, free: 15.12 MB / 490.8 MB Notification: Performance of Templates: time 0.01146/0.6578, allocations: 4.987 MB / 0.8736 GB, free: 14.63 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.042173516005278]