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.0006951/0.0006951, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009787/0.001674, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0007206/0.0007206, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009753/0.001696, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.006/1.006, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08375/1.09, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.8187/0.8187, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02679/0.8455, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.217e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate): time 0.002128/0.002141, allocations: 2.952 MB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.005917, allocations: 6.767 MB / 0.554 GB, free: 20.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.006014, allocations: 0 / 0.554 GB, free: 20.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.846e-05/0.006082, allocations: 43.52 kB / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.006247, allocations: 123 kB / 0.5541 GB, free: 20.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.006392, allocations: 79.83 kB / 0.5542 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.006637, allocations: 393.9 kB / 0.5546 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.006753, allocations: 58.84 kB / 0.5546 GB, free: 20.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.006959, allocations: 250.6 kB / 0.5549 GB, free: 19.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.007119, allocations: 127.5 kB / 0.555 GB, free: 19.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.00715, allocations: 24 kB / 0.555 GB, free: 19.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.244e-05/0.007182, allocations: 24 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.007212, allocations: 39.81 kB / 0.5551 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.423e-05/0.007286, allocations: 95.81 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.007483, allocations: 203.3 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.007496, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007497, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.007507, allocations: 3.938 kB / 0.5554 GB, free: 19.38 MB / 410.7 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.0006003/0.008107, allocations: 0.6244 MB / 0.556 GB, free: 18.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.008134, allocations: 11.89 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.008186, allocations: 36.91 kB / 0.556 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.008344, allocations: 201.5 kB / 0.5562 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.008365, allocations: 16.75 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.008396, allocations: 28.31 kB / 0.5563 GB, free: 18.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.008588, allocations: 244 kB / 0.5565 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.008601, allocations: 3.984 kB / 0.5565 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.008615, allocations: 12 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.00862, allocations: 4 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.008723, allocations: 137.8 kB / 0.5567 GB, free: 17.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.009242, allocations: 0.5077 MB / 0.5572 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.00941, allocations: 150.2 kB / 0.5573 GB, free: 17.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.00946, allocations: 100.5 kB / 0.5574 GB, free: 17.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.009473, allocations: 11.88 kB / 0.5574 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.009641, allocations: 330.8 kB / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.009643, allocations: 0 / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006652/0.01031, allocations: 0.8014 MB / 0.5585 GB, free: 15.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.01035, allocations: 225.5 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.01045, allocations: 221 kB / 0.5589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.01047, allocations: 33.7 kB / 0.559 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.0105, allocations: 145.2 kB / 0.5591 GB, free: 15.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.01054, allocations: 115 kB / 0.5592 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.0106, allocations: 74.14 kB / 0.5593 GB, free: 15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2556/0.2662, allocations: 349.4 kB / 0.5596 GB, free: 79.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.2664, allocations: 139.1 kB / 0.5597 GB, free: 79.36 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.2665, allocations: 247.6 kB / 0.56 GB, free: 79.13 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.2666, allocations: 347.7 kB / 0.5603 GB, free: 78.88 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2667, allocations: 1.312 kB / 0.5603 GB, free: 78.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003034/0.267, allocations: 385.7 kB / 0.5607 GB, free: 78.66 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.267, allocations: 90.25 kB / 0.5608 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.267, allocations: 3.844 kB / 0.5608 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.267, allocations: 5.25 kB / 0.5608 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.2673, allocations: 108.6 kB / 0.5609 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2673, allocations: 7.969 kB / 0.5609 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.2675, allocations: 24.03 kB / 0.5609 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.2675, allocations: 10.08 kB / 0.5609 GB, free: 78.56 MB / 410.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.0001448/0.2676, allocations: 206.4 kB / 0.5611 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.2677, allocations: 34.95 kB / 0.5611 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.2677, allocations: 36.19 kB / 0.5612 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2677, allocations: 3.875 kB / 0.5612 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2677, allocations: 1.078 kB / 0.5612 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.2677, allocations: 2.344 kB / 0.5612 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.2682, allocations: 0.5173 MB / 0.5617 GB, free: 78.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2682, allocations: 0.5625 kB / 0.5617 GB, free: 78.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.2684, allocations: 75.03 kB / 0.5618 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.2684, allocations: 25.78 kB / 0.5618 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2684, allocations: 1.062 kB / 0.5618 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2685, allocations: 14.03 kB / 0.5618 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2685, allocations: 6.5 kB / 0.5618 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2685, allocations: 1.344 kB / 0.5618 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.2688, allocations: 0.5191 MB / 0.5623 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.2688, allocations: 10.89 kB / 0.5623 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.2689, allocations: 16.81 kB / 0.5623 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.269, allocations: 29.92 kB / 0.5624 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.269, allocations: 8.891 kB / 0.5624 GB, free: 77.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.882e-05/0.2691, allocations: 80.41 kB / 0.5625 GB, free: 77.72 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2691, allocations: 2.469 kB / 0.5625 GB, free: 77.72 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002191/0.2693, allocations: 87.84 kB / 0.5625 GB, free: 77.72 MB / 410.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 9.52e-05/0.2694, allocations: 98.55 kB / 0.5626 GB, free: 77.65 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.2697, allocations: 488.4 kB / 0.5631 GB, free: 77.29 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2697, allocations: 2.25 kB / 0.5631 GB, free: 77.29 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.2698, allocations: 263.9 kB / 0.5634 GB, free: 77.1 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.2701, allocations: 129 kB / 0.5635 GB, free: 77.09 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007981/0.2781, allocations: 0.7431 MB / 0.5642 GB, free: 76.72 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.047e-05/0.2782, allocations: 162.7 kB / 0.5644 GB, free: 76.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.2784, allocations: 147.5 kB / 0.5645 GB, free: 76.6 MB / 410.8 MB Notification: Performance of SimCode: time 7.41e-07/0.2784, allocations: 0 / 0.5645 GB, free: 76.6 MB / 410.8 MB Notification: Performance of Templates: time 0.004133/0.2825, allocations: 4.023 MB / 0.5684 GB, free: 75.91 MB / 410.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: 4.609947710298002]