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.001401/0.001401, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002269/0.00367, 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.001394/0.001394, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.00275, 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.107/1.107, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1299/1.237, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.8935/0.8935, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04565/0.9392, 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.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 2.605e-06/2.605e-06, allocations: 0 / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.474e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PBPK_SingleDoseVenousArteryTissue): time 0.004171/0.004206, allocations: 3.073 MB / 0.5474 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.005713, allocations: 0.7748 MB / 0.5482 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.00587, allocations: 4 kB / 0.5482 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.005994, allocations: 43.56 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.006264, allocations: 119 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.006535, allocations: 103.7 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.006943, allocations: 433.9 kB / 0.5488 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.007291, allocations: 230.7 kB / 0.5491 GB, free: 25.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.007613, allocations: 297.3 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.007854, allocations: 151.6 kB / 0.5495 GB, free: 25.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.007909, allocations: 40 kB / 0.5495 GB, free: 25.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.278e-05/0.007962, allocations: 36 kB / 0.5496 GB, free: 25.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.008019, allocations: 55.81 kB / 0.5496 GB, free: 25.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.008138, allocations: 107.9 kB / 0.5497 GB, free: 25.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.008443, allocations: 243.2 kB / 0.5499 GB, free: 24.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.319e-05/0.008466, allocations: 0 / 0.5499 GB, free: 24.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.008468, allocations: 3.938 kB / 0.5499 GB, free: 24.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.008492, allocations: 0 / 0.5499 GB, free: 24.99 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.001019/0.009511, allocations: 0.6059 MB / 0.5505 GB, free: 24.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.009554, allocations: 11.89 kB / 0.5505 GB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.009643, allocations: 40.91 kB / 0.5506 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.009896, allocations: 182.1 kB / 0.5508 GB, free: 24.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.009929, allocations: 21.03 kB / 0.5508 GB, free: 24.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.009979, allocations: 36.36 kB / 0.5508 GB, free: 24.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.01037, allocations: 309.3 kB / 0.5511 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.01038, allocations: 4.172 kB / 0.5511 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.01041, allocations: 12.38 kB / 0.5511 GB, free: 23.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.01042, allocations: 11.94 kB / 0.5511 GB, free: 23.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.01059, allocations: 97.38 kB / 0.5512 GB, free: 23.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01161, allocations: 0.6093 MB / 0.5518 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.01191, allocations: 110.5 kB / 0.5519 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.01197, allocations: 40.7 kB / 0.552 GB, free: 22.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.012, allocations: 4.094 kB / 0.552 GB, free: 22.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.01221, allocations: 115.2 kB / 0.5521 GB, free: 22.67 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001421/0.01236, allocations: 35.81 kB / 0.5521 GB, free: 22.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.033e-06/0.01236, allocations: 0 / 0.5521 GB, free: 22.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002872/0.01264, allocations: 156.7 kB / 0.5523 GB, free: 22.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.01267, allocations: 55.41 kB / 0.5523 GB, free: 22.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.01279, allocations: 187.4 kB / 0.5525 GB, free: 22.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.01281, allocations: 33.7 kB / 0.5525 GB, free: 22.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.01287, allocations: 160.5 kB / 0.5527 GB, free: 22.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.01293, allocations: 103.1 kB / 0.5528 GB, free: 21.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.01301, allocations: 57.95 kB / 0.5528 GB, free: 21.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.01306, allocations: 334.8 kB / 0.5532 GB, free: 21.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.01316, allocations: 83.75 kB / 0.5532 GB, free: 21.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.01327, allocations: 170.6 kB / 0.5534 GB, free: 21.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.01346, allocations: 195.2 kB / 0.5536 GB, free: 20.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.01346, allocations: 4.031 kB / 0.5536 GB, free: 20.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002584/0.01372, allocations: 238.5 kB / 0.5538 GB, free: 20.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.01376, allocations: 41.69 kB / 0.5539 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01377, allocations: 0 / 0.5539 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.01378, allocations: 4 kB / 0.5539 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.01412, allocations: 108.1 kB / 0.554 GB, free: 20.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01412, allocations: 11 kB / 0.554 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.01425, allocations: 19.98 kB / 0.554 GB, free: 20.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.01427, allocations: 8 kB / 0.554 GB, free: 20.55 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 0.0001421/0.01441, allocations: 150.7 kB / 0.5541 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.01445, allocations: 19.98 kB / 0.5542 GB, free: 20.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.01467, allocations: 151.3 kB / 0.5543 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.01468, allocations: 4 kB / 0.5543 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.01468, allocations: 0 / 0.5543 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01469, allocations: 0 / 0.5543 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.01484, allocations: 145.8 kB / 0.5544 GB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.01484, allocations: 3.938 kB / 0.5545 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.01503, allocations: 47.91 kB / 0.5545 GB, free: 20 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.01505, allocations: 19.89 kB / 0.5545 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01506, allocations: 0 / 0.5545 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.01508, allocations: 11.98 kB / 0.5545 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01508, allocations: 0 / 0.5545 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01508, allocations: 0 / 0.5545 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.01535, allocations: 213 kB / 0.5547 GB, free: 19.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.01538, allocations: 4 kB / 0.5547 GB, free: 19.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.01547, allocations: 11.98 kB / 0.5547 GB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.01552, allocations: 19.97 kB / 0.5548 GB, free: 19.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.01553, allocations: 7.984 kB / 0.5548 GB, free: 19.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.477e-05/0.01559, allocations: 61.39 kB / 0.5548 GB, free: 19.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01559, allocations: 0 / 0.5548 GB, free: 19.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.01585, allocations: 87.84 kB / 0.5549 GB, free: 19.55 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 9.518e-05/0.01594, allocations: 87.66 kB / 0.555 GB, free: 19.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.01615, allocations: 214 kB / 0.5552 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.01616, allocations: 4 kB / 0.5552 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/0.01625, allocations: 64.61 kB / 0.5553 GB, free: 19.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.01652, allocations: 98.22 kB / 0.5554 GB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009381/0.0259, allocations: 0.6183 MB / 0.556 GB, free: 18.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.605e-05/0.02596, allocations: 88.31 kB / 0.5561 GB, free: 18.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.02609, allocations: 38.27 kB / 0.5561 GB, free: 18.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.02628, allocations: 111.3 kB / 0.5562 GB, free: 18.18 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02628, allocations: 0 / 0.5562 GB, free: 18.18 MB / 410.7 MB Notification: Performance of Templates: time 0.3232/0.3495, allocations: 4.146 MB / 0.5602 GB, free: 84.97 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: 4.266757943667471]