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.00135/0.00135, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001434/0.001434, allocations: 170 kB / 23.27 MB, free: 1.227 MB / 18.57 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.9545/0.9545, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.665/1.665, allocations: 273.5 MB / 0.5212 GB, free: 14.79 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.674e-06/1.674e-06, allocations: 0 / 0.6474 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.384e-05, allocations: 6.703 kB / 0.6474 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver): time 0.003613/0.003626, allocations: 4.064 MB / 0.6514 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004933, allocations: 0.9697 MB / 0.6523 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.005081, allocations: 6.594 kB / 0.6523 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.005222, allocations: 78.28 kB / 0.6524 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.005584, allocations: 205.3 kB / 0.6526 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.005845, allocations: 152.4 kB / 0.6527 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004835/0.006329, allocations: 0.7205 MB / 0.6534 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004774/0.006806, allocations: 496.4 kB / 0.6539 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.007264, allocations: 0.4961 MB / 0.6544 GB, free: 33.93 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.007761, allocations: 351.4 kB / 0.6547 GB, free: 33.83 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.007869, allocations: 75.72 kB / 0.6548 GB, free: 33.83 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.007983, allocations: 75.81 kB / 0.6549 GB, free: 33.83 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.008096, allocations: 174.6 kB / 0.655 GB, free: 33.72 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.008307, allocations: 271.2 kB / 0.6553 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.008828, allocations: 0.5324 MB / 0.6558 GB, free: 33.34 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00883, allocations: 0 / 0.6558 GB, free: 33.34 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.81e-07/0.008831, allocations: 0.5625 kB / 0.6558 GB, free: 33.34 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.008838, allocations: 0 / 0.6558 GB, free: 33.34 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001158/0.009995, allocations: 0.8781 MB / 0.6567 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.01003, allocations: 10.19 kB / 0.6567 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.01016, allocations: 93.41 kB / 0.6568 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.01045, allocations: 299.3 kB / 0.6571 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.01048, allocations: 33.28 kB / 0.6571 GB, free: 32.39 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.01056, allocations: 58.25 kB / 0.6571 GB, free: 32.37 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.01117, allocations: 0.576 MB / 0.6577 GB, free: 32.1 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.01119, allocations: 3.938 kB / 0.6577 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.01123, allocations: 23.16 kB / 0.6577 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.01126, allocations: 26.94 kB / 0.6578 GB, free: 32.07 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.01163, allocations: 261.5 kB / 0.658 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.01336, allocations: 1.325 MB / 0.6593 GB, free: 31.24 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.01371, allocations: 215.5 kB / 0.6595 GB, free: 31.18 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.01387, allocations: 107.8 kB / 0.6596 GB, free: 31.15 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.01389, allocations: 22.2 kB / 0.6596 GB, free: 31.15 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.01416, allocations: 239.4 kB / 0.6599 GB, free: 31.04 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005042/0.01466, allocations: 155.7 kB / 0.66 GB, free: 31.01 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=46): time 2.505e-06/0.01467, allocations: 0 / 0.66 GB, free: 31.01 MB / 0.5262 GB Notification: Performance of matching and sorting (n=46): time 0.0006373/0.0153, allocations: 393.5 kB / 0.6604 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.01532, allocations: 60.27 kB / 0.6604 GB, free: 30.85 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.01548, allocations: 297.4 kB / 0.6607 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.01551, allocations: 36.48 kB / 0.6608 GB, free: 30.6 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.0156, allocations: 287.5 kB / 0.661 GB, free: 30.36 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 9.143e-05/0.0157, allocations: 187.1 kB / 0.6612 GB, free: 30.21 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.01584, allocations: 125.1 kB / 0.6613 GB, free: 30.15 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.01591, allocations: 0.5185 MB / 0.6618 GB, free: 29.64 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.0161, allocations: 155.2 kB / 0.662 GB, free: 29.58 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.01634, allocations: 330.3 kB / 0.6623 GB, free: 29.29 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.01678, allocations: 428.9 kB / 0.6627 GB, free: 29 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.01678, allocations: 1.344 kB / 0.6627 GB, free: 29 MB / 0.5262 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005694/0.01735, allocations: 0.5146 MB / 0.6632 GB, free: 28.8 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.01737, allocations: 40.67 kB / 0.6633 GB, free: 28.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.01738, allocations: 4.344 kB / 0.6633 GB, free: 28.77 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.0174, allocations: 5.5 kB / 0.6633 GB, free: 28.77 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.01775, allocations: 170.5 kB / 0.6634 GB, free: 28.75 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01776, allocations: 9.062 kB / 0.6634 GB, free: 28.75 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.01793, allocations: 23.25 kB / 0.6635 GB, free: 28.74 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.01796, allocations: 30.23 kB / 0.6635 GB, free: 28.74 MB / 0.5262 GB Warning: Assuming fixed start value for the following 8 variables: singleDose1.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real singleDose1.variableDose.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: 16 * 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 (71): * Single equations (assignments): 70 * 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.0001512/0.01811, allocations: 230.2 kB / 0.6637 GB, free: 28.54 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.01817, allocations: 47.84 kB / 0.6637 GB, free: 28.52 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.0186, allocations: 380 kB / 0.6641 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.0186, allocations: 5.531 kB / 0.6641 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.0186, allocations: 4 kB / 0.6641 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01861, allocations: 3.281 kB / 0.6641 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/0.01913, allocations: 0.6424 MB / 0.6648 GB, free: 28 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.01913, allocations: 4.938 kB / 0.6648 GB, free: 28 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.01938, allocations: 81.8 kB / 0.6648 GB, free: 27.99 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.01939, allocations: 6.781 kB / 0.6648 GB, free: 27.98 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.01941, allocations: 15.55 kB / 0.6649 GB, free: 27.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01941, allocations: 2.844 kB / 0.6649 GB, free: 27.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01941, allocations: 4.031 kB / 0.6649 GB, free: 27.97 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.01988, allocations: 0.5514 MB / 0.6654 GB, free: 27.68 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.0199, allocations: 35.88 kB / 0.6654 GB, free: 27.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.01994, allocations: 12.09 kB / 0.6654 GB, free: 27.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.02016, allocations: 18.75 kB / 0.6655 GB, free: 27.64 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.02022, allocations: 27.48 kB / 0.6655 GB, free: 27.63 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.02024, allocations: 23.52 kB / 0.6655 GB, free: 27.62 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 8.25e-05/0.02032, allocations: 208.2 kB / 0.6657 GB, free: 27.5 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.02032, allocations: 0 / 0.6657 GB, free: 27.5 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003072/0.02063, allocations: 163.4 kB / 0.6659 GB, free: 27.46 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 14 (singleDose1.TotalCumulativeMass,singleDose1.variableDose.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 (46): * Single equations (assignments): 44 * 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 7.721e-05/0.0207, allocations: 113.4 kB / 0.666 GB, free: 27.36 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.02106, allocations: 391.1 kB / 0.6663 GB, free: 27.21 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.02107, allocations: 1.438 kB / 0.6663 GB, free: 27.21 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.0212, allocations: 140.2 kB / 0.6665 GB, free: 27.18 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.0216, allocations: 149.3 kB / 0.6666 GB, free: 27.12 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.02324, allocations: 1.316 MB / 0.6679 GB, free: 26.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.053e-05/0.0233, allocations: 122.2 kB / 0.668 GB, free: 26.23 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.02348, allocations: 75.06 kB / 0.6681 GB, free: 26.22 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.02379, allocations: 219 kB / 0.6683 GB, free: 26.14 MB / 0.5262 GB Notification: Performance of SimCode: time 6.71e-07/0.02379, allocations: 1.719 kB / 0.6683 GB, free: 26.14 MB / 0.5262 GB Notification: Performance of Templates: time 0.01064/0.03443, allocations: 8.524 MB / 0.6766 GB, free: 23.97 MB / 0.5262 GB " [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: 6.0292568118311465]