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.001007/0.001007, allocations: 89.06 kB / 19.64 MB, free: 272 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.0009765/0.0009765, allocations: 173 kB / 23.02 MB, free: 1.539 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.8902/0.8902, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.59/1.59, allocations: 273.5 MB / 0.5209 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.813e-06/1.813e-06, allocations: 0 / 0.647 GB, free: 38.6 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.693e-05, allocations: 4.5 kB / 0.647 GB, free: 38.6 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver): time 0.003805/0.003822, allocations: 4.104 MB / 0.651 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.005408, allocations: 0.9688 MB / 0.6519 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.005576, allocations: 5.156 kB / 0.6519 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.00575, allocations: 75.98 kB / 0.652 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.006182, allocations: 208.8 kB / 0.6522 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.006492, allocations: 150.9 kB / 0.6523 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0005729/0.007065, allocations: 0.7222 MB / 0.653 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005425/0.007608, allocations: 0.4907 MB / 0.6535 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005001/0.008108, allocations: 0.4926 MB / 0.654 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.008645, allocations: 354.3 kB / 0.6543 GB, free: 34.07 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.008745, allocations: 74.5 kB / 0.6544 GB, free: 34.07 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.008865, allocations: 75.78 kB / 0.6545 GB, free: 34.07 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.008985, allocations: 173.1 kB / 0.6546 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.009269, allocations: 270.8 kB / 0.6549 GB, free: 33.84 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005887/0.009858, allocations: 0.5294 MB / 0.6554 GB, free: 33.58 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.009861, allocations: 1.688 kB / 0.6554 GB, free: 33.58 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.42e-07/0.009861, allocations: 0 / 0.6554 GB, free: 33.58 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.009869, allocations: 0.5625 kB / 0.6554 GB, free: 33.58 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.001247/0.01112, allocations: 0.8749 MB / 0.6563 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.01115, allocations: 11 kB / 0.6563 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.01132, allocations: 98 kB / 0.6564 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.01166, allocations: 291.3 kB / 0.6567 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.01171, allocations: 39.12 kB / 0.6567 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.01179, allocations: 58.81 kB / 0.6568 GB, free: 32.61 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008463/0.01264, allocations: 0.6205 MB / 0.6574 GB, free: 32.32 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.01266, allocations: 10.2 kB / 0.6574 GB, free: 32.31 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.01271, allocations: 16.19 kB / 0.6574 GB, free: 32.3 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.01275, allocations: 24.78 kB / 0.6574 GB, free: 32.3 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.01331, allocations: 319.8 kB / 0.6577 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.01536, allocations: 1.38 MB / 0.6591 GB, free: 31.41 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.01576, allocations: 241.7 kB / 0.6593 GB, free: 31.33 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.01595, allocations: 118 kB / 0.6594 GB, free: 31.3 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.01598, allocations: 8.812 kB / 0.6594 GB, free: 31.3 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.01629, allocations: 256.2 kB / 0.6597 GB, free: 31.19 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004351/0.01672, allocations: 157.3 kB / 0.6598 GB, free: 31.16 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=46): time 2.364e-06/0.01673, allocations: 3.938 kB / 0.6598 GB, free: 31.15 MB / 0.5262 GB Notification: Performance of matching and sorting (n=46): time 0.000709/0.01743, allocations: 437.4 kB / 0.6602 GB, free: 31.04 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.01747, allocations: 60.72 kB / 0.6603 GB, free: 30.97 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.01765, allocations: 298 kB / 0.6606 GB, free: 30.77 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.01769, allocations: 36.16 kB / 0.6606 GB, free: 30.73 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.01778, allocations: 284.8 kB / 0.6609 GB, free: 30.48 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.01787, allocations: 183.8 kB / 0.661 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.01799, allocations: 122.6 kB / 0.6612 GB, free: 30.28 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.01806, allocations: 0.5149 MB / 0.6617 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.01828, allocations: 182.6 kB / 0.6618 GB, free: 29.7 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.01853, allocations: 350.6 kB / 0.6622 GB, free: 29.41 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.01897, allocations: 469.8 kB / 0.6626 GB, free: 29.1 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.01898, allocations: 1.562 kB / 0.6626 GB, free: 29.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006729/0.01965, allocations: 0.5686 MB / 0.6632 GB, free: 28.87 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.01967, allocations: 34.77 kB / 0.6632 GB, free: 28.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01968, allocations: 6.266 kB / 0.6632 GB, free: 28.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.0197, allocations: 8.781 kB / 0.6632 GB, free: 28.84 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.02009, allocations: 166.6 kB / 0.6634 GB, free: 28.83 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.0201, allocations: 9.438 kB / 0.6634 GB, free: 28.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.0203, allocations: 24.08 kB / 0.6634 GB, free: 28.82 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.02033, allocations: 32.16 kB / 0.6634 GB, free: 28.81 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.0001818/0.02051, allocations: 228.2 kB / 0.6637 GB, free: 28.61 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.02058, allocations: 51.61 kB / 0.6637 GB, free: 28.59 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.0211, allocations: 407 kB / 0.6641 GB, free: 28.44 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.02111, allocations: 4.219 kB / 0.6641 GB, free: 28.44 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.02111, allocations: 5.281 kB / 0.6641 GB, free: 28.44 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.02112, allocations: 3.516 kB / 0.6641 GB, free: 28.44 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/0.02179, allocations: 0.7326 MB / 0.6648 GB, free: 27.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.02179, allocations: 0 / 0.6648 GB, free: 27.99 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.02207, allocations: 85.39 kB / 0.6649 GB, free: 27.98 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.02207, allocations: 2.781 kB / 0.6649 GB, free: 27.98 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.0221, allocations: 11.47 kB / 0.6649 GB, free: 27.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.0221, allocations: 2.75 kB / 0.6649 GB, free: 27.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.02211, allocations: 0 / 0.6649 GB, free: 27.98 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.02271, allocations: 0.5997 MB / 0.6655 GB, free: 27.66 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.02274, allocations: 31.86 kB / 0.6655 GB, free: 27.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.02278, allocations: 16.12 kB / 0.6656 GB, free: 27.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.02293, allocations: 17.39 kB / 0.6656 GB, free: 27.62 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.02299, allocations: 28.95 kB / 0.6656 GB, free: 27.61 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.02302, allocations: 18.5 kB / 0.6656 GB, free: 27.61 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001061/0.02312, allocations: 223.3 kB / 0.6658 GB, free: 27.47 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.02312, allocations: 4 kB / 0.6658 GB, free: 27.47 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003225/0.02345, allocations: 167 kB / 0.666 GB, free: 27.43 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 8.488e-05/0.02353, allocations: 114.9 kB / 0.6661 GB, free: 27.33 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.02401, allocations: 429.6 kB / 0.6665 GB, free: 27.17 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02401, allocations: 4.125 kB / 0.6665 GB, free: 27.16 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.0242, allocations: 150.9 kB / 0.6667 GB, free: 27.12 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.02463, allocations: 144.8 kB / 0.6668 GB, free: 27.08 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.02655, allocations: 1.321 MB / 0.6681 GB, free: 26.25 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.73e-05/0.02664, allocations: 119.8 kB / 0.6682 GB, free: 26.18 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.02683, allocations: 71.98 kB / 0.6683 GB, free: 26.17 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.02698, allocations: 60.42 kB / 0.6683 GB, free: 26.16 MB / 0.5262 GB Notification: Performance of SimCode: time 7.32e-07/0.02698, allocations: 4 kB / 0.6683 GB, free: 26.16 MB / 0.5262 GB Notification: Performance of Templates: time 0.01036/0.03734, allocations: 8.268 MB / 0.6764 GB, free: 24.16 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: 5.752544560004026]