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.0006666/0.0006666, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008572/0.001524, allocations: 440 kB / 10.41 MB, free: 284 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.0007581/0.0007581, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009156/0.001674, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.965/0.965, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08908/1.054, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8332/0.8332, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03027/0.8635, allocations: 21.05 MB / 0.5433 GB, free: 31.47 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.094e-06/2.094e-06, allocations: 0 / 0.5447 GB, free: 30.01 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.779e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.01 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate): time 0.003745/0.003772, allocations: 2.963 MB / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006484/0.01026, allocations: 6.786 MB / 0.5542 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.01048, allocations: 0 / 0.5542 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.01061, allocations: 35.64 kB / 0.5543 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.0109, allocations: 126.9 kB / 0.5544 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.01113, allocations: 79.77 kB / 0.5545 GB, free: 19.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.01149, allocations: 393.9 kB / 0.5549 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.01165, allocations: 62.84 kB / 0.5549 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.01196, allocations: 246.5 kB / 0.5551 GB, free: 19.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.0122, allocations: 119.7 kB / 0.5553 GB, free: 19.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.01225, allocations: 27.94 kB / 0.5553 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.182e-05/0.0123, allocations: 24 kB / 0.5553 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.01234, allocations: 43.86 kB / 0.5554 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.01244, allocations: 91.81 kB / 0.5554 GB, free: 19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.0127, allocations: 195.3 kB / 0.5556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.01272, allocations: 8 kB / 0.5556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.01272, allocations: 0 / 0.5556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.01273, allocations: 0 / 0.5556 GB, free: 18.8 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.0008334/0.01357, allocations: 0.6282 MB / 0.5562 GB, free: 18.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.0136, allocations: 15.89 kB / 0.5563 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.01367, allocations: 40.22 kB / 0.5563 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.0139, allocations: 193.5 kB / 0.5565 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.01393, allocations: 20.75 kB / 0.5565 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.01397, allocations: 24.33 kB / 0.5565 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.01427, allocations: 240.7 kB / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.01428, allocations: 3.984 kB / 0.5568 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.0143, allocations: 8 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.01431, allocations: 4 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.01447, allocations: 146.5 kB / 0.5569 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.01522, allocations: 0.5152 MB / 0.5574 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.01547, allocations: 154 kB / 0.5576 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.01555, allocations: 100.5 kB / 0.5577 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.01556, allocations: 11.94 kB / 0.5577 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.01579, allocations: 315.3 kB / 0.558 GB, free: 16.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.055e-06/0.0158, allocations: 4 kB / 0.558 GB, free: 16.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008849/0.01668, allocations: 0.8196 MB / 0.5588 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.01673, allocations: 277 kB / 0.559 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3164/0.3331, allocations: 217.9 kB / 0.5592 GB, free: 79.57 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/0.3332, allocations: 36.33 kB / 0.5593 GB, free: 79.54 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.3332, allocations: 139.6 kB / 0.5594 GB, free: 79.45 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.3333, allocations: 120.3 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.3334, allocations: 72.58 kB / 0.5596 GB, free: 79.39 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.3334, allocations: 349.5 kB / 0.5599 GB, free: 79.08 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3335, allocations: 143.2 kB / 0.5601 GB, free: 78.98 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.3336, allocations: 246 kB / 0.5603 GB, free: 78.75 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3338, allocations: 353 kB / 0.5606 GB, free: 78.49 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3338, allocations: 3.594 kB / 0.5606 GB, free: 78.49 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000289/0.3341, allocations: 382.2 kB / 0.561 GB, free: 78.27 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.3342, allocations: 93.61 kB / 0.5611 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3342, allocations: 4 kB / 0.5611 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3342, allocations: 5.312 kB / 0.5611 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.3345, allocations: 107.8 kB / 0.5612 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3345, allocations: 8.828 kB / 0.5612 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.3347, allocations: 17.98 kB / 0.5612 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3347, allocations: 15.06 kB / 0.5613 GB, free: 78.18 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.0001687/0.3349, allocations: 211.9 kB / 0.5615 GB, free: 78 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.3349, allocations: 37.19 kB / 0.5615 GB, free: 78 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.3349, allocations: 30.86 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.335, allocations: 5.5 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.335, allocations: 0 / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.335, allocations: 1.781 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.3354, allocations: 0.5251 MB / 0.562 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3354, allocations: 1.906 kB / 0.562 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.3357, allocations: 71.27 kB / 0.5621 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.3357, allocations: 24.58 kB / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3357, allocations: 1.781 kB / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3357, allocations: 11.81 kB / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3357, allocations: 2.797 kB / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3357, allocations: 0 / 0.5621 GB, free: 77.66 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.3361, allocations: 0.5185 MB / 0.5627 GB, free: 77.34 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.3361, allocations: 11 kB / 0.5627 GB, free: 77.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3362, allocations: 16.53 kB / 0.5627 GB, free: 77.34 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.3363, allocations: 31.38 kB / 0.5627 GB, free: 77.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3363, allocations: 7.672 kB / 0.5627 GB, free: 77.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.032e-05/0.3364, allocations: 85.42 kB / 0.5628 GB, free: 77.32 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3364, allocations: 0 / 0.5628 GB, free: 77.32 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002061/0.3366, allocations: 88.38 kB / 0.5629 GB, free: 77.32 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.0001031/0.3367, allocations: 100 kB / 0.563 GB, free: 77.25 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.337, allocations: 490.1 kB / 0.5634 GB, free: 76.9 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.337, allocations: 4.438 kB / 0.5634 GB, free: 76.9 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.3371, allocations: 280.5 kB / 0.5637 GB, free: 76.7 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.3375, allocations: 0.6534 MB / 0.5644 GB, free: 76.06 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/0.345, allocations: 0.7273 MB / 0.5651 GB, free: 75.7 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.345, allocations: 97.38 kB / 0.5652 GB, free: 75.62 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000123/0.3452, allocations: 35.19 kB / 0.5652 GB, free: 75.62 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.3454, allocations: 148.3 kB / 0.5653 GB, free: 75.57 MB / 410.8 MB Notification: Performance of SimCode: time 6.71e-07/0.3454, allocations: 0.5 kB / 0.5653 GB, free: 75.57 MB / 410.8 MB Notification: Performance of Templates: time 0.008087/0.3535, allocations: 5.282 MB / 0.5705 GB, free: 74.46 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.7879911111667752]