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.0008807/0.0008807, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002268, 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.000822/0.000822, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.002, 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.067/1.067, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08628/1.153, allocations: 53.67 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.8026/0.8026, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03804/0.8406, allocations: 21.04 MB / 0.5433 GB, free: 31.49 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.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.903e-06/1.903e-06, allocations: 0 / 0.5446 GB, free: 30.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.214e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseVeinsGutSpleenPortalVeinLiver): time 0.003406/0.003428, allocations: 4.185 MB / 0.5486 GB, free: 26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.004843, allocations: 1 MB / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.005021, allocations: 8 kB / 0.5496 GB, free: 24.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.005159, allocations: 71.33 kB / 0.5497 GB, free: 24.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.005489, allocations: 218.1 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.005751, allocations: 155.6 kB / 0.55 GB, free: 24.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004452/0.006196, allocations: 0.7152 MB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004652/0.006662, allocations: 0.5038 MB / 0.5512 GB, free: 23.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.00714, allocations: 0.5229 MB / 0.5517 GB, free: 22.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.0075, allocations: 355.2 kB / 0.5521 GB, free: 22.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.163e-05/0.007572, allocations: 76 kB / 0.5522 GB, free: 22.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.007659, allocations: 76 kB / 0.5522 GB, free: 22.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.007755, allocations: 123.7 kB / 0.5524 GB, free: 22.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.007903, allocations: 207.8 kB / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.00824, allocations: 478.4 kB / 0.553 GB, free: 21.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.008256, allocations: 3.984 kB / 0.553 GB, free: 21.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.008258, allocations: 0 / 0.553 GB, free: 21.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.008272, allocations: 4 kB / 0.553 GB, free: 21.51 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0009831/0.009255, allocations: 0.868 MB / 0.5539 GB, free: 20.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.009289, allocations: 15.89 kB / 0.5539 GB, free: 20.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.641e-05/0.009385, allocations: 76.88 kB / 0.5539 GB, free: 20.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.00963, allocations: 228.5 kB / 0.5542 GB, free: 20.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.009659, allocations: 33.38 kB / 0.5542 GB, free: 20.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.009718, allocations: 60.3 kB / 0.5543 GB, free: 20.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.01018, allocations: 0.5748 MB / 0.5548 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.0102, allocations: 192 / 0.5548 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.01023, allocations: 20.38 kB / 0.5548 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.01027, allocations: 24.94 kB / 0.5549 GB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.01049, allocations: 222.8 kB / 0.5551 GB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.01179, allocations: 1.038 MB / 0.5561 GB, free: 18.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.0121, allocations: 191.6 kB / 0.5563 GB, free: 18.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.863e-05/0.0122, allocations: 84.81 kB / 0.5564 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.01223, allocations: 8 kB / 0.5564 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.01248, allocations: 227.8 kB / 0.5566 GB, free: 17.71 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003749/0.01285, allocations: 163.6 kB / 0.5567 GB, free: 17.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.806e-06/0.01285, allocations: 0 / 0.5567 GB, free: 17.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.0003963/0.01325, allocations: 278 kB / 0.557 GB, free: 17.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.01328, allocations: 63.34 kB / 0.5571 GB, free: 17.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.0134, allocations: 244.9 kB / 0.5573 GB, free: 16.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.01343, allocations: 33.7 kB / 0.5573 GB, free: 16.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.0135, allocations: 229.5 kB / 0.5575 GB, free: 16.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.01358, allocations: 170.5 kB / 0.5577 GB, free: 16.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.01368, allocations: 118 kB / 0.5578 GB, free: 16.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.01374, allocations: 350.7 kB / 0.5582 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.01388, allocations: 140.5 kB / 0.5583 GB, free: 15.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.01403, allocations: 252.1 kB / 0.5585 GB, free: 15.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.01431, allocations: 368.2 kB / 0.5589 GB, free: 15.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.01431, allocations: 4 kB / 0.5589 GB, free: 15.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.3125/0.3268, allocations: 393 kB / 0.5593 GB, free: 81.43 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.3269, allocations: 37.25 kB / 0.5593 GB, free: 81.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3269, allocations: 2.531 kB / 0.5593 GB, free: 81.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3269, allocations: 6.531 kB / 0.5593 GB, free: 81.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.3275, allocations: 230.3 kB / 0.5595 GB, free: 81.4 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3275, allocations: 7.719 kB / 0.5595 GB, free: 81.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.3278, allocations: 23.58 kB / 0.5595 GB, free: 81.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.3278, allocations: 27.05 kB / 0.5596 GB, free: 81.4 MB / 410.8 MB Warning: Assuming fixed start value for the following 7 variables: singleDose1.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: 15 * 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 (69): * Single equations (assignments): 68 * 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.0002269/0.328, allocations: 162.4 kB / 0.5597 GB, free: 81.29 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.3281, allocations: 34.52 kB / 0.5598 GB, free: 81.29 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.3286, allocations: 309.6 kB / 0.5601 GB, free: 81.25 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3286, allocations: 3.625 kB / 0.5601 GB, free: 81.25 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.3286, allocations: 1.594 kB / 0.5601 GB, free: 81.25 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3286, allocations: 3.312 kB / 0.5601 GB, free: 81.25 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.3293, allocations: 0.4975 MB / 0.5606 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3293, allocations: 2.531 kB / 0.5606 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.3296, allocations: 92.42 kB / 0.5606 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.3296, allocations: 27.88 kB / 0.5607 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3296, allocations: 3.094 kB / 0.5607 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.3297, allocations: 11.97 kB / 0.5607 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3297, allocations: 6.312 kB / 0.5607 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3297, allocations: 1.25 kB / 0.5607 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.3302, allocations: 429.8 kB / 0.5611 GB, free: 80.91 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.3302, allocations: 15.94 kB / 0.5611 GB, free: 80.91 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.3304, allocations: 17.73 kB / 0.5611 GB, free: 80.91 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.3305, allocations: 35.53 kB / 0.5612 GB, free: 80.91 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.3305, allocations: 15.36 kB / 0.5612 GB, free: 80.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001018/0.3306, allocations: 95.73 kB / 0.5613 GB, free: 80.9 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3306, allocations: 0 / 0.5613 GB, free: 80.9 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003915/0.331, allocations: 165.8 kB / 0.5614 GB, free: 80.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (singleDose1.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 (45): * Single equations (assignments): 43 * 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.0001283/0.3311, allocations: 96.52 kB / 0.5615 GB, free: 80.83 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.3316, allocations: 363.4 kB / 0.5619 GB, free: 80.72 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/0.3316, allocations: 5.375 kB / 0.5619 GB, free: 80.72 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3318, allocations: 147 kB / 0.562 GB, free: 80.71 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.3324, allocations: 0.5999 MB / 0.5626 GB, free: 80.24 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.3458, allocations: 0.9659 MB / 0.5635 GB, free: 79.8 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3459, allocations: 121 kB / 0.5637 GB, free: 79.73 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003907/0.3463, allocations: 76.11 kB / 0.5637 GB, free: 79.73 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.3467, allocations: 193.7 kB / 0.5639 GB, free: 79.68 MB / 410.8 MB Notification: Performance of SimCode: time 1.813e-06/0.3467, allocations: 0 / 0.5639 GB, free: 79.68 MB / 410.8 MB Notification: Performance of Templates: time 0.01177/0.3585, allocations: 9.59 MB / 0.5733 GB, free: 76.5 MB / 410.8 MB " [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: 4.7210615780204535]