Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.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.001231/0.001231, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002101/0.003331, allocations: 435.8 kB / 10.33 MB, free: 368 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.001521/0.001521, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001852/0.003373, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.145/1.145, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1281/1.273, allocations: 53.67 MB / 243.2 MB, free: 15.57 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.9327/0.9327, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04801/0.9807, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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_3C_FentanylIV,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV") translateModel(Pharmacolibrary.Examples.PK_3C_FentanylIV,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.93e-06/4.93e-06, allocations: 4 kB / 0.5444 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.41e-05/3.903e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_3C_FentanylIV): time 0.003618/0.003657, allocations: 2.836 MB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.005069, allocations: 0.6971 MB / 0.5478 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.005199, allocations: 3.938 kB / 0.5478 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.005313, allocations: 35.64 kB / 0.5479 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.005528, allocations: 115 kB / 0.548 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.005741, allocations: 87.75 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.006127, allocations: 406 kB / 0.5484 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.00632, allocations: 68.81 kB / 0.5485 GB, free: 26.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.006616, allocations: 228.2 kB / 0.5487 GB, free: 26.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.0068, allocations: 119.7 kB / 0.5488 GB, free: 25.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.006848, allocations: 32 kB / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.756e-05/0.006885, allocations: 28 kB / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.006938, allocations: 47.75 kB / 0.5489 GB, free: 25.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.007038, allocations: 95.88 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.007308, allocations: 219.3 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.835e-05/0.007327, allocations: 0 / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007328, allocations: 0 / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.007345, allocations: 0 / 0.5492 GB, free: 25.5 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008241/0.00817, allocations: 0.6463 MB / 0.5499 GB, free: 24.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.008213, allocations: 11.89 kB / 0.5499 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.008293, allocations: 46.59 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.008517, allocations: 182.9 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.008544, allocations: 20.86 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.008582, allocations: 24.38 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.008844, allocations: 253.7 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.008861, allocations: 8.125 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.008877, allocations: 12.38 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.008887, allocations: 15.94 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.009039, allocations: 190.4 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.009666, allocations: 402.8 kB / 0.551 GB, free: 23.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.00996, allocations: 211.3 kB / 0.5512 GB, free: 23.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.01004, allocations: 142.2 kB / 0.5513 GB, free: 23.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.01006, allocations: 8 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.01035, allocations: 426.4 kB / 0.5517 GB, free: 22.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 2.405e-06/0.01036, allocations: 0 / 0.5517 GB, free: 22.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0011/0.01146, allocations: 1.086 MB / 0.5528 GB, free: 21.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.01154, allocations: 302.7 kB / 0.5531 GB, free: 21.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.01164, allocations: 179.4 kB / 0.5533 GB, free: 20.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.01166, allocations: 41.7 kB / 0.5533 GB, free: 20.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.01171, allocations: 128.8 kB / 0.5534 GB, free: 20.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.01178, allocations: 150.7 kB / 0.5536 GB, free: 20.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.01186, allocations: 90.14 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.334e-05/0.01196, allocations: 342.8 kB / 0.554 GB, free: 20.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.01206, allocations: 181.7 kB / 0.5542 GB, free: 19.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.01221, allocations: 300.8 kB / 0.5544 GB, free: 19.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.01247, allocations: 424.8 kB / 0.5548 GB, free: 19.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01248, allocations: 3.938 kB / 0.5549 GB, free: 19.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003325/0.01281, allocations: 473.9 kB / 0.5553 GB, free: 18.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.067e-05/0.01287, allocations: 122.7 kB / 0.5554 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01288, allocations: 352 / 0.5554 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.01289, allocations: 12 kB / 0.5554 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.01317, allocations: 131.8 kB / 0.5556 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.01318, allocations: 7.984 kB / 0.5556 GB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.01329, allocations: 16 kB / 0.5556 GB, free: 18.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.0133, allocations: 16 kB / 0.5556 GB, free: 18.26 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: 12 * Number of states: 0 () * Number of discrete variables: 29 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral2.rising,$PRE.peripheral2.rising,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,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 4 * 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.0001765/0.01348, allocations: 257.3 kB / 0.5558 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.01352, allocations: 35.97 kB / 0.5559 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.01356, allocations: 30.98 kB / 0.5559 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01357, allocations: 4 kB / 0.5559 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01357, allocations: 0 / 0.5559 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.01358, allocations: 7.984 kB / 0.5559 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.0141, allocations: 0.6358 MB / 0.5565 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.0141, allocations: 0 / 0.5565 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.01432, allocations: 96.52 kB / 0.5566 GB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.01435, allocations: 19.86 kB / 0.5567 GB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01435, allocations: 0 / 0.5567 GB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.01438, allocations: 19.25 kB / 0.5567 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01438, allocations: 0 / 0.5567 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01438, allocations: 0 / 0.5567 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.01477, allocations: 0.6891 MB / 0.5573 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.0148, allocations: 27.88 kB / 0.5574 GB, free: 16.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.01489, allocations: 15.98 kB / 0.5574 GB, free: 16.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.01497, allocations: 35.94 kB / 0.5574 GB, free: 16.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.01498, allocations: 7.984 kB / 0.5574 GB, free: 16.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.409e-05/0.01503, allocations: 50.78 kB / 0.5575 GB, free: 16.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01503, allocations: 0 / 0.5575 GB, free: 16.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.01524, allocations: 100 kB / 0.5576 GB, free: 16.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,central.C,central.AUC,elim.MExc,peripheral2.C,peripheral2.AUC) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,central.Cmax,central.Cmin,central.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition7,peripheral.Cmax,$whenCondition6,peripheral.rising,peripheral2.Cmin,$whenCondition3,peripheral2.Cmax,$whenCondition2,peripheral2.rising,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * 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.0001146/0.01536, allocations: 109.1 kB / 0.5577 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.01568, allocations: 0.6325 MB / 0.5583 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.01569, allocations: 4 kB / 0.5583 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.01588, allocations: 372.8 kB / 0.5587 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.0162, allocations: 115.2 kB / 0.5588 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3835/0.3997, allocations: 0.7578 MB / 0.5595 GB, free: 84.66 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.257e-05/0.3998, allocations: 101.2 kB / 0.5596 GB, free: 84.58 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.4, allocations: 33.42 kB / 0.5596 GB, free: 84.58 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.4002, allocations: 147.6 kB / 0.5598 GB, free: 84.55 MB / 410.8 MB Notification: Performance of SimCode: time 2.224e-06/0.4002, allocations: 0 / 0.5598 GB, free: 84.55 MB / 410.8 MB Notification: Performance of Templates: time 0.02297/0.4232, allocations: 5.271 MB / 0.5649 GB, free: 83.75 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.757689828984439]