Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue.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.0007077/0.0007077, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001806, 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.0006939/0.0006939, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009134/0.001607, 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.902/0.902, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.003, 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.714/0.714, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0309/0.7449, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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.PBPK_SingleDoseVenousArteryTissue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue") translateModel(Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.5446 GB, free: 30.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.288e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue): time 0.002231/0.002243, allocations: 3.085 MB / 0.5476 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008276/0.003071, allocations: 0.7671 MB / 0.5483 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.00316, allocations: 7.938 kB / 0.5484 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.826e-05/0.003238, allocations: 43.56 kB / 0.5484 GB, free: 26.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.003384, allocations: 123 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.003536, allocations: 91.75 kB / 0.5486 GB, free: 26.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.003766, allocations: 437.9 kB / 0.549 GB, free: 25.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.003969, allocations: 234.7 kB / 0.5492 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.004159, allocations: 283.4 kB / 0.5495 GB, free: 25.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.004333, allocations: 163.5 kB / 0.5497 GB, free: 24.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.004374, allocations: 36 kB / 0.5497 GB, free: 24.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.185e-05/0.004416, allocations: 36 kB / 0.5497 GB, free: 24.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.004456, allocations: 59.81 kB / 0.5498 GB, free: 24.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.004532, allocations: 111.8 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.004743, allocations: 239.2 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.004755, allocations: 4 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004756, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.004767, allocations: 0 / 0.5501 GB, free: 24.46 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006695/0.005436, allocations: 0.602 MB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.005466, allocations: 11.89 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.00552, allocations: 48.91 kB / 0.5508 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.005668, allocations: 170.2 kB / 0.5509 GB, free: 23.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.005684, allocations: 28.97 kB / 0.551 GB, free: 23.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.005716, allocations: 28.38 kB / 0.551 GB, free: 23.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.005937, allocations: 313.3 kB / 0.5513 GB, free: 23.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.005947, allocations: 192 / 0.5513 GB, free: 23.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.005963, allocations: 16.36 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.005968, allocations: 11.94 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.00607, allocations: 89.38 kB / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.006707, allocations: 0.6171 MB / 0.552 GB, free: 22.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.006907, allocations: 114.5 kB / 0.5521 GB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.00695, allocations: 36.7 kB / 0.5522 GB, free: 22.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.00697, allocations: 4 kB / 0.5522 GB, free: 22.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.007088, allocations: 119.3 kB / 0.5523 GB, free: 22.15 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001036/0.007192, allocations: 39.81 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.313e-06/0.007193, allocations: 0 / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0001869/0.00738, allocations: 146.2 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.007404, allocations: 55.41 kB / 0.5525 GB, free: 21.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.007489, allocations: 198.2 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.007508, allocations: 29.7 kB / 0.5527 GB, free: 21.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.007558, allocations: 164.5 kB / 0.5529 GB, free: 21.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.007602, allocations: 95.16 kB / 0.553 GB, free: 21.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.007659, allocations: 61.94 kB / 0.553 GB, free: 21.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.007702, allocations: 338.8 kB / 0.5534 GB, free: 20.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.007762, allocations: 81.81 kB / 0.5534 GB, free: 20.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.007842, allocations: 162.7 kB / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.007972, allocations: 199.3 kB / 0.5538 GB, free: 20.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007975, allocations: 0 / 0.5538 GB, free: 20.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001751/0.00815, allocations: 250.5 kB / 0.554 GB, free: 20.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.00818, allocations: 33.7 kB / 0.554 GB, free: 20.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.008184, allocations: 0 / 0.554 GB, free: 20.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.008195, allocations: 4 kB / 0.554 GB, free: 20.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.00842, allocations: 109.8 kB / 0.5542 GB, free: 20.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.008424, allocations: 4 kB / 0.5542 GB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.008507, allocations: 20.17 kB / 0.5542 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.00852, allocations: 12 kB / 0.5542 GB, free: 20.02 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: tissue.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real arteries.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real veins.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real singleDose.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: 10 * Number of states: 0 () * Number of discrete variables: 5 (singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * 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 9.584e-05/0.008616, allocations: 149.8 kB / 0.5543 GB, free: 19.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.008638, allocations: 19.98 kB / 0.5543 GB, free: 19.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.008792, allocations: 161.7 kB / 0.5545 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.008795, allocations: 4 kB / 0.5545 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.008797, allocations: 3.062 kB / 0.5545 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.008801, allocations: 0 / 0.5545 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.00891, allocations: 141.8 kB / 0.5546 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008911, allocations: 3.938 kB / 0.5546 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.00904, allocations: 51.91 kB / 0.5547 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.009056, allocations: 11.91 kB / 0.5547 GB, free: 19.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.009058, allocations: 3.938 kB / 0.5547 GB, free: 19.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.009071, allocations: 11.98 kB / 0.5547 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.009072, allocations: 0 / 0.5547 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.009073, allocations: 4 kB / 0.5547 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.009251, allocations: 199.7 kB / 0.5549 GB, free: 19.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.009272, allocations: 8 kB / 0.5549 GB, free: 19.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.009333, allocations: 11.98 kB / 0.5549 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.009366, allocations: 27.77 kB / 0.555 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.009373, allocations: 3.984 kB / 0.555 GB, free: 19.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.551e-05/0.009409, allocations: 57.41 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009409, allocations: 0 / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000159/0.009568, allocations: 91.84 kB / 0.5551 GB, free: 19.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tissue.M,tissue.AUC,arteries.M,arteries.AUC,veins.M,veins.AUC,singleDose.TotalCumulativeMass,kidneyElim.MExc) * Number of discrete variables: 3 ($whenCondition1,singleDose.pulse.T_start,singleDose.pulse.count) * Number of discrete states: 1 (singleDose.pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 6.54e-05/0.009633, allocations: 92.39 kB / 0.5552 GB, free: 18.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.009793, allocations: 217.2 kB / 0.5554 GB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.009798, allocations: 0 / 0.5554 GB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.009865, allocations: 77.59 kB / 0.5555 GB, free: 18.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.0101, allocations: 354.1 kB / 0.5558 GB, free: 18.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/0.01754, allocations: 0.6076 MB / 0.5564 GB, free: 17.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.01757, allocations: 88.31 kB / 0.5565 GB, free: 17.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.229e-05/0.01766, allocations: 34.28 kB / 0.5565 GB, free: 17.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.0178, allocations: 123.3 kB / 0.5566 GB, free: 17.34 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.0178, allocations: 0 / 0.5566 GB, free: 17.34 MB / 410.7 MB Notification: Performance of Templates: time 0.2103/0.2281, allocations: 4.314 MB / 0.5609 GB, free: 84.37 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3723027873784304]