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.000975/0.000975, 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.001349/0.001349, allocations: 215.5 kB / 23 MB, free: 2.961 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.044/1.044, 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.8019/0.8019, allocations: 312.3 MB / 0.6108 GB, free: 97.05 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_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.00158/0.00158, allocations: 70.3 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 73.99 MB / 0.8422 GB, free: 9.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference): time 0.003974/0.1397, allocations: 2.699 MB / 0.8448 GB, free: 7.121 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006879/0.1466, allocations: 6.603 MB / 0.8512 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.1468, allocations: 7.938 kB / 0.8512 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.147, allocations: 35.62 kB / 0.8513 GB, free: 488 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.1473, allocations: 124.9 kB / 0.8514 GB, free: 364 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1476, allocations: 68.36 kB / 0.8515 GB, free: 296 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.1479, allocations: 378.1 kB / 0.8518 GB, free: 15.92 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.1481, allocations: 49.5 kB / 0.8519 GB, free: 15.87 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.1483, allocations: 140 kB / 0.852 GB, free: 15.73 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.1485, allocations: 139.9 kB / 0.8521 GB, free: 15.6 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.1486, allocations: 28.56 kB / 0.8522 GB, free: 15.57 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/0.1486, allocations: 27.94 kB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.1487, allocations: 64.27 kB / 0.8523 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1488, allocations: 132 kB / 0.8524 GB, free: 15.35 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.1491, allocations: 290.8 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1491, allocations: 0.625 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1491, allocations: 0 / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1491, allocations: 0.6562 kB / 0.8527 GB, free: 15.07 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.0009111/0.15, allocations: 0.5961 MB / 0.8532 GB, free: 14.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1501, allocations: 8.719 kB / 0.8533 GB, free: 14.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.1501, allocations: 32.75 kB / 0.8533 GB, free: 14.38 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1504, allocations: 213.7 kB / 0.8535 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1504, allocations: 16.75 kB / 0.8535 GB, free: 14.13 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.1505, allocations: 24.66 kB / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.1509, allocations: 292.5 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.1509, allocations: 4.641 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.151, allocations: 15.98 kB / 0.8538 GB, free: 13.78 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.151, allocations: 4.656 kB / 0.8538 GB, free: 13.78 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.1513, allocations: 229.1 kB / 0.854 GB, free: 13.54 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009785/0.1523, allocations: 0.6813 MB / 0.8547 GB, free: 12.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.1528, allocations: 237.6 kB / 0.8549 GB, free: 12.57 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1529, allocations: 153 kB / 0.8551 GB, free: 12.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1529, allocations: 4.688 kB / 0.8551 GB, free: 12.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.1533, allocations: 362 kB / 0.8554 GB, free: 12 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/0.1533, allocations: 0.5 kB / 0.8554 GB, free: 12 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2826/0.4359, allocations: 1.081 MB / 0.8565 GB, free: 30.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.436, allocations: 219.4 kB / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.4361, allocations: 246.2 kB / 0.8569 GB, free: 29.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.4362, allocations: 42.44 kB / 0.857 GB, free: 29.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.4362, allocations: 154.8 kB / 0.8571 GB, free: 29.78 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.4363, allocations: 114.7 kB / 0.8572 GB, free: 29.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.4364, allocations: 76.16 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.4364, allocations: 343.1 kB / 0.8576 GB, free: 29.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.4366, allocations: 209.3 kB / 0.8578 GB, free: 29.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.4368, allocations: 317.8 kB / 0.8581 GB, free: 29.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.4371, allocations: 430.6 kB / 0.8585 GB, free: 28.79 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4371, allocations: 1.031 kB / 0.8585 GB, free: 28.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004555/0.4376, allocations: 0.554 MB / 0.8591 GB, free: 28.54 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.4376, allocations: 93.03 kB / 0.8592 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4376, allocations: 2.062 kB / 0.8592 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4377, allocations: 7.188 kB / 0.8592 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.4378, allocations: 77.73 kB / 0.8593 GB, free: 28.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.4379, allocations: 8.75 kB / 0.8593 GB, free: 28.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.438, allocations: 24.08 kB / 0.8593 GB, free: 28.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.438, allocations: 20.72 kB / 0.8593 GB, free: 28.44 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.0002295/0.4382, allocations: 218.5 kB / 0.8595 GB, free: 28.25 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.4383, allocations: 41.84 kB / 0.8596 GB, free: 28.24 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.4383, allocations: 28.81 kB / 0.8596 GB, free: 28.23 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4383, allocations: 3.5 kB / 0.8596 GB, free: 28.23 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4383, allocations: 0 / 0.8596 GB, free: 28.23 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4383, allocations: 5.469 kB / 0.8596 GB, free: 28.23 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/0.4391, allocations: 0.7614 MB / 0.8603 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4391, allocations: 0 / 0.8603 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.4392, allocations: 54.64 kB / 0.8604 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4393, allocations: 3.5 kB / 0.8604 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4393, allocations: 12.72 kB / 0.8604 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4393, allocations: 1.75 kB / 0.8604 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4393, allocations: 2.375 kB / 0.8604 GB, free: 27.86 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.4398, allocations: 0.7295 MB / 0.8611 GB, free: 27.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.4399, allocations: 22.95 kB / 0.8611 GB, free: 27.49 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.4399, allocations: 16.31 kB / 0.8612 GB, free: 27.49 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.44, allocations: 16.47 kB / 0.8612 GB, free: 27.49 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.4401, allocations: 35.33 kB / 0.8612 GB, free: 27.49 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.4401, allocations: 12.02 kB / 0.8612 GB, free: 27.49 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001177/0.4402, allocations: 179.7 kB / 0.8614 GB, free: 27.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4402, allocations: 0.5938 kB / 0.8614 GB, free: 27.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002402/0.4405, allocations: 88.81 kB / 0.8615 GB, free: 27.4 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.0001052/0.4406, allocations: 118.5 kB / 0.8616 GB, free: 27.32 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004551/0.441, allocations: 0.5663 MB / 0.8621 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.441, allocations: 2.797 kB / 0.8621 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.4412, allocations: 302.7 kB / 0.8624 GB, free: 26.76 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.4416, allocations: 85.45 kB / 0.8625 GB, free: 26.76 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.4428, allocations: 0.9632 MB / 0.8635 GB, free: 26.28 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.4429, allocations: 159.5 kB / 0.8636 GB, free: 26.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.443, allocations: 29.92 kB / 0.8636 GB, free: 26.19 MB / 490.8 MB Notification: Performance of SimCode: time 6.32e-07/0.443, allocations: 1.406 kB / 0.8636 GB, free: 26.19 MB / 490.8 MB Notification: Performance of Templates: time 0.005894/0.4489, allocations: 4.022 MB / 0.8676 GB, free: 25.84 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Shen2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.290335099212825]