Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.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.001236/0.001236, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001975/0.003211, 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.00117/0.00117, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002757, 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 1.087/1.087, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09292/1.18, allocations: 53.68 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.8148/0.8148, allocations: 291.2 MB / 0.5228 GB, free: 52.52 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03095/0.8458, allocations: 21.04 MB / 0.5433 GB, free: 31.53 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.SingleDoseDiffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion") translateModel(Pharmacolibrary.DevModels.SingleDoseDiffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5446 GB, free: 30.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.308e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.24 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseDiffusion): time 0.003052/0.003075, allocations: 3.004 MB / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.004153, allocations: 0.7593 MB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.004277, allocations: 0 / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.361e-05/0.00436, allocations: 43.56 kB / 0.5483 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.004589, allocations: 123 kB / 0.5484 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.004795, allocations: 95.75 kB / 0.5485 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.005074, allocations: 410 kB / 0.5489 GB, free: 25.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.005388, allocations: 230.6 kB / 0.5491 GB, free: 25.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.005625, allocations: 273.5 kB / 0.5494 GB, free: 25.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.005831, allocations: 147.6 kB / 0.5495 GB, free: 25.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.005872, allocations: 36 kB / 0.5496 GB, free: 25.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.964e-05/0.005912, allocations: 36 kB / 0.5496 GB, free: 25.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.005962, allocations: 59.8 kB / 0.5497 GB, free: 25.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.00606, allocations: 111.8 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.006341, allocations: 239.1 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.609e-05/0.006357, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006358, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.00637, allocations: 0 / 0.55 GB, free: 24.7 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007357/0.007106, allocations: 0.6121 MB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.007138, allocations: 12.03 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.007213, allocations: 44.91 kB / 0.5507 GB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.007391, allocations: 169.3 kB / 0.5508 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.007413, allocations: 21.03 kB / 0.5508 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.007452, allocations: 32.33 kB / 0.5509 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.007738, allocations: 339 kB / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.007753, allocations: 4.188 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.00777, allocations: 4.375 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.00778, allocations: 15.92 kB / 0.5512 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.007909, allocations: 131.1 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.008648, allocations: 0.6012 MB / 0.5519 GB, free: 22.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.008885, allocations: 152.1 kB / 0.5521 GB, free: 22.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.008937, allocations: 70.55 kB / 0.5521 GB, free: 22.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.008956, allocations: 7.938 kB / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.009135, allocations: 230.2 kB / 0.5524 GB, free: 22.11 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00011/0.009245, allocations: 31.88 kB / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.375e-06/0.009247, allocations: 0 / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007202/0.009968, allocations: 0.6165 MB / 0.553 GB, free: 21.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.01, allocations: 162.2 kB / 0.5532 GB, free: 21.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.0101, allocations: 190.5 kB / 0.5533 GB, free: 21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.01013, allocations: 33.7 kB / 0.5534 GB, free: 20.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.01018, allocations: 144.6 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.01023, allocations: 115.1 kB / 0.5536 GB, free: 20.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.01029, allocations: 73.44 kB / 0.5537 GB, free: 20.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.01033, allocations: 334.8 kB / 0.554 GB, free: 20.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.0104, allocations: 117.7 kB / 0.5541 GB, free: 20.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/0.01049, allocations: 207.4 kB / 0.5543 GB, free: 19.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.01064, allocations: 284.2 kB / 0.5546 GB, free: 19.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01064, allocations: 4 kB / 0.5546 GB, free: 19.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002092/0.01085, allocations: 313 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.01088, allocations: 63.34 kB / 0.5549 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01089, allocations: 0 / 0.5549 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.0109, allocations: 7.938 kB / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.01117, allocations: 120.2 kB / 0.5551 GB, free: 19.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01117, allocations: 7.984 kB / 0.5551 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.01127, allocations: 16 kB / 0.5551 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.01128, allocations: 11.98 kB / 0.5551 GB, free: 18.99 MB / 410.7 MB Warning: Assuming fixed start value for the following 3 variables: singleDose.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 tissueCompartment.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: 11 * Number of states: 0 () * Number of discrete variables: 13 (RBC.Cmin,$PRE.RBC.Cmin,RBC.Cmax,$PRE.RBC.Cmax,RBC.rising,$PRE.RBC.rising,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0001368/0.01142, allocations: 187.8 kB / 0.5553 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.01145, allocations: 27.92 kB / 0.5553 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.01165, allocations: 236.3 kB / 0.5555 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01166, allocations: 4 kB / 0.5555 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01166, allocations: 7.125 kB / 0.5555 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01166, allocations: 3.984 kB / 0.5555 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.01198, allocations: 434.4 kB / 0.556 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01198, allocations: 0 / 0.556 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.01215, allocations: 67.89 kB / 0.556 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01217, allocations: 23.8 kB / 0.556 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01218, allocations: 0 / 0.556 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01219, allocations: 8 kB / 0.5561 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01219, allocations: 0 / 0.5561 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01219, allocations: 0 / 0.5561 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.01243, allocations: 410.5 kB / 0.5564 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.01246, allocations: 8 kB / 0.5565 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.01254, allocations: 15.98 kB / 0.5565 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.01259, allocations: 19.97 kB / 0.5565 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.0126, allocations: 11.98 kB / 0.5565 GB, free: 17.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.026e-05/0.01264, allocations: 53.81 kB / 0.5566 GB, free: 17.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01264, allocations: 0 / 0.5566 GB, free: 17.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.01283, allocations: 80 kB / 0.5566 GB, free: 17.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (singleDose.TotalCumulativeMass,artery.M,artery.AUC,tissueCompartment.M,tissueCompartment.AUC,RBC.C,RBC.AUC) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,singleDose.pulse.T_start,singleDose.pulse.count,RBC.Cmax,RBC.Cmin,RBC.rising) * Number of discrete states: 6 (singleDose.pulse.count,RBC.Cmin,$whenCondition2,RBC.Cmax,$whenCondition1,RBC.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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.405e-05/0.01292, allocations: 96.33 kB / 0.5567 GB, free: 17.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.01315, allocations: 365.9 kB / 0.5571 GB, free: 16.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.01316, allocations: 7.984 kB / 0.5571 GB, free: 16.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01326, allocations: 177.8 kB / 0.5572 GB, free: 16.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01358, allocations: 379.1 kB / 0.5576 GB, free: 16.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007538/0.02112, allocations: 0.6558 MB / 0.5582 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.02116, allocations: 95.14 kB / 0.5583 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.0213, allocations: 30.28 kB / 0.5584 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.02148, allocations: 135.3 kB / 0.5585 GB, free: 15.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/0.02148, allocations: 4 kB / 0.5585 GB, free: 15.23 MB / 410.7 MB Notification: Performance of Templates: time 0.2526/0.2741, allocations: 4.743 MB / 0.5631 GB, free: 84.36 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.039255962707102]