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.0008355/0.0008355, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001958, allocations: 435.8 kB / 10.31 MB, free: 384 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.0008677/0.0008677, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.002022, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.013/1.013, allocations: 177.1 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09851/1.111, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.8098/0.8098, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03757/0.8474, 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 2.174e-06/2.174e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.399e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate): time 0.003784/0.003808, allocations: 2.946 MB / 0.5474 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.009403, allocations: 6.782 MB / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.009543, allocations: 0 / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.726e-05/0.009631, allocations: 39.58 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.009835, allocations: 127 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.01, allocations: 75.83 kB / 0.5542 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.01031, allocations: 389.9 kB / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.01047, allocations: 62.78 kB / 0.5547 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.01071, allocations: 250.6 kB / 0.5549 GB, free: 19.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.0109, allocations: 123.6 kB / 0.555 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.01094, allocations: 28 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.162e-05/0.01097, allocations: 24 kB / 0.5551 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.01101, allocations: 43.81 kB / 0.5551 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.625e-05/0.01108, allocations: 91.81 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.01129, allocations: 203.2 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.01131, allocations: 0 / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01131, allocations: 0 / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.01132, allocations: 0 / 0.5554 GB, free: 19.35 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.0006882/0.01201, allocations: 0.6321 MB / 0.556 GB, free: 18.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.01205, allocations: 15.89 kB / 0.556 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.0121, allocations: 32.91 kB / 0.5561 GB, free: 18.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.01229, allocations: 193.5 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.01232, allocations: 16.75 kB / 0.5563 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.01236, allocations: 24.33 kB / 0.5563 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.01259, allocations: 248 kB / 0.5565 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.0126, allocations: 0 / 0.5565 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.01261, allocations: 8 kB / 0.5565 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.01262, allocations: 8 kB / 0.5565 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.01273, allocations: 145.8 kB / 0.5567 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.0133, allocations: 0.5038 MB / 0.5572 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.01349, allocations: 156.8 kB / 0.5573 GB, free: 17.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.01355, allocations: 104.5 kB / 0.5574 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.01356, allocations: 7.938 kB / 0.5574 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.01374, allocations: 315.4 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.01374, allocations: 0 / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007333/0.01448, allocations: 0.8123 MB / 0.5585 GB, free: 15.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.01452, allocations: 221.6 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.01462, allocations: 225 kB / 0.559 GB, free: 15.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.01464, allocations: 37.7 kB / 0.559 GB, free: 15.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.01468, allocations: 133.3 kB / 0.5591 GB, free: 15.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.01472, allocations: 115 kB / 0.5592 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.01478, allocations: 74.16 kB / 0.5593 GB, free: 14.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2588/0.2735, allocations: 345.9 kB / 0.5596 GB, free: 79.52 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.2738, allocations: 143.5 kB / 0.5598 GB, free: 79.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.2739, allocations: 248 kB / 0.56 GB, free: 79.19 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.2741, allocations: 347.7 kB / 0.5603 GB, free: 78.93 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2741, allocations: 3.406 kB / 0.5603 GB, free: 78.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003371/0.2744, allocations: 385 kB / 0.5607 GB, free: 78.71 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.2745, allocations: 93.2 kB / 0.5608 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2745, allocations: 3.438 kB / 0.5608 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/0.2745, allocations: 6.656 kB / 0.5608 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.2748, allocations: 107.3 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2748, allocations: 6.062 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.275, allocations: 20.22 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.275, allocations: 15.28 kB / 0.5609 GB, free: 78.62 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.0001777/0.2752, allocations: 210.3 kB / 0.5611 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.2752, allocations: 38.16 kB / 0.5612 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.2753, allocations: 36.58 kB / 0.5612 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2753, allocations: 3.594 kB / 0.5612 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2753, allocations: 1.281 kB / 0.5612 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.2753, allocations: 2.578 kB / 0.5612 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.2758, allocations: 0.5159 MB / 0.5617 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2758, allocations: 1.516 kB / 0.5617 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.276, allocations: 74.19 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.2761, allocations: 25.55 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2761, allocations: 1.219 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.2761, allocations: 11.88 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2761, allocations: 1.031 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2761, allocations: 2.734 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.2765, allocations: 0.5239 MB / 0.5624 GB, free: 77.79 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.2765, allocations: 10.92 kB / 0.5624 GB, free: 77.79 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2766, allocations: 15.33 kB / 0.5624 GB, free: 77.79 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.2767, allocations: 25.23 kB / 0.5624 GB, free: 77.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2767, allocations: 12.45 kB / 0.5624 GB, free: 77.79 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.488e-05/0.2768, allocations: 82.83 kB / 0.5625 GB, free: 77.78 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2768, allocations: 0 / 0.5625 GB, free: 77.78 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002298/0.277, allocations: 84.62 kB / 0.5626 GB, free: 77.78 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 0.0001184/0.2772, allocations: 102.7 kB / 0.5627 GB, free: 77.71 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.2775, allocations: 488.7 kB / 0.5631 GB, free: 77.35 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.2775, allocations: 2.438 kB / 0.5631 GB, free: 77.35 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.2776, allocations: 264.6 kB / 0.5634 GB, free: 77.15 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.278, allocations: 133.1 kB / 0.5635 GB, free: 77.15 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.289, allocations: 0.7383 MB / 0.5642 GB, free: 76.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.612e-05/0.2891, allocations: 97.58 kB / 0.5643 GB, free: 76.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.2893, allocations: 33.36 kB / 0.5644 GB, free: 76.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.2896, allocations: 152.1 kB / 0.5645 GB, free: 76.67 MB / 410.8 MB Notification: Performance of SimCode: time 1.774e-06/0.2896, allocations: 2.219 kB / 0.5645 GB, free: 76.67 MB / 410.8 MB Notification: Performance of Templates: time 0.01079/0.3004, allocations: 5.26 MB / 0.5696 GB, free: 75.61 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8358007930219173]