Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.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.0006557/0.0006557, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000834/0.00149, 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.0006846/0.0006846, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008921/0.001577, 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.9529/0.9529, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07899/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.7771/0.7771, allocations: 291.2 MB / 0.5228 GB, free: 52.53 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03507/0.8122, allocations: 21.03 MB / 0.5433 GB, free: 31.55 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.Examples.PK_2C_IVMidazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam") translateModel(Pharmacolibrary.Examples.PK_2C_IVMidazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.5446 GB, free: 30.22 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.829e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_2C_IVMidazolam): time 0.002915/0.002943, allocations: 2.791 MB / 0.5474 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.004457, allocations: 1.25 MB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.004594, allocations: 3.938 kB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.004901, allocations: 211.1 kB / 0.5488 GB, free: 25.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.005241, allocations: 262.5 kB / 0.549 GB, free: 25.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.005466, allocations: 139.5 kB / 0.5492 GB, free: 25.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.00579, allocations: 450.1 kB / 0.5496 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.005897, allocations: 46.88 kB / 0.5497 GB, free: 25.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.006142, allocations: 297.5 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.006315, allocations: 179.6 kB / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.006345, allocations: 24 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.006445, allocations: 67.92 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.006504, allocations: 67.67 kB / 0.5503 GB, free: 24.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.348e-05/0.006577, allocations: 95.75 kB / 0.5504 GB, free: 24.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.00684, allocations: 283 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.006851, allocations: 0 / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006852, allocations: 0 / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.006862, allocations: 4 kB / 0.5506 GB, free: 24.06 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006926/0.007554, allocations: 0.7238 MB / 0.5513 GB, free: 23.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.007586, allocations: 15.89 kB / 0.5513 GB, free: 23.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.007653, allocations: 36.91 kB / 0.5514 GB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.007882, allocations: 238.3 kB / 0.5516 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.007903, allocations: 12.38 kB / 0.5516 GB, free: 22.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.007934, allocations: 24.31 kB / 0.5516 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.008159, allocations: 247.7 kB / 0.5519 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.008171, allocations: 3.938 kB / 0.5519 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.008186, allocations: 8 kB / 0.5519 GB, free: 22.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.008193, allocations: 4 kB / 0.5519 GB, free: 22.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.008304, allocations: 130.8 kB / 0.552 GB, free: 22.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.008763, allocations: 446.4 kB / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.008986, allocations: 243.1 kB / 0.5527 GB, free: 21.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.009044, allocations: 107.1 kB / 0.5528 GB, free: 21.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.009062, allocations: 15.94 kB / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.009273, allocations: 368.2 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.432e-06/0.009275, allocations: 0 / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007654/0.01004, allocations: 0.8356 MB / 0.554 GB, free: 20.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.01011, allocations: 302.7 kB / 0.5543 GB, free: 19.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.01027, allocations: 333.1 kB / 0.5546 GB, free: 19.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01029, allocations: 37.69 kB / 0.5546 GB, free: 19.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.01033, allocations: 137.9 kB / 0.5547 GB, free: 19.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.01038, allocations: 123 kB / 0.5549 GB, free: 19.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.01045, allocations: 86.14 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.01049, allocations: 350.7 kB / 0.5553 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.01058, allocations: 146.7 kB / 0.5554 GB, free: 18.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.01068, allocations: 248.9 kB / 0.5557 GB, free: 18.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.01084, allocations: 354.7 kB / 0.556 GB, free: 17.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01084, allocations: 0 / 0.556 GB, free: 17.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002194/0.01106, allocations: 390.3 kB / 0.5564 GB, free: 17.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.01109, allocations: 97.05 kB / 0.5565 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.0111, allocations: 8.219 kB / 0.5565 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.01111, allocations: 7.984 kB / 0.5565 GB, free: 17.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.01132, allocations: 103.9 kB / 0.5566 GB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01132, allocations: 8 kB / 0.5566 GB, free: 17.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.01142, allocations: 15.98 kB / 0.5566 GB, free: 17.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.01143, allocations: 16 kB / 0.5566 GB, free: 17.3 MB / 410.7 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: 11 * Number of states: 0 () * Number of discrete variables: 26 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,$PRE.CTT_MidazolamC.nextTimeEvent,$whenCondition1,CTT_MidazolamC.nextTimeEventScaled,$PRE.CTT_MidazolamC.nextTimeEventScaled,CTT_MidazolamC.nextTimeEvent,central.rising,$PRE.central.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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.0001277/0.01156, allocations: 218.5 kB / 0.5568 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.0116, allocations: 47.89 kB / 0.5569 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.223e-05/0.01169, allocations: 85.69 kB / 0.5569 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01169, allocations: 4 kB / 0.5569 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.0117, allocations: 3.438 kB / 0.5569 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.0117, allocations: 7.984 kB / 0.557 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.01206, allocations: 0.533 MB / 0.5575 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01206, allocations: 0 / 0.5575 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.01223, allocations: 75.89 kB / 0.5575 GB, free: 16.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.01226, allocations: 35.75 kB / 0.5576 GB, free: 16.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.01226, allocations: 0 / 0.5576 GB, free: 16.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01228, allocations: 11.98 kB / 0.5576 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01228, allocations: 4 kB / 0.5576 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01228, allocations: 0 / 0.5576 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.01258, allocations: 0.5669 MB / 0.5582 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.01261, allocations: 12 kB / 0.5582 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/0.0127, allocations: 19.98 kB / 0.5582 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.01276, allocations: 27.95 kB / 0.5582 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.01277, allocations: 15.92 kB / 0.5582 GB, free: 15.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.535e-05/0.01286, allocations: 151.5 kB / 0.5584 GB, free: 15.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01286, allocations: 0 / 0.5584 GB, free: 15.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.01308, allocations: 91.94 kB / 0.5585 GB, free: 15.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,central.C,central.AUC,elim.MExc) * Number of discrete variables: 16 ($whenCondition1,CTT_MidazolamC.nextTimeEvent,CTT_MidazolamC.nextTimeEventScaled,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 13 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition6,peripheral.Cmax,$whenCondition5,peripheral.rising,central.Cmin,$whenCondition4,central.Cmax,$whenCondition3,central.rising,CTT_MidazolamC.nextTimeEvent,CTT_MidazolamC.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.001127/0.01421, allocations: 0.5748 MB / 0.559 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.244/0.2582, allocations: 0.4886 MB / 0.5595 GB, free: 83.92 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.016e-05/0.2582, allocations: 7.469 kB / 0.5595 GB, free: 83.92 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.2584, allocations: 283.8 kB / 0.5598 GB, free: 83.73 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.2589, allocations: 0.5534 MB / 0.5603 GB, free: 83.23 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.2647, allocations: 0.8019 MB / 0.5611 GB, free: 82.82 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.619e-05/0.2648, allocations: 117.9 kB / 0.5612 GB, free: 82.75 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.2649, allocations: 36.56 kB / 0.5612 GB, free: 82.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.2651, allocations: 145.7 kB / 0.5614 GB, free: 82.7 MB / 410.8 MB Notification: Performance of SimCode: time 1.743e-06/0.2651, allocations: 0 / 0.5614 GB, free: 82.7 MB / 410.8 MB Notification: Performance of Templates: time 0.008505/0.2736, allocations: 5.879 MB / 0.5671 GB, free: 81.67 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.507710635662079]