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.002267/0.002267, allocations: 105.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.00191/0.00191, allocations: 211.6 kB / 22.25 MB, free: 3.582 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.758/1.758, allocations: 230.6 MB / 256 MB, free: 9.605 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.539/1.539, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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_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.004403/0.004403, allocations: 77.78 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.2022, allocations: 73.99 MB / 0.8473 GB, free: 4.926 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference): time 0.006292/0.2084, allocations: 2.701 MB / 0.8499 GB, free: 2.227 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3812/0.5896, allocations: 6.599 MB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.5899, allocations: 4.375 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.5901, allocations: 35.86 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.5905, allocations: 123.1 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.5908, allocations: 73.2 kB / 0.8566 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.5912, allocations: 376.2 kB / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.5914, allocations: 50.45 kB / 0.857 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.5915, allocations: 144.2 kB / 0.8571 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.5918, allocations: 141.2 kB / 0.8572 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.94e-05/0.5919, allocations: 24.91 kB / 0.8573 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.5919, allocations: 25.44 kB / 0.8573 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.592, allocations: 57.2 kB / 0.8573 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.5922, allocations: 132.4 kB / 0.8575 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.5925, allocations: 289.1 kB / 0.8577 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5925, allocations: 3.188 kB / 0.8577 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5925, allocations: 0 / 0.8577 GB, free: 21.73 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.5925, allocations: 0.9688 kB / 0.8577 GB, free: 21.73 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.001017/0.5935, allocations: 0.6039 MB / 0.8583 GB, free: 21.27 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5936, allocations: 9.031 kB / 0.8583 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.5937, allocations: 33.34 kB / 0.8584 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.594, allocations: 206.8 kB / 0.8586 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.594, allocations: 18.16 kB / 0.8586 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.594, allocations: 26.53 kB / 0.8586 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.5945, allocations: 284.4 kB / 0.8589 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.5945, allocations: 8.047 kB / 0.8589 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.5945, allocations: 7.375 kB / 0.8589 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5945, allocations: 9.297 kB / 0.8589 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.595, allocations: 234.5 kB / 0.8591 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.5961, allocations: 0.6793 MB / 0.8598 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.5967, allocations: 237.2 kB / 0.86 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.5969, allocations: 155.8 kB / 0.8602 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.5969, allocations: 3.469 kB / 0.8602 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/0.5974, allocations: 356.6 kB / 0.8605 GB, free: 20.14 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.5974, allocations: 0 / 0.8605 GB, free: 20.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001839/0.5992, allocations: 1.081 MB / 0.8616 GB, free: 19.61 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.5993, allocations: 217.5 kB / 0.8618 GB, free: 19.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.5995, allocations: 246.5 kB / 0.862 GB, free: 19.25 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.5995, allocations: 34.52 kB / 0.862 GB, free: 19.21 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.5996, allocations: 163.5 kB / 0.8622 GB, free: 19.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.5997, allocations: 117.5 kB / 0.8623 GB, free: 19.04 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-05/0.5998, allocations: 72.3 kB / 0.8624 GB, free: 19.02 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.5999, allocations: 340.7 kB / 0.8627 GB, free: 18.71 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.6001, allocations: 208.7 kB / 0.8629 GB, free: 18.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.6004, allocations: 318.2 kB / 0.8632 GB, free: 18.37 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.6011, allocations: 433.7 kB / 0.8636 GB, free: 18.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6011, allocations: 0 / 0.8636 GB, free: 18.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009179/0.6021, allocations: 0.5486 MB / 0.8642 GB, free: 17.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.6021, allocations: 92.69 kB / 0.8642 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.6021, allocations: 4.5 kB / 0.8643 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.6021, allocations: 6.219 kB / 0.8643 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.6025, allocations: 80.39 kB / 0.8643 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.6025, allocations: 6.734 kB / 0.8643 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.6027, allocations: 27.42 kB / 0.8644 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.6028, allocations: 16.98 kB / 0.8644 GB, free: 17.74 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.0002501/0.603, allocations: 224.3 kB / 0.8646 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.6031, allocations: 31.83 kB / 0.8646 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.946e-05/0.6032, allocations: 32.83 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.6032, allocations: 3.547 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6032, allocations: 5.281 kB / 0.8647 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.6032, allocations: 5.484 kB / 0.8647 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.6043, allocations: 0.7667 MB / 0.8654 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6043, allocations: 2.031 kB / 0.8654 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.6046, allocations: 52.69 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.6046, allocations: 2.141 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.6046, allocations: 15.05 kB / 0.8655 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.6047, allocations: 1.969 kB / 0.8655 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6047, allocations: 6.719 kB / 0.8655 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.6058, allocations: 0.7162 MB / 0.8662 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.6058, allocations: 29.33 kB / 0.8662 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.6059, allocations: 15.98 kB / 0.8662 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.6061, allocations: 18.17 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.6062, allocations: 31.5 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.6062, allocations: 12.7 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002077/0.6064, allocations: 178.1 kB / 0.8665 GB, free: 16.71 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6064, allocations: 0 / 0.8665 GB, free: 16.71 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003855/0.6068, allocations: 89.12 kB / 0.8666 GB, free: 16.7 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.0001634/0.607, allocations: 126.5 kB / 0.8667 GB, free: 16.61 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007677/0.6077, allocations: 0.5679 MB / 0.8672 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6077, allocations: 1.844 kB / 0.8672 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.6082, allocations: 299.4 kB / 0.8675 GB, free: 16.05 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.609, allocations: 84.33 kB / 0.8676 GB, free: 16.05 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.6109, allocations: 0.9482 MB / 0.8685 GB, free: 15.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.611, allocations: 161.3 kB / 0.8687 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.6112, allocations: 30.11 kB / 0.8687 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.162e-05/0.6113, allocations: 30.25 kB / 0.8687 GB, free: 15.47 MB / 490.8 MB Notification: Performance of SimCode: time 9.22e-07/0.6113, allocations: 0 / 0.8687 GB, free: 15.47 MB / 490.8 MB Notification: Performance of Templates: time 0.01304/0.6243, allocations: 5.002 MB / 0.8736 GB, free: 14.98 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Kaneda2011_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.9784558799583465]