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.0007609/0.0007609, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.002015, 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.001736/0.001736, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001768/0.003504, 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 0.9811/0.9811, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09494/1.076, 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.9155/0.9155, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02957/0.9451, allocations: 21.03 MB / 0.5431 GB, free: 31.97 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.303e-06/1.303e-06, allocations: 0 / 0.5444 GB, free: 30.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.518e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseDiffusion): time 0.00255/0.002565, allocations: 3.003 MB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003771, allocations: 0.7515 MB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.003876, allocations: 4 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.279e-05/0.003939, allocations: 43.56 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.004139, allocations: 119 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.004367, allocations: 103.7 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.004669, allocations: 414 kB / 0.5487 GB, free: 26.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.004951, allocations: 230.6 kB / 0.5489 GB, free: 26.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.005196, allocations: 261.6 kB / 0.5492 GB, free: 25.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.005362, allocations: 155.6 kB / 0.5493 GB, free: 25.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.005403, allocations: 40 kB / 0.5494 GB, free: 25.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.353e-05/0.005436, allocations: 36 kB / 0.5494 GB, free: 25.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.005473, allocations: 51.81 kB / 0.5494 GB, free: 25.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.005559, allocations: 103.9 kB / 0.5495 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.005769, allocations: 239.1 kB / 0.5498 GB, free: 25.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.005785, allocations: 4 kB / 0.5498 GB, free: 25.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005786, allocations: 0 / 0.5498 GB, free: 25.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.005803, allocations: 0 / 0.5498 GB, free: 25.17 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.0006725/0.006476, allocations: 0.6199 MB / 0.5504 GB, free: 24.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.006522, allocations: 8.031 kB / 0.5504 GB, free: 24.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.006587, allocations: 48.84 kB / 0.5504 GB, free: 24.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.00676, allocations: 169.3 kB / 0.5506 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.006782, allocations: 21.03 kB / 0.5506 GB, free: 24.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.006813, allocations: 32.33 kB / 0.5506 GB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.007079, allocations: 335 kB / 0.551 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.007092, allocations: 4.188 kB / 0.551 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.007108, allocations: 8.375 kB / 0.551 GB, free: 23.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.007116, allocations: 15.94 kB / 0.551 GB, free: 23.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.007244, allocations: 131.1 kB / 0.5511 GB, free: 23.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.007928, allocations: 0.5943 MB / 0.5517 GB, free: 23.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.008164, allocations: 147.5 kB / 0.5518 GB, free: 22.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.008215, allocations: 74.55 kB / 0.5519 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.008237, allocations: 8 kB / 0.5519 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.00841, allocations: 226.1 kB / 0.5521 GB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001124/0.008522, allocations: 35.88 kB / 0.5522 GB, free: 22.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.844e-06/0.008524, allocations: 0 / 0.5522 GB, free: 22.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006626/0.009187, allocations: 0.6009 MB / 0.5527 GB, free: 21.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.009226, allocations: 132.5 kB / 0.5529 GB, free: 21.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.009313, allocations: 182.5 kB / 0.553 GB, free: 21.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.009328, allocations: 37.69 kB / 0.5531 GB, free: 21.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.009371, allocations: 148.6 kB / 0.5532 GB, free: 21.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.009414, allocations: 111.1 kB / 0.5533 GB, free: 21.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.009476, allocations: 77.36 kB / 0.5534 GB, free: 21.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.621e-05/0.009512, allocations: 338.8 kB / 0.5537 GB, free: 20.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.009578, allocations: 121.7 kB / 0.5538 GB, free: 20.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.009664, allocations: 207.3 kB / 0.554 GB, free: 20.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.009804, allocations: 280.8 kB / 0.5543 GB, free: 20.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009806, allocations: 0 / 0.5543 GB, free: 20.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001986/0.01, allocations: 313 kB / 0.5546 GB, free: 19.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.01004, allocations: 63.39 kB / 0.5547 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.01004, allocations: 4.312 kB / 0.5547 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.01005, allocations: 11.94 kB / 0.5547 GB, free: 19.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.01029, allocations: 119.8 kB / 0.5548 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01029, allocations: 4 kB / 0.5548 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/0.01038, allocations: 19.98 kB / 0.5548 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.0104, allocations: 8 kB / 0.5548 GB, free: 19.52 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.0001154/0.01051, allocations: 191.7 kB / 0.555 GB, free: 19.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.01054, allocations: 31.91 kB / 0.555 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.01072, allocations: 236.3 kB / 0.5553 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01072, allocations: 4 kB / 0.5553 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01072, allocations: 0 / 0.5553 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01072, allocations: 0 / 0.5553 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.01102, allocations: 435 kB / 0.5557 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01102, allocations: 3.125 kB / 0.5557 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.01119, allocations: 63.89 kB / 0.5558 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.01121, allocations: 19.86 kB / 0.5558 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01121, allocations: 4 kB / 0.5558 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01122, allocations: 7.984 kB / 0.5558 GB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01123, allocations: 7.938 kB / 0.5558 GB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01123, allocations: 0 / 0.5558 GB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.01146, allocations: 406.1 kB / 0.5562 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.01148, allocations: 11.94 kB / 0.5562 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.01157, allocations: 15.98 kB / 0.5562 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.01161, allocations: 23.95 kB / 0.5562 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.01162, allocations: 8 kB / 0.5562 GB, free: 17.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.489e-05/0.01166, allocations: 57.78 kB / 0.5563 GB, free: 17.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01166, allocations: 0 / 0.5563 GB, free: 17.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.01185, allocations: 84 kB / 0.5564 GB, free: 17.85 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 7.246e-05/0.01192, allocations: 96.36 kB / 0.5565 GB, free: 17.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.01214, allocations: 359.9 kB / 0.5568 GB, free: 17.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.01214, allocations: 0 / 0.5568 GB, free: 17.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.01222, allocations: 165.9 kB / 0.557 GB, free: 17.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.01247, allocations: 109.5 kB / 0.5571 GB, free: 17.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/0.02024, allocations: 0.6753 MB / 0.5577 GB, free: 16.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.808e-05/0.02028, allocations: 90.83 kB / 0.5578 GB, free: 16.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.282e-05/0.02037, allocations: 34.27 kB / 0.5578 GB, free: 16.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.02053, allocations: 123.3 kB / 0.558 GB, free: 16.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02053, allocations: 4 kB / 0.558 GB, free: 16.09 MB / 410.7 MB Notification: Performance of Templates: time 0.2418/0.2623, allocations: 4.596 MB / 0.5625 GB, free: 84.73 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.14021475892514]