Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.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.0009359/0.0009359, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002266, 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.001242/0.001242, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004953/0.006195, 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.074/1.074, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0989/1.173, allocations: 53.66 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.8288/0.8288, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03215/0.8609, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver,tolerance=1e-06,outputFormat="empty",numberOfIntervals=495,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver") translateModel(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver,tolerance=1e-06,outputFormat="empty",numberOfIntervals=495,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5444 GB, free: 30.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.694e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver): time 0.004641/0.004668, allocations: 4.17 MB / 0.5485 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.006752, allocations: 1.005 MB / 0.5494 GB, free: 25.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.007005, allocations: 8 kB / 0.5495 GB, free: 25.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.007229, allocations: 75.27 kB / 0.5495 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006339/0.007863, allocations: 206.2 kB / 0.5497 GB, free: 25.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.008307, allocations: 151.7 kB / 0.5499 GB, free: 25.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008246/0.009131, allocations: 0.7191 MB / 0.5506 GB, free: 24.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000767/0.009898, allocations: 0.5116 MB / 0.5511 GB, free: 23.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009213/0.01082, allocations: 0.5229 MB / 0.5516 GB, free: 23.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007125/0.01153, allocations: 355.2 kB / 0.5519 GB, free: 22.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.01172, allocations: 76 kB / 0.552 GB, free: 22.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.01185, allocations: 76 kB / 0.5521 GB, free: 22.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.012, allocations: 119.7 kB / 0.5522 GB, free: 22.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.01228, allocations: 211.7 kB / 0.5524 GB, free: 22.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.01287, allocations: 474.4 kB / 0.5528 GB, free: 22.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.327e-05/0.01289, allocations: 0 / 0.5528 GB, free: 22.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01289, allocations: 0 / 0.5528 GB, free: 22.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.831e-05/0.01293, allocations: 4 kB / 0.5528 GB, free: 22.01 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001587/0.01452, allocations: 0.8719 MB / 0.5537 GB, free: 21.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.01456, allocations: 15.89 kB / 0.5537 GB, free: 21.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.01471, allocations: 76.88 kB / 0.5538 GB, free: 21.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.01514, allocations: 228.5 kB / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.01518, allocations: 37.38 kB / 0.554 GB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.01528, allocations: 52.33 kB / 0.5541 GB, free: 20.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.01603, allocations: 0.5748 MB / 0.5546 GB, free: 20.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.01606, allocations: 192 / 0.5546 GB, free: 20.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.01611, allocations: 20.38 kB / 0.5547 GB, free: 20.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.01615, allocations: 24.94 kB / 0.5547 GB, free: 20.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.01655, allocations: 226.8 kB / 0.5549 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.01864, allocations: 1.03 MB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.01916, allocations: 195.5 kB / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.01933, allocations: 84.8 kB / 0.5562 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.01937, allocations: 12 kB / 0.5562 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.0197, allocations: 235.1 kB / 0.5564 GB, free: 18.2 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006036/0.0203, allocations: 159.6 kB / 0.5566 GB, free: 18.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 3.507e-06/0.0203, allocations: 0 / 0.5566 GB, free: 18.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.0006153/0.02092, allocations: 273.5 kB / 0.5568 GB, free: 17.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.02095, allocations: 59.41 kB / 0.5569 GB, free: 17.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.02112, allocations: 248.9 kB / 0.5571 GB, free: 17.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.02115, allocations: 33.7 kB / 0.5571 GB, free: 17.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.02124, allocations: 229.5 kB / 0.5574 GB, free: 17.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.02134, allocations: 170.5 kB / 0.5575 GB, free: 17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.02148, allocations: 118 kB / 0.5576 GB, free: 16.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.02154, allocations: 346.7 kB / 0.558 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.02173, allocations: 136.5 kB / 0.5581 GB, free: 16.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.02189, allocations: 267.1 kB / 0.5584 GB, free: 16.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.02215, allocations: 365.9 kB / 0.5587 GB, free: 15.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.02216, allocations: 0 / 0.5587 GB, free: 15.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003389/0.02249, allocations: 393.7 kB / 0.5591 GB, free: 15.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.02253, allocations: 41.69 kB / 0.5591 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.02254, allocations: 4 kB / 0.5591 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.02255, allocations: 8 kB / 0.5591 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.02303, allocations: 225.8 kB / 0.5593 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.02303, allocations: 15.92 kB / 0.5594 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.0232, allocations: 16 kB / 0.5594 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.02323, allocations: 27.97 kB / 0.5594 GB, free: 14.93 MB / 410.7 MB Warning: Assuming fixed start value for the following 7 variables: singleDose1.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real artery.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real gut.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real vein.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real spleen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real liver.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real lungs.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 (singleDose1.pulse.count,$PRE.singleDose1.pulse.count,singleDose1.pulse.T_start,$PRE.singleDose1.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.2739/0.2972, allocations: 155.8 kB / 0.5596 GB, free: 81.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/0.2973, allocations: 35.09 kB / 0.5596 GB, free: 81.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.2978, allocations: 307.9 kB / 0.5599 GB, free: 81.67 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2978, allocations: 5.062 kB / 0.5599 GB, free: 81.67 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2978, allocations: 0.5625 kB / 0.5599 GB, free: 81.67 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2978, allocations: 3.5 kB / 0.5599 GB, free: 81.67 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.2986, allocations: 0.4919 MB / 0.5604 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2986, allocations: 1.375 kB / 0.5604 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.299, allocations: 100.6 kB / 0.5605 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.299, allocations: 24.94 kB / 0.5605 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.2991, allocations: 4.281 kB / 0.5605 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.2991, allocations: 15.11 kB / 0.5605 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2991, allocations: 6.344 kB / 0.5605 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2991, allocations: 1.688 kB / 0.5605 GB, free: 81.48 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.2997, allocations: 421.5 kB / 0.5609 GB, free: 81.34 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.2997, allocations: 14.36 kB / 0.5609 GB, free: 81.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.3, allocations: 19.14 kB / 0.561 GB, free: 81.34 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.3, allocations: 35.5 kB / 0.561 GB, free: 81.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.3001, allocations: 14.86 kB / 0.561 GB, free: 81.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3002, allocations: 96.42 kB / 0.5611 GB, free: 81.33 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3002, allocations: 0 / 0.5611 GB, free: 81.33 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005016/0.3007, allocations: 168.9 kB / 0.5613 GB, free: 81.33 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (singleDose1.TotalCumulativeMass,artery.M,artery.AUC,gut.M,gut.AUC,vein.M,vein.AUC,spleen.M,spleen.AUC,liver.M,liver.AUC,lungs.M,lungs.AUC) * Number of discrete variables: 3 ($whenCondition1,singleDose1.pulse.T_start,singleDose1.pulse.count) * Number of discrete states: 1 (singleDose1.pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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 0.0001331/0.3008, allocations: 95.58 kB / 0.5613 GB, free: 81.26 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.3013, allocations: 357 kB / 0.5617 GB, free: 81.15 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.955e-05/0.3013, allocations: 5.812 kB / 0.5617 GB, free: 81.15 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.3015, allocations: 120.5 kB / 0.5618 GB, free: 81.14 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.3021, allocations: 180.3 kB / 0.562 GB, free: 81.14 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/0.3215, allocations: 0.9712 MB / 0.5629 GB, free: 80.71 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3216, allocations: 118.3 kB / 0.563 GB, free: 80.64 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004305/0.322, allocations: 76.88 kB / 0.5631 GB, free: 80.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.3224, allocations: 189.3 kB / 0.5633 GB, free: 80.6 MB / 410.8 MB Notification: Performance of SimCode: time 1.834e-06/0.3224, allocations: 0 / 0.5633 GB, free: 80.6 MB / 410.8 MB Notification: Performance of Templates: time 0.01389/0.3363, allocations: 8.986 MB / 0.5721 GB, free: 77.84 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.716747474856675]