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.001094/0.001094, allocations: 88.23 kB / 19.42 MB, free: 492 kB / 13.93 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.001161/0.001161, allocations: 169 kB / 22.72 MB, free: 1.824 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.9764/0.9764, allocations: 177.1 MB / 203.1 MB, free: 5.359 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.707/1.707, allocations: 273.5 MB / 0.5205 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 2.335e-06/2.335e-06, allocations: 0 / 0.6462 GB, free: 38.77 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.4e-05, allocations: 2.312 kB / 0.6462 GB, free: 38.76 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver): time 0.005649/0.005683, allocations: 4.114 MB / 0.6502 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.008051, allocations: 0.965 MB / 0.6512 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.00832, allocations: 5.875 kB / 0.6512 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.008572, allocations: 78.39 kB / 0.6513 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008956/0.009467, allocations: 214 kB / 0.6515 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.009835, allocations: 149.3 kB / 0.6516 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.01029, allocations: 0.7192 MB / 0.6523 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.01081, allocations: 0.4905 MB / 0.6528 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.01124, allocations: 496.3 kB / 0.6533 GB, free: 34.33 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.01169, allocations: 350.9 kB / 0.6536 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.01183, allocations: 74.91 kB / 0.6537 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.01194, allocations: 77.03 kB / 0.6537 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01205, allocations: 176.6 kB / 0.6539 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.01224, allocations: 272.5 kB / 0.6542 GB, free: 34 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.01275, allocations: 0.5281 MB / 0.6547 GB, free: 33.74 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01276, allocations: 0.5625 kB / 0.6547 GB, free: 33.74 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01276, allocations: 0 / 0.6547 GB, free: 33.74 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.01277, allocations: 0.5625 kB / 0.6547 GB, free: 33.74 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.001149/0.01391, allocations: 0.8701 MB / 0.6555 GB, free: 33.1 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.01395, allocations: 9.406 kB / 0.6555 GB, free: 33.1 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.01412, allocations: 99.59 kB / 0.6556 GB, free: 33.05 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.01443, allocations: 295.3 kB / 0.6559 GB, free: 32.82 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.01447, allocations: 37.44 kB / 0.656 GB, free: 32.8 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/0.01455, allocations: 55.62 kB / 0.656 GB, free: 32.78 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.01525, allocations: 0.623 MB / 0.6566 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.01527, allocations: 5.344 kB / 0.6566 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.01531, allocations: 23.75 kB / 0.6566 GB, free: 32.46 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.01535, allocations: 22 kB / 0.6567 GB, free: 32.46 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.01584, allocations: 320 kB / 0.657 GB, free: 32.42 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.01748, allocations: 1.384 MB / 0.6583 GB, free: 31.57 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.01788, allocations: 241.8 kB / 0.6586 GB, free: 31.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.01805, allocations: 114.6 kB / 0.6587 GB, free: 31.47 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.01809, allocations: 12.53 kB / 0.6587 GB, free: 31.47 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.01839, allocations: 259.3 kB / 0.6589 GB, free: 31.35 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004153/0.01881, allocations: 158.2 kB / 0.6591 GB, free: 31.31 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=46): time 1.923e-06/0.01881, allocations: 4.938 kB / 0.6591 GB, free: 31.31 MB / 0.5262 GB Notification: Performance of matching and sorting (n=46): time 0.000715/0.01952, allocations: 431 kB / 0.6595 GB, free: 31.2 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.01955, allocations: 61.03 kB / 0.6595 GB, free: 31.13 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.01973, allocations: 300.8 kB / 0.6598 GB, free: 30.93 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.01976, allocations: 36.48 kB / 0.6599 GB, free: 30.89 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.01985, allocations: 283.6 kB / 0.6601 GB, free: 30.65 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.542e-05/0.01994, allocations: 187.1 kB / 0.6603 GB, free: 30.5 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.02007, allocations: 120.2 kB / 0.6604 GB, free: 30.44 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.02014, allocations: 0.5181 MB / 0.6609 GB, free: 29.93 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.02038, allocations: 178.7 kB / 0.6611 GB, free: 29.86 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.02064, allocations: 352.5 kB / 0.6614 GB, free: 29.57 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.0211, allocations: 468.2 kB / 0.6619 GB, free: 29.26 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.0211, allocations: 0 / 0.6619 GB, free: 29.26 MB / 0.5262 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006731/0.02177, allocations: 0.5705 MB / 0.6624 GB, free: 29.03 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.0218, allocations: 39.39 kB / 0.6625 GB, free: 29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.02181, allocations: 6.688 kB / 0.6625 GB, free: 29 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.02183, allocations: 7.562 kB / 0.6625 GB, free: 29 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.02222, allocations: 168.1 kB / 0.6627 GB, free: 28.99 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.02223, allocations: 9.625 kB / 0.6627 GB, free: 28.98 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.02242, allocations: 23.97 kB / 0.6627 GB, free: 28.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.02246, allocations: 36.11 kB / 0.6627 GB, free: 28.97 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.0001904/0.02265, allocations: 220 kB / 0.6629 GB, free: 28.78 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.02272, allocations: 47.84 kB / 0.663 GB, free: 28.75 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000555/0.02327, allocations: 412.9 kB / 0.6634 GB, free: 28.61 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02328, allocations: 4.156 kB / 0.6634 GB, free: 28.61 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.02328, allocations: 2.969 kB / 0.6634 GB, free: 28.61 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.02329, allocations: 3.516 kB / 0.6634 GB, free: 28.61 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000696/0.02399, allocations: 0.7266 MB / 0.6641 GB, free: 28.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02399, allocations: 1.406 kB / 0.6641 GB, free: 28.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.02426, allocations: 85.53 kB / 0.6642 GB, free: 28.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.02427, allocations: 1.406 kB / 0.6642 GB, free: 28.16 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.0243, allocations: 17.05 kB / 0.6642 GB, free: 28.15 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.0243, allocations: 5.297 kB / 0.6642 GB, free: 28.15 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02431, allocations: 5.406 kB / 0.6642 GB, free: 28.14 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.02494, allocations: 0.5916 MB / 0.6648 GB, free: 27.83 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.02497, allocations: 32.3 kB / 0.6648 GB, free: 27.81 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.02501, allocations: 15.12 kB / 0.6648 GB, free: 27.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.02516, allocations: 18.03 kB / 0.6648 GB, free: 27.79 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.02523, allocations: 29.14 kB / 0.6649 GB, free: 27.79 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.02526, allocations: 23.64 kB / 0.6649 GB, free: 27.79 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001145/0.02537, allocations: 226.4 kB / 0.6651 GB, free: 27.64 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.02537, allocations: 4 kB / 0.6651 GB, free: 27.64 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003415/0.02572, allocations: 166.8 kB / 0.6653 GB, free: 27.61 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 0.0001103/0.02583, allocations: 114.9 kB / 0.6654 GB, free: 27.5 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0005368/0.02636, allocations: 423.8 kB / 0.6658 GB, free: 27.34 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02637, allocations: 5.406 kB / 0.6658 GB, free: 27.34 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.02657, allocations: 151.5 kB / 0.6659 GB, free: 27.3 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.02702, allocations: 131.2 kB / 0.6661 GB, free: 27.26 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.02903, allocations: 1.327 MB / 0.6674 GB, free: 26.43 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.575e-05/0.0291, allocations: 126.6 kB / 0.6675 GB, free: 26.35 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.0293, allocations: 69.47 kB / 0.6675 GB, free: 26.34 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.02946, allocations: 57.2 kB / 0.6676 GB, free: 26.34 MB / 0.5262 GB Notification: Performance of SimCode: time 5.91e-07/0.02946, allocations: 4 kB / 0.6676 GB, free: 26.33 MB / 0.5262 GB Notification: Performance of Templates: time 0.01027/0.03973, allocations: 7.91 MB / 0.6753 GB, free: 24.5 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.302890065126121]